CREATE CHATBOT
statement that lets you customize your chatbot with an AI model and a data source of your choice. Follow this tutorial to learn build a chatbot with a knowledge base.
The CREATE CHATBOT
statement requires the following components:
CREATE DATABASE
statement to connect the chat app to MindsDB.
CREATE ML_ENGINE
statement, as explained here.complete
before proceeding.
Next step is to create one or more skills for an AI agent. Here we create a knowledge base and assign it as a skill.
In this example, let’s create an embedding model (you can choose one from OpenAI, Hugging Face, or LangChain) for the knowledge base.
database
parameter stores connection to a chat app. And the agent
parameter stores an AI agent created by passing a model and training data.
You can query all chatbot using this query: