feat/r42-accuracy-and-clear-history #34
Reference in New Issue
Block a user
Delete Branch "feat/r42-accuracy-and-clear-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
R42 was omitting knowledge-graph information (notably pension questions):
relevant facts existed in the graph but never reached the model.
Fixes
pensioenquery scored 0 againstpensioenregeling/partnerpensioenand never retrieved them. Added a compound-word fallback (shared ≥6-char
stem or containment, 0.4× weight) alongside exact matching.
verbatim-mentioned topics; retrieved topics gave just a 200-char
description. Now injects ~1000 chars for up to 5 topics (mentions first,
then top-ranked retrieved); description widened to 320.
lookup_topicbefore giving up); relaxed the 4-sentence cap fordetail/list answers.
Clear history
Trash button in the chat header (confirm dialog) wipes
chat:thread:{userId}and reseeds the greeting viaclearThread().Tests
144 passing. Added compound-word retrieval tests + a new rag test for
deep-content injection. Lint + build clean.