https://gitlab.synchro.net/main/sbbs/-/commit/1f72bd03d5d4bb38b1ea543a
Modified Files:
exec/chat_llm.js
Log Message:
chat_llm: skip RAG for identity/social queries
inject_retrieval() fired on any query whose top BM25 hit cleared the
score floor -- including self-referential questions like "what's your
name?" (the token "name" scores well), injecting board/wiki chunks that
the model then conflated with its own identity ("I'm Vertrauen BBS").
Add _is_conversational_query() and gate inject_retrieval() on it:
identity ("who/what are you", "your name", "are you a bot/sysop"),
capability, and social-pleasantry queries now retrieve nothing and are
answered from the system prompt's identity rules alone. Kept narrow so
genuine knowledge questions (incl. "who is the sysop?") still retrieve.
Co-Authored-By: Claude Opus 4.8 <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)