2025-04-07 16:25:55 +08:00
# Application Settings
DEBUG=True
APP_ENV=development
2025-05-13 19:53:28 +08:00
# docker build args
NEXT_PUBLIC_API_URL="http://localhost:8000/api"
2025-05-18 11:37:03 +08:00
AGENT_RECURSION_LIMIT=30
2025-07-18 18:04:03 +08:00
# CORS settings
# Comma-separated list of allowed origins for CORS requests
# Example: ALLOWED_ORIGINS=http://localhost:3000,http://example.com
2025-07-20 14:10:46 +08:00
ALLOWED_ORIGINS=http://localhost:3000
2025-07-18 18:04:03 +08:00
2025-07-19 08:39:42 +08:00
# Enable or disable MCP server configuration, the default is false.
2025-07-19 09:33:32 +08:00
# Please enable this feature before securing your front-end and back-end in a managed environment.
2025-07-19 08:39:42 +08:00
# Otherwise, you system could be compromised.
ENABLE_MCP_SERVER_CONFIGURATION=false
2025-08-06 14:27:03 +08:00
# Enable or disable PYTHON_REPL configuration, the default is false.
# Please enable this feature before securing your in a managed environment.
# Otherwise, you system could be compromised.
ENABLE_PYTHON_REPL=false
2025-09-22 18:54:30 +08:00
# Search Engine, Supported values: tavily (recommended), duckduckgo, brave_search, arxiv, searx
2025-04-10 11:45:04 +08:00
SEARCH_API=tavily
2025-04-07 16:25:55 +08:00
TAVILY_API_KEY=tvly-xxx
2025-09-22 18:54:30 +08:00
# SEARX_HOST=xxx # Required only if SEARCH_API is searx.(compatible with both Searx and SearxNG)
2025-05-12 20:15:47 +08:00
# BRAVE_SEARCH_API_KEY=xxx # Required only if SEARCH_API is brave_search
2025-04-07 16:25:55 +08:00
# JINA_API_KEY=jina_xxx # Optional, default is None
2025-05-28 14:13:46 +08:00
# Optional, RAG provider
2025-07-03 10:06:42 +08:00
# RAG_PROVIDER=vikingdb_knowledge_base
# VIKINGDB_KNOWLEDGE_BASE_API_URL="api-knowledgebase.mlp.cn-beijing.volces.com"
# VIKINGDB_KNOWLEDGE_BASE_API_AK="AKxxx"
# VIKINGDB_KNOWLEDGE_BASE_API_SK=""
# VIKINGDB_KNOWLEDGE_BASE_RETRIEVAL_SIZE=15
2025-05-28 14:13:46 +08:00
# RAG_PROVIDER=ragflow
# RAGFLOW_API_URL="http://localhost:9388"
# RAGFLOW_API_KEY="ragflow-xxx"
# RAGFLOW_RETRIEVAL_SIZE=10
2025-07-24 16:39:02 +08:00
# RAGFLOW_CROSS_LANGUAGES=English,Chinese,Spanish,French,German,Japanese,Korean # Optional. To use RAGFlow's cross-language search, please separate each language with a single comma
2025-05-28 14:13:46 +08:00
2025-09-16 20:30:45 +08:00
# RAG_PROVIDER=dify
# DIFY_API_URL="https://api.dify.ai/v1"
# DIFY_API_KEY="dataset-xxx"
2025-09-16 20:25:59 +08:00
# MOI is a hybrid database that mainly serves enterprise users (https://www.matrixorigin.io/matrixone-intelligence)
# RAG_PROVIDER=moi
2025-09-16 20:30:45 +08:00
# MOI_API_URL="https://cluster.matrixonecloud.cn"
2025-09-16 20:25:59 +08:00
# MOI_API_KEY="xxx-xxx-xxx-xxx"
# MOI_RETRIEVAL_SIZE=10
# MOI_LIST_LIMIT=10
2025-09-12 22:20:55 +08:00
2025-09-16 20:30:45 +08:00
2025-09-12 22:20:55 +08:00
# RAG_PROVIDER: milvus (using free milvus instance on zilliz cloud: https://docs.zilliz.com/docs/quick-start )
# RAG_PROVIDER=milvus
# MILVUS_URI=<endpoint_of_self_hosted_milvus_or_zilliz_cloud>
# MILVUS_USER=<username_of_self_hosted_milvus_or_zilliz_cloud>
# MILVUS_PASSWORD=<password_of_self_hosted_milvus_or_zilliz_cloud>
# MILVUS_COLLECTION=documents
# MILVUS_EMBEDDING_PROVIDER=openai # support openai,dashscope
# MILVUS_EMBEDDING_BASE_URL=
# MILVUS_EMBEDDING_MODEL=
# MILVUS_EMBEDDING_API_KEY=
# MILVUS_AUTO_LOAD_EXAMPLES=true
# RAG_PROVIDER: milvus (using milvus lite on Mac or Linux)
# RAG_PROVIDER=milvus
# MILVUS_URI=./milvus_demo.db
# MILVUS_COLLECTION=documents
# MILVUS_EMBEDDING_PROVIDER=openai # support openai,dashscope
# MILVUS_EMBEDDING_BASE_URL=
# MILVUS_EMBEDDING_MODEL=
# MILVUS_EMBEDDING_API_KEY=
# MILVUS_AUTO_LOAD_EXAMPLES=true
2025-04-25 16:05:24 +08:00
# Optional, volcengine TTS for generating podcast
2025-04-18 15:28:31 +08:00
VOLCENGINE_TTS_APPID=xxx
VOLCENGINE_TTS_ACCESS_TOKEN=xxx
# VOLCENGINE_TTS_CLUSTER=volcano_tts # Optional, default is volcano_tts
# VOLCENGINE_TTS_VOICE_TYPE=BV700_V2_streaming # Optional, default is BV700_V2_streaming
2025-05-08 10:02:19 +08:00
2025-05-14 10:12:50 +08:00
# Option, for langsmith tracing and monitoring
# LANGSMITH_TRACING=true
# LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
# LANGSMITH_API_KEY="xxx"
# LANGSMITH_PROJECT="xxx"
2025-05-08 10:02:19 +08:00
# [!NOTE]
# For model settings and other configurations, please refer to `docs/configuration_guide.md`
2025-08-16 21:03:12 +08:00
# Option, for langgraph mongodb checkpointer
# Enable LangGraph checkpoint saver, supports MongoDB, Postgres
#LANGGRAPH_CHECKPOINT_SAVER=true
# Set the database URL for saving checkpoints
2025-09-08 06:54:21 +08:00
#LANGGRAPH_CHECKPOINT_DB_URL=mongodb://localhost:27017/
#LANGGRAPH_CHECKPOINT_DB_URL=postgresql://localhost:5432/postgres