arXiv:2608.22917cs.CLAug 2026

Manuscript Offprint

arXiv:2608.22917

TSWAP: A Multilingual Retrieval-Augmented Thai Wellness Advisor

Pornthep Ukosaramig, Kobkrit Viriyayudhakorn

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.

Keywords: retrieval-augmented generation, Thai NLP, health chatbots, traditional medicine, LLM safety, benchmarks.

1 Introduction

Wellness tourism is among the fastest-growing segments of the global economy; Thailand's wellness economy was valued at US40.5billion(≈1.4trillionTHB)in2023,withwellness−tourismspendingofUS40.5 billion (≈1.4 trillion THB) in 2023, with wellness-tourism spending of US12.3 billion [4]. Yet information about Thai wellness and beauty providers—services, packages, prices, certification status, and the traditional-medicine and herbal knowledge that differentiates Thai wellness—remains fragmented across channels, with no trustworthy, verifiable, multilingual central source. Foreign visitors in particular face a language barrier and uncertainty about provider standards.

The Thai Smart Wellness Advisor Platform (TSWAP) was built to address this gap: a web, mobile, and chatbot platform that consolidates verified provider data and Thai traditional-medicine knowledge and exposes it through a multilingual conversational advisor. This paper focuses on the conversational AI engine.

From an NLP standpoint, TSWAP occupies an empty niche. A survey of Thai and Southeast-Asian NLP (Section 2) finds a crowded field of general-purpose Thai LLMs [16, 17, 10, 13, 12, 2] and a small body of Thai clinical NLP [3], but no public NLP benchmark or dataset for Thai traditional or herbal medicine (นพย์安县ไทย / สุมไทย), and only one prior Thai traditional-medicine language model—AppHerb [1], a Gemma-2 fine-tune that generates treatment and recipe text from two textbooks, with no deployment, no multilingual support, no retrieval grounding, and no reusable benchmark. The mature analogue is Traditional Chinese Medicine, which has a developed benchmarking subfield [9, 14]; Thai has essentially no equivalent.

∗^{*}Corresponding author. Project lead, contract C05F680144.

Contributions.

  1. The first public Thai traditional-medicine/wellness retrieval benchmark (50 questions, gold document IDs, Recall@5 = 0.88), released together with production QA logs and frontier-probe logs (Section 4).

  2. A grounding-first RAG recipe whose central element—a query classifier that forces retrieval for entity lookups—we show is necessary to prevent silent hallucination, with transferable serving findings: English-calibrated AWQ quantization corrupts Thai output, and hidden-reasoning budgets silently truncate answers (Sections 3.2, 4).

  3. A production evaluation with a Thai-localized safety probe quantifying what the safety prompt and the knowledge base each contribute (Section 4.4).

TSWAP's LLM is deliberately not fine-tuned and its safety layer is prompt-and-routing only; we treat these as design choices with measurable consequences.