Developers Build Accurate Chatbot Using Intent Matching Instead of an LLM

A development team built a deterministic chatbot without using a large language model, prioritizing predictability over AI-generated responses. The system works by matching user queries to predefined intents stored in Sanity CMS, keeping business-controlled answers separate from the matching logic. Input normalization handles typos, diacritics, and informal phrasing before the matcher runs exact, contained, or fuzzy keyword checks. Tools used include Astro, TypeScript, Sanity, and Fuse.js, with no LLM involved in generating customer-facing replies. The approach ensures factual accuracy for structured business information such as prices, hours, and policies, where creative rephrasing could introduce errors.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in