All checks were successful
release-tag / release-image (push) Successful in 2m23s
112 lines
3.9 KiB
Plaintext
112 lines
3.9 KiB
Plaintext
# HTTP
|
|
BRAIN_LISTEN_ADDR=:8090
|
|
BRAIN_DATA_DIR=./data
|
|
BRAIN_API_KEY=
|
|
|
|
# Read-only production knowledge; comma-separated paths are supported.
|
|
BRAIN_KNOWLEDGE_DIRS=../glpi-ai-agent/knowledge
|
|
|
|
# Writable staging used only for AI-THINK drafts. The Agent does not mount this path.
|
|
BRAIN_STAGING_DIRS=../glpi-ai-knowledgebase/staging
|
|
|
|
# Optional read-only audit streams. Multiple files may be comma-separated.
|
|
BRAIN_AGENT_RUNS_FILES=../glpi-ai-agent/data/runs.jsonl
|
|
|
|
# Batched disk persistence. AI-THINK files and caches are written first;
|
|
# changed graph rows follow in one SQLite/WAL transaction. A final flush is
|
|
# attempted during shutdown.
|
|
BRAIN_PERSIST_INTERVAL=5m
|
|
|
|
# Ollama pool. OLLAMA_URLS takes precedence over legacy OLLAMA_URL.
|
|
OLLAMA_URL=http://localhost:11434
|
|
OLLAMA_URLS=http://localhost:11434
|
|
OLLAMA_NODE_NAMES=local-gpu
|
|
OLLAMA_NODE_WEIGHTS=1
|
|
OLLAMA_ROUTING_MODE=least_inflight
|
|
OLLAMA_NODE_MAX_INFLIGHT=1
|
|
OLLAMA_NODE_HEALTH_INTERVAL=15s
|
|
OLLAMA_NODE_FAILURE_COOLDOWN=30s
|
|
OLLAMA_NODE_REQUEST_TIMEOUT=8m
|
|
OLLAMA_FAILOVER_ENABLED=true
|
|
# 0 = try all configured nodes.
|
|
OLLAMA_FAILOVER_ATTEMPTS=0
|
|
OLLAMA_REQUIRE_SAME_MODEL_DIGEST=true
|
|
OLLAMA_REQUIRE_EMBEDDING_MODEL=true
|
|
OLLAMA_CHAT_MODEL=qwen3:8b
|
|
OLLAMA_EMBEDDING_MODEL=embeddinggemma
|
|
|
|
# Optional read-only GLPI Knowledge Base ingest.
|
|
GLPI_KB_ENABLED=false
|
|
GLPI_URL=https://glpi.example.invalid
|
|
GLPI_API_VERSION=v2.3
|
|
GLPI_CLIENT_ID=
|
|
GLPI_CLIENT_SECRET=
|
|
GLPI_USERNAME=
|
|
GLPI_PASSWORD=
|
|
GLPI_ALLOW_INSECURE_HTTP=false
|
|
GLPI_TIMEOUT=20s
|
|
GLPI_KB_PATH=auto
|
|
GLPI_KB_FILTER=
|
|
GLPI_KB_LIMIT=500
|
|
GLPI_KB_SYNC_INTERVAL=10m
|
|
GLPI_KB_SOURCE=GLPI Knowledge Base
|
|
|
|
# Runtime controls. Boolean/view/performance values are WebUI defaults.
|
|
# Source lists are initial WebUI defaults only; runtime-settings.json takes precedence afterwards.
|
|
# Empty lists mean unrestricted. Values must exactly match the KB JSON source field.
|
|
BRAIN_LEARNING_ENABLED=true
|
|
BRAIN_THINKING_ENABLED=true
|
|
# Initial exact source selections; empty = all sources.
|
|
BRAIN_LEARNING_SOURCES=
|
|
BRAIN_DISPLAY_SOURCES=
|
|
BRAIN_THINKING_SOURCES=
|
|
BRAIN_DEFAULT_VIEW=neural # neural | honeycomb | constellation
|
|
# 0 = unbegrenzt; Webinterface kann den Wert zur Laufzeit ändern
|
|
BRAIN_MAX_DISPLAY_NODES=0
|
|
# Browser-Rendering auf 30 FPS, geringere DPR und reduzierte Effektkosten optimieren.
|
|
BRAIN_LOW_POWER_MODE=false
|
|
|
|
# Sequential enrichment
|
|
BRAIN_AUTO_ENRICH=true
|
|
BRAIN_SCAN_INTERVAL=20s
|
|
BRAIN_ENRICH_INTERVAL=90s
|
|
BRAIN_ENRICH_BATCH_SIZE=3
|
|
BRAIN_ENRICH_STEP_DELAY=3s
|
|
BRAIN_ENRICH_ANCHORS=48
|
|
BRAIN_SIMILARITY_THRESHOLD=0.68
|
|
BRAIN_RELATION_THRESHOLD=0.72
|
|
BRAIN_TOP_K=8
|
|
BRAIN_MAX_CONTEXT_CHARS=16000
|
|
|
|
# Optional controlled web research through your own SearXNG instance.
|
|
# Use the root URL or a URL ending in /search. Inside Docker, localhost points
|
|
# to the Brain container; use the SearXNG service name or host.docker.internal.
|
|
BRAIN_RESEARCH_ENABLED=false
|
|
SEARXNG_URL=
|
|
|
|
# Knowledge synthesis after a verified relation has formed a useful source cluster.
|
|
# Relation thinking always remains separate and only creates graph edges.
|
|
BRAIN_ARTICLE_SYNTHESIS_ENABLED=true
|
|
BRAIN_ARTICLE_MIN_SOURCES=3
|
|
BRAIN_ARTICLE_MAX_SOURCES=8
|
|
BRAIN_ARTICLE_MIN_PRODUCTION_RATIO=0.70
|
|
BRAIN_ARTICLE_MAX_GENERATION_DEPTH=2
|
|
BRAIN_ARTICLE_MIN_CONFIDENCE=0.74
|
|
BRAIN_ARTICLE_MIN_TEXT_CHARS=180
|
|
BRAIN_ARTICLE_MIN_ANSWER_CHARS=420
|
|
# Maximal number of precise queries per research round.
|
|
BRAIN_ARTICLE_MAX_RESEARCH_QUERIES=6
|
|
# Raw SearXNG candidates per query.
|
|
BRAIN_ARTICLE_RESEARCH_RESULTS=8
|
|
# Iterative search/reformulation rounds.
|
|
BRAIN_ARTICLE_RESEARCH_ROUNDS=3
|
|
# Highest-ranked pages whose full content is downloaded.
|
|
BRAIN_ARTICLE_RESEARCH_FETCH_RESULTS=4
|
|
BRAIN_ARTICLE_RESEARCH_MIN_RELEVANCE=0.65
|
|
BRAIN_ARTICLE_RESEARCH_MIN_QUALITY=0.45
|
|
BRAIN_ARTICLE_RESEARCH_PAGE_MAX_BYTES=2097152
|
|
BRAIN_ARTICLE_RESEARCH_PAGE_MAX_CHARS=14000
|
|
BRAIN_ARTICLE_RESEARCH_FETCH_TIMEOUT=20s
|
|
# Keep false unless private/intranet research URLs are intentionally trusted.
|
|
BRAIN_ARTICLE_RESEARCH_ALLOW_PRIVATE=false
|