Fix: top_k param handling error, unify top_k and cosine default value.

This commit is contained in:
yangdx
2025-02-13 06:05:21 +08:00
parent 76164a1b17
commit 28b17b327b
4 changed files with 18 additions and 11 deletions

View File

@@ -32,8 +32,8 @@ MAX_EMBED_TOKENS=8192
#HISTORY_TURNS=3
#CHUNK_SIZE=1200
#CHUNK_OVERLAP_SIZE=100
#COSINE_THRESHOLD=0.4 # 0.2 while not running API server
#TOP_K=50 # 60 while not running API server
#COSINE_THRESHOLD=0.2
#TOP_K=60
### LLM Configuration (Use valid host. For local services, you can use host.docker.internal)
### Ollama example