Step-by-Step Tutorial
This tutorial demonstrates how to build AI agents with MindsDB using MindsDB SQL editor. This can be also accomplished with APIs and Python SDK. Let’s list all the steps required to build an AI agent.1
Create a conversational model
Create a conversational model using the LangChain integration.
2
Create skills
Create one or more skills to be assigned to an agent.
Note that skills store data to be passed to an agent, so it is required to connect users’ data to MindsDB before creating skills.
3
Create an AI agent
Create an AI agent providing the conversational model and the set of skills.
4
Create a chatbot
Optionally, connect an agent to a chat interface to create a chatbot.
Step 1. Create a conversational model
Use theCREATE MODEL
statement below to create a conversational model. If required, adjust the parameters and prompts to fit your use case.
complete
using this command: