Faq Bot
FAQBot
FAQBotAgent answers frequently asked questions from a provided knowledge base. It matches user questions to FAQs and optionally suggests related questions.
Basic Usage
FAQ Format
Constructor Parameters
With Categories
Use categories to organize FAQs:
Built-in Functions
FAQBot provides this SWAIG function automatically:
Custom Persona
Customize the bot’s personality:
Complete Example
Best Practices
FAQ Content
- Write questions as users would ask them
- Keep answers concise but complete
- Include variations of common questions
- Update FAQs based on actual user queries
Categories
- Use consistent category naming
- Limit to 2-3 categories per FAQ
- Use categories for related question suggestions
Scaling
- For large FAQ sets, consider native_vector_search skill
- FAQBot works best with 50 or fewer FAQs
- Use categories to help matching