Insert Into Knowledge Base
PUT /api/projects/{project_name}/knowledge_bases/{knowledge_base_name}
This API endpoint inserts data into a knowledge base using the PUT
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
.
Defines the knowledge base name.
Body
Defines the SQL query used to fetch data to be inserted into the knowledge base.
Defines raw data to be inserted into the knowledge base.
Defines the list of files to be inserted into the knowledge base.
Defines the list of URLs to be crawled and their content inserted into the knowledge base. For example, "urls": ["https://docs.mindsdb.com/mindsdb_sql/knowledge-bases"]
.
Defines the limit of pages to be crawled. For example, "limit": 10
.
Defines the crawl depth limit for URLs. For example, "crawl_depth": 2
.
Defines the list of domains to be filtered. For example, "filters": { "allowed_domains": ["example.com"] }
.
Learn more about the web crawler here.
Response
None.