NLP Based Chatbot Development Services: Designing Intents and Collecting Training Data

Even in the age of large language models, many production chatbots rely on intent classification to route requests quickly, predictably and cheaply. The quality of that routing depends on two things: a sensible list of intents and good training examples. These are core tasks in NLP based chatbot development services.
What Is an Intent?
An intent is what the user wants to do: track an order, reset a password, book an appointment. Each intent maps to a response or action. Entities are the details needed to complete it, such as an order number or date.
Designing an Intent Taxonomy
- Start from real conversations, not assumptions.
- Group by what the user wants, not by department.
- Keep intents distinct; overlapping intents confuse models.
- Use a fallback intent for out-of-scope messages.
- Start with 15 to 40 core intents, and add more as data shows need.
Example Taxonomy
| Intent | Example utterances | Entities |
|---|---|---|
| track_order | "Where is my order?", "Parcel not arrived" | Order number |
| cancel_order | "Cancel my order", "I don't want it anymore" | Order number, reason |
| return_request | "How do I return this?", "Wrong size" | Order number, item |
| talk_to_human | "Agent please", "Connect me to someone" | None |
Collecting Training Utterances
- Extract real messages from chat logs, emails and call transcripts.
- Label each with its intent, with two people checking a sample for consistency.
- Include variety: short, long, misspelled, slang and mixed language.
- Aim for balanced examples across intents.
- Hold back a portion for testing.
Handling Overlapping Intents
"Cancel order" and "return item" often overlap. Merge intents that cannot be told apart, or add a clarifying question. Confusion between intents shows up clearly in evaluation. See NLP chatbot evaluation metrics.
Entities
Define entity formats, such as order numbers and dates, and add synonyms for products and places. Read our named entity recognition guide.
Using LLMs to Help
Language models can suggest utterance variations, propose intent groupings from unlabelled data and handle messages outside known intents. Always review generated examples; synthetic data should supplement real data, not replace it. See synthetic data for training.
Maintaining Intents Over Time
- Review fallback messages monthly for new intents.
- Add new real examples to existing intents.
- Retire intents nobody uses.
- Retrain and retest after changes.
Common Mistakes
- Designing intents around the org chart
- Training only on invented phrases
- Too many fine-grained intents at launch
- No fallback intent
Key Takeaways
- Base intents on real conversations and keep them distinct.
- Collect varied, labelled examples and hold some back for testing.
- Review fallbacks monthly to keep the taxonomy current.
How Amenity Approaches NLP Chatbot Projects
- Analyse real conversations to propose intents
- Label data with your team
- Train, test and review the confusion matrix
- Monitor fallbacks and retrain regularly
Your subject-matter experts help define intents so the bot speaks your customers' language.
The Bottom Line
Well-designed intents and good training data are the foundation of a reliable NLP chatbot. Investing in them early saves months of fixes later.
Measuring Intent Quality
- Accuracy and F1 per intent
- Confusion between similar intents
- Fallback rate on live traffic
Example: Merging Confusing Intents
An e-commerce bot had separate intents for cancel order and change order. Evaluation showed frequent confusion between them. Merging them into one intent with a follow-up question, "Would you like to cancel or change it?", improved accuracy and user satisfaction.
Next Steps
Export a sample of recent customer messages and group them by goal. Those groups are your first draft intents.
About Amenity Technologies
Amenity Technologies is a GenAI and AI development company based in Ahmedabad, India, with a team of 50+ AI specialists. We build chatbots, voice bots, RAG systems, AI agents, computer vision and custom AI software for clients worldwide. See our awards and achievements.
Related Reading
- NLP chatbot development: evaluation metrics
- Chatbot development: keyword matching vs NLP vs LLM
- Nlp chatbot development services how ai powered chatbots improve customer engagement lead generation
Frequently Asked Questions
What is an intent in an NLP chatbot?
The goal behind a user's message, such as tracking an order or booking an appointment, mapped to a response or action.
How many intents should a chatbot start with?
Many bots start with 15 to 40 core intents based on real conversations, adding more as data shows need.
Where does chatbot training data come from?
Real messages from chat logs, emails and call transcripts, labelled by intent, supplemented carefully with reviewed synthetic examples.
How do you handle overlapping intents?
Merge intents that cannot be distinguished, or add a clarifying question, using evaluation results to find confusion.
How often should intents be updated?
Review fallback messages monthly, add new examples, retire unused intents and retest after changes.
Design Your NLP Chatbot
Talk to our AI team about your use case, or explore our case studies.