Configure the RAG Chatbot via APIs

You can also configure the RAG Chatbot programmatically via APIs. This allows you to change the chatbot settings on the fly, add realtime information to the chatbot via updating the knowledge base dynamically, and more.

We have made a simple "Yosemite Chatbot" example illustrating how you can fetch Yosemite National Park activities from the National Park Service API and add them the chatbot's knowledge base. The data is automatically updated every 10 minutes:

https://github.com/thetatoken/theta-edgecloud-chatbot-knowledge-example/tree/main

For more information about the APIs, please refer to the following doc:

https://github.com/thetatoken/theta-edgecloud-chatbot-knowledge-example/blob/main/THETA_EDGE_CLOUD_API.md