- Large language models such as OpenAI and Writer.
- Vector databases such as ChromaDB and FAISS.
- Embedding models compatible with the Hugging Face sentence_transformers library.
Setup
MindsDB provides the RAG handler that enables you to use RAG methods for training models within MindsDB.AI Engine
Before creating a model, it is required to create an AI engine based on the provided handler.If you installed MindsDB locally, make sure to install all RAG dependencies by running
pip install .[rag]
or from the requirements.txt file.rag_engine
) should be used as a value for the engine
parameter in the USING
clause of the CREATE MODEL
statement.
AI Model
TheCREATE MODEL
statement is used to create, train, and deploy models within MindsDB.
Name | Description |
---|---|
llm_type | It defines which LLM is used. |
url | It is used to provide training data from a website. |
vector_store_folder_name | It is used to provide training data from a vector database. |