This commit is contained in:
@@ -75,6 +75,12 @@ KNOWLEDGE_CHUNK_WORDS=160
|
||||
KNOWLEDGE_CHUNK_OVERLAP_WORDS=30
|
||||
KNOWLEDGE_MAX_CHUNKS_PER_DOC=24
|
||||
KNOWLEDGE_MAX_QUERY_CHUNKS=64
|
||||
# Persistent local index: incremental loads the last snapshot immediately and scans for changes in the background.
|
||||
KNOWLEDGE_INDEX_MODE=incremental
|
||||
# Number of texts sent per Ollama /api/embed request.
|
||||
KNOWLEDGE_EMBED_BATCH_SIZE=64
|
||||
# 0 disables recurring scans; an initial background delta scan still runs after startup in incremental mode.
|
||||
KNOWLEDGE_INDEX_SCAN_INTERVAL=5m
|
||||
CATEGORY_PROMPT_LIMIT=80
|
||||
# Fail-closed source policy. Only documents carrying one of these source labels are indexed/searched.
|
||||
KNOWLEDGE_ALLOWED_SOURCES=internal-kb,glpi-kb
|
||||
@@ -84,6 +90,16 @@ KNOWLEDGE_AUTO_REPLY_SOURCES=internal-kb
|
||||
# the static KNOWLEDGE_DIR stays read-only.
|
||||
KNOWLEDGE_WEB_EDIT_ENABLED=false
|
||||
|
||||
# Compatibility for shared KB JSON files whose `categories` contain external string labels.
|
||||
# unscoped: load the document, keep external labels, disable auto-reply while labels are unmapped.
|
||||
# skip: ignore the whole document if any external category cannot be mapped.
|
||||
# strict: fail startup on any unmapped external category.
|
||||
KNOWLEDGE_CATEGORY_MODE=unscoped
|
||||
# Optional JSON mapping file. Recommended location in Docker: /app/data/knowledge-category-map.json
|
||||
KNOWLEDGE_CATEGORY_MAP_FILE=
|
||||
# Optional comma-separated filename globs, e.g. KB-SEC-ATTCK-*.json,legacy-*.json
|
||||
KNOWLEDGE_IGNORE_GLOBS=
|
||||
|
||||
# GLPI Knowledge Base (read-only connector). The service account's GLPI rights
|
||||
# determine which articles are visible. "auto" discovers the KnowbaseItem
|
||||
# collection route from /api.php/doc.json at runtime.
|
||||
@@ -112,6 +128,8 @@ COMMUNICATION_STYLE=formal
|
||||
COMMUNICATION_SALUTATION=Guten Tag,
|
||||
COMMUNICATION_CLOSING=Mit freundlichen Grüßen
|
||||
COMMUNICATION_SIGNATURE=IT-Service
|
||||
# Kennzeichnet automatisch vom Agenten ausgewaehlte Antworten mit dem TrustedNet-KI-Badge.
|
||||
AI_CONTENT_LABEL_ENABLED=true
|
||||
|
||||
|
||||
# Read-only operational context. These sources never receive write access.
|
||||
|
||||
Reference in New Issue
Block a user