From a question the chatbot couldn’t answer
The quickest way is from the knowledge gaps report:- Click Dashboard in the sidebar, find the question under Knowledge gaps, and open it.
- Under Add an answer to the knowledge base, write the answer in Your answer.
- Click Add answer to knowledge base.
As a file
Write the text in a.txt or .md file and drag it onto the upload area in Knowledge Base. See Upload files.
With the CLI or the API
On plans with API access:sources_add action (see the API introduction) with text and name.
Text snippet or custom response?
- A text snippet is knowledge. The chatbot answers in its own words from it, and can combine it with other content.
- A custom response is an exact answer, sent word for word when a visitor asks that question.
Change or remove a snippet
A text source can’t be edited in place. Delete it and add the new version: with the CLI,customergpt knowledge documents delete SOURCE_ID --chatbot BOT_ID --yes. See Keep your content up to date.