The corpus is your chatbot’s knowledge base. It’s the content it uses to answer questions.
Entry structure
Each corpus entry contains:
Field
Description
Required
Title
For organization
Yes
Content
The text the bot knows
Yes
Segment
Associated context(s)
No
Priority
Relative importance
No
Tags
Keywords for matching
No
Adding content
Via the dashboard
Go to Dashboard > Knowledge Base
Click Add entry
Fill in the fields
Save
Via the API
curl -X POST https://api.animam.ai/tenants/{slug}/corpus \ -H "Authorization: Bearer ak_your_token" \ -H "Content-Type: application/json" \ -d '{ "title": "Business hours", "content": "We are open Monday to Friday, 9am to 6pm.", "segment": "contact", "priority": 1 }'
Writing good content
Recommended format
# Return PolicyYou have 30 days to return a product.## Conditions- Unused product- Original packaging- Receipt## Procedure1. Log into your account2. Go to "My Orders"3. Click "Return"## ExceptionsPersonalized products are not returnable.
Write as if you were talking to a customer. The bot naturally adopts this tone.
Best practices
Do
Avoid
Clear Q&A format
Internal jargon
Bullet points
Walls of text
Concrete examples
Vague information
Regular updates
Outdated content
Priority
Priority (1-10) determines which content is preferred in case of conflict:
10: Critical (pricing, T&C, security)
5: Standard (general FAQ)
1: Supplementary (anecdotes)
{ "title": "Pro subscription price", "content": "The Pro subscription costs $49/month", "priority": 10}