Overview
WangchanBERTa Admin Chat brings customer conversations and Thai intent analysis into an administrator dashboard. A fine-tuned multi-label classifier suggests relevant intent tags while administrators manage conversations and review those suggestions.
Challenge
Customer messages can contain several requests in one sentence. Administrators need to follow multiple conversations while understanding what each customer is asking for.
Solution
The application combines a React interface with a Flask and Socket.IO backend. A fine-tuned WangchanBERTa model suggests intent tags, and administrators can review and correct them within the chat workflow.
Key features
- Real-time conversations Connects customer and administrator chat views through Socket.IO.
- Thai multi-label intent analysis Suggests confidence-filtered tags across 23 intent categories, with up to 10 tags per message.
- Human review Supports correcting intent tags, reviewing previous results, and exporting review data as CSV.
- Conversation management Provides separate customer and administrator views, authentication, and a list of customer conversations.
Process
- A customer sends a message in the chat.
- The server processes the message and suggests intent tags.
- An administrator reads the conversation and reviews or corrects tags.
- Review history can be exported for further analysis.