HideoutLab

Back to Works

AI Course Agent

RAG chatbot in production for an IT training institute: it recommends courses on the website and in LINE, with an admin dashboard for human handoff.

Category
AIWeb appWeb platformLLMChatbotLINE OAAI agent
Developers
Anupun Khumthong+1 more
AI Course Agent

AI Course Agent is a course-advisor chatbot that AGICAFET built for a Thai IT training institute, and it runs in production. Visitors ask in plain Thai or English, on the institute's website or in its LINE Official Account, and the agent answers from the live course catalog: what to learn, what it costs, when the next class is and what is on promotion. When it can't help, or the customer wants a person, it hands the chat to the institute's staff.

The client's brand is blurred in the screenshots.

The AI

  • Retrieval-augmented generation (RAG): Vertex AI Search finds the right courses in the catalog, and Gemini 2.5 Flash writes the answer from them
  • Each message is first classified by intent (a skill or course, online courses, class dates, a budget, promotions, FAQs, or a request for a person) with structured output, so the right tool answers it
  • Course data, class dates and promotions come from the institute's own API, so answers stay current
  • It remembers the last 30 messages of each conversation, separately for each channel
  • It notices a frustrated customer, such as the same question sent again, and offers a human admin

Three channels, one backend

  • Web chat: a widget on the institute's website, with course cards, suggested questions and a thumbs up or down on each answer
  • LINE: Flex Message course cards with class dates, Quick Reply buttons, and a sticker reward flow
  • Admin dashboard: every conversation from both channels in real time; staff take over a chat, switch the AI off for one customer, manage keyword auto-replies and send sticker rewards

Built with

  • FastAPI, LangChain and Gemini 2.5 Flash
  • Vertex AI Search
  • LINE Messaging API
  • Next.js admin dashboard with live updates (server-sent events) and JWT sign-in
  • PostgreSQL on Cloud SQL
  • Google Cloud Run, deployed by Cloud Build

Screenshots

Web chat

The chat widget on the institute's website, with suggested questions to start
"Which AI courses are on this month?" answered with live course cards
Full-screen view, with a thumbs up or down on every answer

LINE Official Account

Course cards with their next class dates, as Flex Messages
A price question, answered in one line and then with the matching courses
"Courses under 5,000 baht": the agent filters the catalog by budget

Admin dashboard (demo data)

Sessions waiting for an admin, sticker requests and keyword rules at a glance
Every customer from LINE and the web, with those who want a person on top
Handoff: the AI answers, then a staff member takes over the same chat
A customer asks for a person, and the chat is flagged for the team
Career advice on the web: where to start in data
An in-house training question, answered with the sign-up link
Keyword auto-replies that answer without calling the AI
The LINE sticker reward queue

Discover more of our work

Chat with us

Have a project in mind?

Message us on Facebook or send us a message here, and tell us what you'd like to build.

Contact us