Search papers, labs, and topics across Lattice.
TSWAP is a multilingual conversational wellness advisor that utilizes retrieval-augmented generation to provide accurate information on Thai traditional medicine across eight languages. By employing a hybrid dense-sparse retriever and a rule-based safety layer, the system ensures reliable and safe responses while maintaining high performance on a newly established Thai wellness retrieval benchmark. Key results include a Recall@5 of 0.88 on the benchmark and a 91.1% test-retest pass rate over 259 QA cases, highlighting the effectiveness of the grounding mechanisms and safety protocols implemented.
A multilingual wellness advisor that not only excels in Thai traditional medicine but also integrates robust safety measures to prevent harmful medical advice.
We present TSWAP, a deployed eight-language conversational wellness advisor grounded, via retrieval-augmented generation, in a verified knowledge base of Thai traditional medicine and certified wellness providers. An unmodified open-weight LLM (Qwen3.6-35B-A3B on vLLM) is grounded on a ~30.6K-chunk Thai index by a hybrid dense-sparse retriever with cross-encoder reranking; a first-turn query classifier forces tool-based retrieval for entity lookups; a rule-based safety layer enforces medical scope and Thai emergency routing; and all eight languages are served zero-shot with translate-then-retrieve. We release the first Thai traditional-medicine/wellness retrieval benchmark (50 questions with gold document IDs; Recall@5 = 0.88), production QA logs (91.1% test-retest pass over 259 cases), and a 71-question frontier no-retrieval probe showing what each grounding pillar contributes: without the safety prompt the backend model family produced a full drug-dosing schedule and complied with out-of-scope requests, and without the knowledge base it produced zero verifiable provider recommendations. We further report two transferable deployment findings: English-calibrated 4-bit AWQ quantization corrupts Thai tone marks, and forced-retrieval routing is necessary for reliable grounding.