Business directory
Multilingual AI Chat Assistant
An AI assistant for a public business directory. It answers in four languages on the website, WhatsApp and Messenger, using the directory's own records.
The problem
Visitors ask about companies and products in Malay, English, Chinese and Tamil, on whichever channel they prefer, and the answers have to come from the directory's records rather than the open web.
What I built
- Next.js chat front end and admin console with an internationalised interface.
- Express API on Cloudflare Workers with PostgreSQL, S3-compatible storage and an LLM backend.
- Retrieval over the directory's content with vector search, so answers are drawn from real records.
- WhatsApp Business and Facebook Messenger channels, and multi-site support from one deployment.
Technical highlights
- Security headers, rate limiting, input sanitising and a dedicated security test script.
- Front end and API deployed at the edge on Cloudflare.