RC-1
release-tag / release-image (push) Successful in 1m41s

This commit is contained in:
2026-07-28 20:02:03 +02:00
parent 51995f9275
commit a01b53097a
17 changed files with 714 additions and 206 deletions
+13 -5
View File
@@ -49,13 +49,21 @@ OLLAMA_MAX_CONCURRENT=1
KNOWLEDGE_DIR=./knowledge
RAG_ENABLED=true
KNOWLEDGE_TOP_K=3
# Hybrid relevance score (not a probability). Recommended starting point: 0.70.
# Final evidence threshold after the model has selected a KB candidate. This is not the raw retrieval score.
KNOWLEDGE_MIN_SCORE=0.70
# Broad-recall floor for the deterministic retrieval/ranking stage. Candidates below this never reach auto-reply.
KNOWLEDGE_RETRIEVAL_FLOOR=0.30
# Final evidence combines deterministic retrieval + the model's selected-KB confidence + exact ITIL-category alignment.
KNOWLEDGE_EVIDENCE_WEIGHT_RETRIEVAL=0.45
KNOWLEDGE_EVIDENCE_WEIGHT_AI=0.35
KNOWLEDGE_EVIDENCE_WEIGHT_CATEGORY=0.20
# Hybrid ranking weights. Missing metadata is not penalized; available weights are re-normalized.
KNOWLEDGE_WEIGHT_SEMANTIC=0.50
KNOWLEDGE_WEIGHT_TITLE=0.25
KNOWLEDGE_WEIGHT_KEYWORDS=0.15
KNOWLEDGE_WEIGHT_CATEGORY=0.10
KNOWLEDGE_WEIGHT_SEMANTIC=0.45
KNOWLEDGE_WEIGHT_TITLE=0.20
KNOWLEDGE_WEIGHT_LEXICAL=0.20
KNOWLEDGE_WEIGHT_KEYWORDS=0.075
KNOWLEDGE_WEIGHT_CATEGORY=0.075
KNOWLEDGE_EMBEDDING_PROFILE=auto
# Long KB bodies are embedded as overlapping chunks; the best matching chunk is used.
KNOWLEDGE_CHUNK_WORDS=160
KNOWLEDGE_CHUNK_OVERLAP_WORDS=30