BBS: TELESC.NET.BR
Assunto: exec/chat_llm.js
De: Rob Swindell (on Debian Linux)
Data: Fri, 29 May 2026 23:59:57 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/32dd5d66b972ff96a3d4589d
Modified Files:
exec/chat_llm.js
Log Message:
chat_llm: boost acronyms/glossary/facts for definitional queries
acronym/ and syncfact/ docs don't get WIKI_BOOST (only dokuwiki/ does),
so a short authoritative acronym definition lost to a wiki-boosted
config page that merely mentions the term ("what does FOSSIL stand for"
-> acronym/FOSSIL only #3). Add _is_definitional_query() ("what is X",
"what does X stand for / mean", "define X", "what's a/an X") and, for
those queries, boost acronym/, syncfact/, and dokuwiki/ref:* in
bm25_search so the definition wins. Pairs with the new acronyms +
syncfact index sources.
Co-Authored-By: Claude Opus 4.8
n
---
mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net
-----------------------------------------------------------
[Voltar]