This commit is contained in:
2026-08-07 08:33:41 +02:00
parent d088eb0a47
commit 246241fcda
419 changed files with 11924 additions and 203 deletions
+21 -4
View File
@@ -87,6 +87,8 @@ 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
# Language tag for generated KB drafts (for example de-DE or en-US).
BRAIN_ARTICLE_LANGUAGE=de-DE
BRAIN_ARTICLE_MIN_SOURCES=3
BRAIN_ARTICLE_MAX_SOURCES=8
BRAIN_ARTICLE_MIN_PRODUCTION_RATIO=0.70
@@ -97,19 +99,34 @@ 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
BRAIN_ARTICLE_RESEARCH_RESULTS=12
# 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_FETCH_RESULTS=6
# Reserve up to this many fetch slots for promising candidates below the final
# relevance threshold. They are re-evaluated against the extracted full text.
BRAIN_ARTICLE_RESEARCH_EXPLORATION_RESULTS=3
# Lower title/snippet threshold used only before the full-text fetch.
BRAIN_ARTICLE_RESEARCH_PREFETCH_MIN_RELEVANCE=0.25
BRAIN_ARTICLE_RESEARCH_MIN_RELEVANCE=0.55
BRAIN_ARTICLE_RESEARCH_MIN_QUALITY=0.35
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
# Research orchestration. All SearXNG requests, web fetches and Ollama calls
# share this bounded queue. With one Ollama node, 2 is a conservative default:
# one model request may run while one web request progresses.
BRAIN_RESEARCH_OLLAMA_MAX_INFLIGHT=2
BRAIN_RESEARCH_OLLAMA_QUEUE_SIZE=64
# Semantically equivalent research intents reuse a running/recent result bundle.
BRAIN_RESEARCH_DEDUPE_THRESHOLD=0.92
BRAIN_RESEARCH_DEDUPE_TTL=45m
# site: filters are always stripped at runtime. Research remains domain-open.
# Autonomous, persistent background research. Tasks are stored in graph.db and
# handed to Ollama asynchronously with low priority. Disabled by default.
BRAIN_AUTONOMOUS_RESEARCH_ENABLED=false