Knowledge base structure
The single biggest factor in AI response quality is how the knowledge base is structured. Use the patterns below for consistent, accurate answers.Hierarchical headings for products
Hierarchical headings for products
Use
# and ## headings to group content. The AI uses headings as context anchors — it knows that a price listed below a heading belongs to the product in that heading.Q&A format for FAQs
Q&A format for FAQs
Write FAQs exactly as customers ask them. The AI matches customer questions against the question text in your knowledge base — closer phrasing means better matching.
Explicit negative rules
Explicit negative rules
If there are things the AI should never mention — discontinued products, prices under renegotiation — add an explicit exclusion section.
Persona tuning
The Dos & Don’ts field is the most powerful lever for shaping AI personality and behaviour. Use it to set communication style, enforce business rules, and define escalation triggers. Communication style:Escalation logic
AI staff escalates to a human agent when:- The customer explicitly asks for a human
- The AI’s confidence falls below the threshold — typically after 2–3 failed answer attempts
- A custom escalation rule in Dos & Don’ts is triggered
Reducing false escalations
If the AI escalates too often, the knowledge base is likely too thin or too vague. Before adjusting escalation settings:Reducing missed escalations
If the AI is confidently answering questions it shouldn’t — such as confirming prices not in the knowledge base — add an explicit Don’t:Multi-staff routing
When a client has multiple AI staff members, StoreTalk automatically routes each incoming message to the most relevant specialist. To make routing accurate:- Give each staff member a distinct, narrow scope — a Sales Executive should not also handle return policies
- Use one knowledge base file per topic rather than a single large file for everything
- Set each staff member’s language explicitly — if you have a Hindi-only staff member for regional customers, set them to Hindi only