.env.example.en•1.79 kB
# The following configurations are optional runtime settings that cannot be modified in the management backend
# Timezone, affects the time accuracy of token usage statistics and log records in the management backend
# If not set, standard UTC time will be used
# https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=America/Los_Angeles
# Runtime ports, if not set, default ports will be used (8082/7072/6062)
MCP_PORT=8082 # MCP service port
MANAGER_SERVER_PORT=7072 # Management backend service port
MANAGER_CLIENT_PORT=6062 # Management frontend service port
# Encryption/decryption keys, affects encrypted storage of sensitive information like api_key
# If not set, default values in the code will be used
# ⚠️ Not recommended to set manually. Once set, do not modify, otherwise sensitive information in the database cannot be decrypted
# CRYPTO_SECRET=YOUR_SECRET_KEY
# CRYPTO_SALT=YOUR_SECRET_SALT
# ================ #
# The following configurations can be modified through the management backend, if set here, they will only take effect at startup
# Neo4j database configuration
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=graphiti
# Large model configuration
LLM_BASE_URL=https://api.openai.com/v1
LLM_API_KEY=YOUR_API_KEY
LLM_MODEL_NAME=gpt-4
LLM_TEMPERATURE=0.0
# Small model configuration
SMALL_LLM_BASE_URL=https://api.openai.com/v1
SMALL_LLM_API_KEY=YOUR_API_KEY
SMALL_LLM_MODEL_NAME=gpt-3.5-turbo
# Embedding model configuration
EMBEDDING_BASE_URL=https://api.openai.com/v1
EMBEDDING_API_KEY=YOUR_API_KEY
EMBEDDING_MODEL_NAME=text-embedding-ada-002
# Model request concurrency limit
SEMAPHORE_LIMIT=20
# Log configuration
LOG_SAVE_DAYS=7 # Retention days, minimum 3 days, maximum 30 days
CLEAN_LOGS_AT_HOUR=12 # Cleanup hour (0-23)