BBS: TELESC.NET.BR
Assunto: exec/chat_llm.js
De: Rob Swindell (on Debian Linux)
Data: Fri, 29 May 2026 23:59:56 -0700
-----------------------------------------------------------
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
n
---
mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net
-----------------------------------------------------------
[Voltar]