TSWAP: A Multilingual Retrieval-Augmented Thai Wellness Advisor
Organizations: Digital Touch Point Co., Ltd. · iApp Technology Co., Ltd.
Abstract
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.
Figures & tables
| Collection | Chunks | Collection | Chunks |
| restaurants | 11,212 | thai_herbs | 870 |
| hotels | 8,704 | providers | 484 |
| attractions | 8,169 | staygold_catalogs | 18 |
| packages | 1,153 | wellness_facilities | 15 |
| Total 30,625 chunks / 8 collections | |||
| Group | Fields |
|---|---|
| Identity | thai_name , english_name , scientific_name , category |
| Content | properties , benefits , usage_instructions , |
| botanical_characteristics , pharmacology | |
| Safety | contraindications |
| Evidence | scientific_references , research_references |
| Metadata | origin_region , usage_type , images |
Retrieval-Augmented Generation
Retrieval-augmented generation connects language models to external knowledge so answers can use current, domain-specific evidence.
See all 796 papers