Update Your Chatbot's Knowledge Base

To add custom knowledge to your chatbot, click on the "Knowledge base" tab in the chatbot details page. Here you can add documents to the chatbot's knowledge base either through file upload or copying over text content directly.

Below we shown how to add a new document by copying over some textual content. Adding new documents through file upload works similarly.

Click on the "Text" tab, and you should see two text input boxes as shown below. The lower input field is designated for entering the full textual content of the document you'd like to add, which will serve as the "new knowledge" for the chatbot. The upper input field is optional and can be used to provide a concise summary of the document. This summary can help streamline the chatbot’s processing and improve the relevance of responses when referencing the document.

For example, let us paste the text on the What is Theta Network on the lower input field such that the chatbot is aware of the latest development of the Theta Network. In the upper input box, we can simply type in "This document provides a high-level overview of Theta Network".

Next, click the "Add" button to incorporate the new knowledge as a document into the chatbot's knowledge base. Once successfully added, a card representing the newly uploaded document will appear on the page. To view the document, click on "Open Document," which will open the file in a new browser tab. If you want to update the document summary, you can modify the text within the "Metadata" field.

You can add more documents to the knowledge anytime you want! For example, we can add another document with the text content from the Theta EdgeCloud Overview page. As shown below, now the knowledge base contains two documents, one for the overview of the Theta Network, and the other details the Theta EdgeCloud.

With the new knowledge about Theta Network and Theta EdgeCloud added to the knowledge base, we can go back to the playground tab and ask it questions about Theta!

Next, let's further customize our RAG chatbot.