feat(rag): steering notes — tune how Brain answers, stored in Postgres and injected into every system prompt
This commit is contained in:
@@ -58,6 +58,10 @@ class Settings(BaseSettings):
|
||||
chunk_target_chars: int = 2_000
|
||||
chunk_overlap_chars: int = 200
|
||||
embed_batch_size: int = 16
|
||||
#: Total char budget for the ``<tuning>`` section of the system prompt
|
||||
#: (phase 15, steering notes). The newest-fitting notes are kept and the
|
||||
#: overflow is replaced by the ``[…truncated…]`` marker.
|
||||
steering_max_chars: int = 8_000
|
||||
|
||||
# --- Hybrid retrieval (A7, revised 2026-08-21) ---
|
||||
# cosine top-N ∪ Postgres FTS top-N, fused with Reciprocal Rank Fusion
|
||||
|
||||
Reference in New Issue
Block a user