52 lines
No EOL
1.4 KiB
INI
52 lines
No EOL
1.4 KiB
INI
[Auth]
|
|
SECRET_KEY = dein-geheimer-schlüssel
|
|
ALGORITHM = HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES = 300
|
|
|
|
[Env]
|
|
INSTANCE = Dev ; Dev or Prod
|
|
URL_ALLOWED = ["http://localhost:8080","https://poweron-lucyagents-xxx.germanywestcentral-01.azurewebsites.net"]
|
|
|
|
[Database_Dev]
|
|
CONNECTOR = connector_db_json
|
|
HOST = ...
|
|
USER =
|
|
PASSKEY =
|
|
|
|
[Database_Prod]
|
|
CONNECTOR = connector_db_mysql
|
|
HOST = ...
|
|
USER =
|
|
PASSKEY =
|
|
|
|
[Module_AgentserviceInterface]
|
|
DEBUG = True
|
|
UPLOAD_DIR = ./_uploads
|
|
RESULTS_DIR = ./_results
|
|
MAX_HISTORY = 50
|
|
AI_PROVIDER = openai ; openai oder anthropic
|
|
|
|
[Connector_AiOpenai]
|
|
API_KEY = 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
|
|
API_URL = https://api.openai.com/v1/chat/completions
|
|
MODEL_NAME = gpt-4o
|
|
TEMPERATURE = 0.2
|
|
MAX_TOKENS = 2000
|
|
|
|
[Connector_AiAnthropic]
|
|
API_KEY = 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
|
|
API_URL = https://api.anthropic.com/v1/messages
|
|
MODEL_NAME = claude-3-opus-20240229
|
|
TEMPERATURE = 0.2
|
|
MAX_TOKENS = 2000
|
|
|
|
[Connector_AiWebscraping]
|
|
TIMEOUT = 10
|
|
MAX_URLS = 3
|
|
MAX_CONTENT_LENGTH = 3000
|
|
USER_AGENT = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
|
|
SEARCH_ENGINES = google,bing
|
|
MIN_DELAY = 1.0
|
|
MAX_DELAY = 2.0
|
|
EXCLUDED_DOMAINS = facebook.com,twitter.com,instagram.com,linkedin.com,youtube.com
|
|
MAX_SEARCH_RESULTS = 5 |