Create Knowledge Base
POST /api/projects/{project_name}/knowledge_bases
This API endpoint creates a knowledge base using the POST
method.
Learn more about knowledge bases following this doc page.
Path Parameters
Defines the project where the knowledge bases are located. Note that the default project name is mindsdb
.
Body
Name of the knowledge base.
Underlying vector database that stores the embeddings.
Defines the embedding model used to embed data in vector representation.
Defines the reranking model used to rerank the search results by relevance.
Defines the columns that store content to be embedded.
Defines the columns that are considered metadata.
Defines the column that uniquely identifies each row from the data inserted into the knowledge base.
Response
Unique identifier for the knowledge base.
The name assigned to the knowledge base.
The ID of the project where the knowledge base resides.
The vector store used for storing vector embeddings.
The name of the collection or table within the vector database.
Timestamp indicating when the knowledge base was last updated.
Timestamp indicating when the knowledge base was created.
Optional field for linking specific queries to this knowledge base.
The embedding model used to convert content into vector representations.
Optional model used to rerank search results based on relevance.
Optional list of columns used for metadata-based filtering or enrichment.
Optional list of columns treated as the main content for embedding and retrieval.
The name of the column that uniquely identifies each content row.
A nested object that contains additional configuration parameters.
The name of the embedding model associated with this knowledge base at creation time.