初始化
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# DashScope API
|
||||
DASHSCOPE_API_KEY=your_api_key_here
|
||||
|
||||
# Milvus
|
||||
MILVUS_HOST=localhost
|
||||
MILVUS_PORT=19530
|
||||
|
||||
# LLM配置
|
||||
LLM_MODEL=qwen-max
|
||||
EMBEDDING_MODEL=text-embedding-v3
|
||||
EMBEDDING_DIM=1536
|
||||
|
||||
# 检索配置
|
||||
VECTOR_TOP_K=10
|
||||
BM25_TOP_K=10
|
||||
FINAL_TOP_K=5
|
||||
|
||||
# 分块配置
|
||||
CHUNK_SIZE=800
|
||||
CHUNK_OVERLAP=50
|
||||
|
||||
# 服务配置
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=8000
|
||||
Reference in New Issue
Block a user