AI Agents
Knowledge Bases
Description
With MindsDB, you can create and deploy AI agents that comprise AI models and customizable skills such as knowledge bases and text-to-SQL.
Learn more about AI Agents here.
There are two types of skills available in MindsDB:
- Text2SQL skill translates users’ questions into SQL queries and fetches relevant information from data sources assigned to this skill.
- Knowledge Bases store data from databases, files, or webpages, and use different retrieval methods to fetch relevant information and present it as answers.
Syntax
To feed an agent with data from different sources, use the knowledge_base skills.
Here is how to create a knowledge base:
Here is how to insert data into a knowledge base:
Here is how to query data from a knowledge base using specified keywords:
Here is how to list all available knowledge bases:
Here is how to get a knowledge base by name:
Here is how to drop a knowledge base: