Maintain
Knowledge base
How to add, edit, and bulk-manage knowledge base content in a live PolyAI agent.
Small tweaks to the knowledge base can solve most issues. This page shows you the safest ways to:
- Edit an existing entry
- Import and export content in bulk
- Promote changes to production
Always test in Sandbox first and promote only when you’re happy. Details are in Environments & versions.
Edit an existing knowledge base item
- Click the topic you want to change.
- Update text directly in the Answer panel.
- Press Save (or
Cmd/Ctrl + S
). - Use Publish and run tests in sandbox before publishing.
Common fixes:
Issue | What to do |
---|---|
The agent gives a partial answer | Add clarifying details to the Answer field. |
It triggers the wrong topic | Add a few of the user’s actual phrasings as Sample questions. |
It overlaps another topic | Merge the content or re-title one topic to be more specific. |
Add a new topic
- Click ** + Topic**.
- Enter a clear title.
- Add at least three sample questions—think of real user wording.
- Write the Answer in plain language.
- Save and preview.
Bulk edits
Large updates are faster in a spreadsheet.
- Click Export CSV to download the current KB.
- Edit or add rows in your spreadsheet app.
- Keep column headers exactly as exported.
- Leave IDs intact for topics you’re editing; new rows will create new topics.
- Save as CSV.
- Click Import CSV and upload the file.
- Review the diff, then Confirm import.
See CSV imports for file format details.
Promote your changes
- Open Environments & versions.
- Select the new Sandbox version.
- Click Promote to production.
- Confirm.
When to ask for help
Escalate to PolyAI support or your PS contact if you need to:
- Add Python functions or external API calls
- Localise a multi-language KB
- Migrate content between separate projects
- Undo a large import gone wrong