The rising deployment of artificial intelligence in public services is constrained by computational costs and limited domain-specific data, particularly in multilingual contexts. This study proposes a generalizable Agentic AI pipeline for developing question–answer chatbot systems using small language models (SLMs), demonstrated through a case study on the Thai Student Loan Fund (TSLF). The pipeline integrates four stages: OCR-based document digitization using Typhoon2-3B, agentic question–answer dataset construction via a clean–check–plan–generate (CCPG) workflow, parameter-efficient fine-tuning with QLoRA on Typhoon2-1B and Typhoon2-3B models, and retrieval-augmented generation (RAG) for source-grounded responses. Evaluation using BERTScore and CondBERT confirmed high semantic consistency (FBERT = 0.9807) and stylistic reliability (FBERT = 0.9839) of the generated QA corpus. Fine-tuning improved the 1B model’s domain alignment (FBERT: 0.8593 → 0.8641), while RAG integration further enhanced factual grounding (FBERT = 0.8707) and citation transparency. Cross-validation with GPT-5 and Gemini 2.5 Pro demonstrated dataset transferability and reliability. The results establish that Agentic AI combined with SLMs offers a cost-effective, interpretable, and scalable framework for automating bilingual advisory services in resource-constrained government and educational institutions.
A reliable interval estimation of the latent mean incidence rate is important but challenging in infectious disease surveillance because count data are often zero-inflated and overdispersed. This study compared frequentist (normal approximation (NA), bootstrap percentile (BP), and bootstrap-t (BT)) and Bayesian (equal-tailed interval (ETI) and highest density interval (HDI)) intervals under the zero-inflated negative binomial (ZINB) model. A Monte Carlo simulation study varied levels of zero inflation, dispersion, and the observation period, evaluating conditional and unconditional coverage and average interval length. NA and BP showed undercoverage throughout the evaluated scenarios. BT improved conditional coverage over BP in 47 of 54 scenarios but generally produced wider intervals. Bayesian intervals often had higher coverage, although overcoverage and diagnostic failures prevented a uniform advantage. HDI was shorter than ETI in every scenario. An empirical application to dengue surveillance data from Phayao Province, Thailand, illustrated the five interval procedures under a fitted ZINB model; however, the NB model had lower AIC/BIC values. Temporal diagnostics and block bootstrap results indicated sensitivity to dependence assumptions. Overall, interval performance depended on the scenario, prior specification, and successful interval construction; no method uniformly achieved nominal coverage.