本次同步 09-12 至 09-28 的代码变更,主要内容: 新增功能 - 修改密码:后端新增 ChangePasswordRequest DTO 与UserController/UserService 对应接口,前端新增 ChangePasswordDialog 并在 Header 接入入口 - 文件预览组件重构:file-preview 目录拆分出 VideoPreview(支持 blobUrl 直传)、 ImagePreview、AudioPreview,index.tsx 统一调度各类型预览器 - 新增 my_ops 算子模块:markitdown_parser、mineru_pdf_parser、text_quality_evaluator - 新增 tools/minio-file-server MinIO 文件服务 功能增强 - 数据清洗:cleaning_task_service/scheduler/routes 重构, data_juicer_executor 与 wrapper 增强,OperatorTable/LogsTable/TaskDetail 同步调整 - 数据标注:annotation sync.py、project.py 接口与schema 更新 - 数据采集、算子市场、首页与菜单路由相关页面调整 - DataJuicer 算子接入(useOperatorOperations、dj_ops_schema) 结构调整 - deepflow/ 更名为 deep-flow/(419 个文件重命名) - 新增 helm 部署编排、GitHub Actions 之外的自建镜像构建脚本 未纳入本次提交 - scripts-backup/、runtime/python-executor-backup/、components_backup/(备份目录) - *.backup*、__pycache__ 产物 - zh_core_web_sm-3.8.0-py3-none-any.whl(46MB 构建产物) - DataX/(内嵌独立仓库,远程亦未收录其源码)
121 lines
4.7 KiB
Bash
121 lines
4.7 KiB
Bash
# Application Settings
|
|
# Set to True to enable debug-level logging (shows detailed LLM prompts and responses)
|
|
# Recommended for development and troubleshooting
|
|
DEBUG=True
|
|
APP_ENV=development
|
|
|
|
# docker build args
|
|
NEXT_PUBLIC_API_URL="http://localhost:8000/api"
|
|
|
|
AGENT_RECURSION_LIMIT=30
|
|
|
|
# CORS settings
|
|
# Comma-separated list of allowed origins for CORS requests
|
|
# Example: ALLOWED_ORIGINS=http://localhost:3000,http://example.com
|
|
ALLOWED_ORIGINS=http://localhost:3000
|
|
|
|
# Enable or disable MCP server configuration, the default is false.
|
|
# Please enable this feature before securing your front-end and back-end in a managed environment.
|
|
# Otherwise, you system could be compromised.
|
|
ENABLE_MCP_SERVER_CONFIGURATION=false
|
|
|
|
# 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
|
|
|
|
# Search Engine, Supported values: tavily (recommended), duckduckgo, brave_search, arxiv, searx
|
|
SEARCH_API=tavily
|
|
TAVILY_API_KEY=tvly-xxx
|
|
# SEARX_HOST=xxx # Required only if SEARCH_API is searx.(compatible with both Searx and SearxNG)
|
|
# BRAVE_SEARCH_API_KEY=xxx # Required only if SEARCH_API is brave_search
|
|
# JINA_API_KEY=jina_xxx # Optional, default is None
|
|
|
|
# Optional, RAG provider
|
|
# 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
|
|
|
|
# RAG_PROVIDER=ragflow
|
|
# RAGFLOW_API_URL="http://localhost:9388"
|
|
# RAGFLOW_API_KEY="ragflow-xxx"
|
|
# RAGFLOW_RETRIEVAL_SIZE=10
|
|
# 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
|
|
|
|
# RAG_PROVIDER=dify
|
|
# DIFY_API_URL="https://api.dify.ai/v1"
|
|
# DIFY_API_KEY="dataset-xxx"
|
|
|
|
# MOI is a hybrid database that mainly serves enterprise users (https://www.matrixorigin.io/matrixone-intelligence)
|
|
# RAG_PROVIDER=moi
|
|
# MOI_API_URL="https://cluster.matrixonecloud.cn"
|
|
# MOI_API_KEY="xxx-xxx-xxx-xxx"
|
|
# MOI_RETRIEVAL_SIZE=10
|
|
# MOI_LIST_LIMIT=10
|
|
|
|
|
|
# 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
|
|
|
|
# RAG_PROVIDER: qdrant (using qdrant cloud or self-hosted: https://qdrant.tech/documentation/quick-start/)
|
|
# RAG_PROVIDER=qdrant
|
|
# QDRANT_LOCATION=https://xyz-example.eu-central.aws.cloud.qdrant.io:6333
|
|
# QDRANT_API_KEY=<your_qdrant_api_key> # Optional, only for cloud/authenticated instances
|
|
# QDRANT_COLLECTION=documents
|
|
# QDRANT_EMBEDDING_PROVIDER=openai # support openai,dashscope
|
|
# QDRANT_EMBEDDING_BASE_URL=
|
|
# QDRANT_EMBEDDING_MODEL=text-embedding-ada-002
|
|
# QDRANT_EMBEDDING_API_KEY=
|
|
# QDRANT_AUTO_LOAD_EXAMPLES=true
|
|
|
|
# Optional, volcengine TTS for generating podcast
|
|
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
|
|
|
|
# Optional, for langsmith tracing and monitoring
|
|
# Highly recommended for production debugging and performance monitoring
|
|
# Get your API key from https://smith.langchain.com/
|
|
# LANGSMITH_TRACING=true
|
|
# LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
|
|
# LANGSMITH_API_KEY="xxx"
|
|
# LANGSMITH_PROJECT="xxx"
|
|
|
|
# Optional, LangChain verbose logging
|
|
# Enable these to see detailed LLM interactions in console/logs
|
|
# Useful for debugging but can be very verbose
|
|
# LANGCHAIN_VERBOSE=true
|
|
# LANGCHAIN_DEBUG=true
|
|
|
|
# [!NOTE]
|
|
# For model settings and other configurations, please refer to `docs/configuration_guide.md`
|
|
|
|
# Option, for langgraph mongodb checkpointer
|
|
# Enable LangGraph checkpoint saver, supports MongoDB, Postgres
|
|
#LANGGRAPH_CHECKPOINT_SAVER=true
|
|
# Set the database URL for saving checkpoints
|
|
#LANGGRAPH_CHECKPOINT_DB_URL=mongodb://localhost:27017/
|
|
#LANGGRAPH_CHECKPOINT_DB_URL=postgresql://localhost:5432/postgres
|