|
| 1 | +# Application Settings |
| 2 | +DEBUG=True |
| 3 | +APP_ENV=development |
| 4 | + |
| 5 | +# docker build args |
| 6 | +NEXT_PUBLIC_API_URL="/deer-flow-backend" |
| 7 | + |
| 8 | +AGENT_RECURSION_LIMIT=30 |
| 9 | + |
| 10 | +# CORS settings |
| 11 | +# Comma-separated list of allowed origins for CORS requests |
| 12 | +# Example: ALLOWED_ORIGINS=http://localhost:3000,http://example.com |
| 13 | +ALLOWED_ORIGINS=* |
| 14 | + |
| 15 | +# Enable or disable MCP server configuration, the default is false. |
| 16 | +# Please enable this feature before securing your front-end and back-end in a managed environment. |
| 17 | +# Otherwise, you system could be compromised. |
| 18 | +ENABLE_MCP_SERVER_CONFIGURATION=true |
| 19 | + |
| 20 | +# Enable or disable PYTHON_REPL configuration, the default is false. |
| 21 | +# Please enable this feature before securing your in a managed environment. |
| 22 | +# Otherwise, you system could be compromised. |
| 23 | +ENABLE_PYTHON_REPL=false |
| 24 | + |
| 25 | +# Search Engine, Supported values: tavily (recommended), duckduckgo, brave_search, arxiv, searx |
| 26 | +SEARCH_API=tavily |
| 27 | +TAVILY_API_KEY=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 |
| 28 | +# SEARX_HOST=xxx # Required only if SEARCH_API is searx.(compatible with both Searx and SearxNG) |
| 29 | +# BRAVE_SEARCH_API_KEY=xxx # Required only if SEARCH_API is brave_search |
| 30 | +# JINA_API_KEY=jina_xxx # Optional, default is None |
| 31 | + |
| 32 | +# Optional, RAG provider |
| 33 | +# RAG_PROVIDER=vikingdb_knowledge_base |
| 34 | +# VIKINGDB_KNOWLEDGE_BASE_API_URL="api-knowledgebase.mlp.cn-beijing.volces.com" |
| 35 | +# VIKINGDB_KNOWLEDGE_BASE_API_AK="AKxxx" |
| 36 | +# VIKINGDB_KNOWLEDGE_BASE_API_SK="" |
| 37 | +# VIKINGDB_KNOWLEDGE_BASE_RETRIEVAL_SIZE=15 |
| 38 | + |
| 39 | +# RAG_PROVIDER=ragflow |
| 40 | +# RAGFLOW_API_URL="http://localhost:9388" |
| 41 | +# RAGFLOW_API_KEY="ragflow-xxx" |
| 42 | +# RAGFLOW_RETRIEVAL_SIZE=10 |
| 43 | +# 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 |
| 44 | + |
| 45 | +# RAG_PROVIDER=dify |
| 46 | +# DIFY_API_URL="https://api.dify.ai/v1" |
| 47 | +# DIFY_API_KEY="dataset-xxx" |
| 48 | + |
| 49 | +# MOI is a hybrid database that mainly serves enterprise users (https://www.matrixorigin.io/matrixone-intelligence) |
| 50 | +# RAG_PROVIDER=moi |
| 51 | +# MOI_API_URL="https://cluster.matrixonecloud.cn" |
| 52 | +# MOI_API_KEY="xxx-xxx-xxx-xxx" |
| 53 | +# MOI_RETRIEVAL_SIZE=10 |
| 54 | +# MOI_LIST_LIMIT=10 |
| 55 | + |
| 56 | + |
| 57 | +# RAG_PROVIDER: milvus (using free milvus instance on zilliz cloud: https://docs.zilliz.com/docs/quick-start ) |
| 58 | +RAG_PROVIDER=milvus |
| 59 | +MILVUS_URI=http://milvus-standalone:19530 |
| 60 | +MILVUS_USER=root |
| 61 | +MILVUS_PASSWORD=Milvus |
| 62 | +MILVUS_COLLECTION=test |
| 63 | +MILVUS_EMBEDDING_PROVIDER=dashscope |
| 64 | +MILVUS_EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 |
| 65 | +MILVUS_EMBEDDING_MODEL=text-embedding-v4 |
| 66 | +MILVUS_EMBEDDING_API_KEY=sk-2cdb289117d6481ab23d7b154261f489 |
| 67 | +MILVUS_AUTO_LOAD_EXAMPLES=true |
| 68 | + |
| 69 | +# RAG_PROVIDER: milvus (using milvus lite on Mac or Linux) |
| 70 | +# RAG_PROVIDER=milvus |
| 71 | +# MILVUS_URI=./milvus_demo.db |
| 72 | +# MILVUS_COLLECTION=documents |
| 73 | +# MILVUS_EMBEDDING_PROVIDER=openai # support openai,dashscope |
| 74 | +# MILVUS_EMBEDDING_BASE_URL= |
| 75 | +# MILVUS_EMBEDDING_MODEL= |
| 76 | +# MILVUS_EMBEDDING_API_KEY= |
| 77 | +# MILVUS_AUTO_LOAD_EXAMPLES=true |
| 78 | + |
| 79 | +# Optional, volcengine TTS for generating podcast |
| 80 | +VOLCENGINE_TTS_APPID=xxx |
| 81 | +VOLCENGINE_TTS_ACCESS_TOKEN=xxx |
| 82 | +# VOLCENGINE_TTS_CLUSTER=volcano_tts # Optional, default is volcano_tts |
| 83 | +# VOLCENGINE_TTS_VOICE_TYPE=BV700_V2_streaming # Optional, default is BV700_V2_streaming |
| 84 | + |
| 85 | +# Option, for langsmith tracing and monitoring |
| 86 | +# LANGSMITH_TRACING=true |
| 87 | +# LANGSMITH_ENDPOINT="https://api.smith.langchain.com" |
| 88 | +# LANGSMITH_API_KEY="xxx" |
| 89 | +# LANGSMITH_PROJECT="xxx" |
| 90 | + |
| 91 | +# [!NOTE] |
| 92 | +# For model settings and other configurations, please refer to `docs/configuration_guide.md` |
| 93 | + |
| 94 | +# Option, for langgraph mongodb checkpointer |
| 95 | +# Enable LangGraph checkpoint saver, supports MongoDB, Postgres |
| 96 | +#LANGGRAPH_CHECKPOINT_SAVER=true |
| 97 | +# Set the database URL for saving checkpoints |
| 98 | +#LANGGRAPH_CHECKPOINT_DB_URL=mongodb://localhost:27017/ |
| 99 | +#LANGGRAPH_CHECKPOINT_DB_URL=postgresql://localhost:5432/postgres |
0 commit comments