54 lines
No EOL
2.1 KiB
INI
54 lines
No EOL
2.1 KiB
INI
# Static Configuration Properties
|
|
# Using flattened key format with prefixes for consistent access
|
|
|
|
# Auth configuration
|
|
Auth_ALGORITHM = HS256
|
|
Auth_TOKEN_TYPE = bearer
|
|
|
|
# OpenAI configuration
|
|
Connector_AiOpenai_API_URL = https://api.openai.com/v1/chat/completions
|
|
Connector_AiOpenai_API_SECRET = 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
|
|
Connector_AiOpenai_MODEL_NAME = gpt-4o
|
|
Connector_AiOpenai_TEMPERATURE = 0.2
|
|
Connector_AiOpenai_MAX_TOKENS = 2000
|
|
|
|
# Anthropic configuration
|
|
Connector_AiAnthropic_API_URL = https://api.anthropic.com/v1/messages
|
|
Connector_AiAnthropic_API_SECRET = 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
|
|
Connector_AiAnthropic_MODEL_NAME = claude-3-opus-20240229
|
|
Connector_AiAnthropic_TEMPERATURE = 0.2
|
|
Connector_AiAnthropic_MAX_TOKENS = 2000
|
|
|
|
# Web scraping configuration
|
|
Connector_AiWebscraping_TIMEOUT = 10
|
|
Connector_AiWebscraping_MAX_URLS = 3
|
|
Connector_AiWebscraping_MAX_TOKENS = 30000
|
|
Connector_AiWebscraping_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
|
|
Connector_AiWebscraping_SEARCH_ENGINE = https://html.duckduckgo.com/html/?q=
|
|
Connector_AiWebscraping_MAX_SEARCH_KEYWORDS = 3
|
|
Connector_AiWebscraping_MAX_SEARCH_RESULTS = 5
|
|
|
|
# AgentService configuration
|
|
Module_AgentserviceInterface_UPLOAD_DIR = ./_uploads
|
|
|
|
# File management configuration
|
|
File_Management_MAX_UPLOAD_SIZE = 10000000
|
|
File_Management_ALLOWED_EXTENSIONS = pdf,docx,xlsx,txt,csv,json,jpg,png
|
|
File_Management_CLEANUP_INTERVAL = 240
|
|
|
|
# Logging configuration
|
|
Logging_FORMAT = %(asctime)s - %(levelname)s - %(name)s - %(message)s
|
|
Logging_DATE_FORMAT = %Y-%m-%d %H:%M:%S
|
|
Logging_CONSOLE_ENABLED = True
|
|
Logging_FILE_ENABLED = True
|
|
Logging_ROTATION_SIZE = 10485760
|
|
Logging_BACKUP_COUNT = 5
|
|
|
|
# Security configuration (for future use)
|
|
Security_PASSWORD_MIN_LENGTH = 8
|
|
Security_PASSWORD_REQUIRE_UPPERCASE = True
|
|
Security_PASSWORD_REQUIRE_LOWERCASE = True
|
|
Security_PASSWORD_REQUIRE_NUMBERS = True
|
|
Security_PASSWORD_REQUIRE_SPECIAL = True
|
|
Security_FAILED_LOGIN_LIMIT = 5
|
|
Security_LOCK_DURATION_MINUTES = 30 |