LLMLabs

Process Documents from LLM Lab

post

Add or remove documents from LLM Labs knowledge base. The operation will be added to the queue, and the endpoint returns status of the operation.

Path parameters
knowledge_base_idstringRequired

The unique identifier of the knowledge base

Body

Request model for document processing operations (insertion and deletion).

This model contains a batch of documents to be inserted or deleted from the knowledge base.

idstringRequired

Vector store identifier for this batch operation

Responses
post
/{knowledge_base_id}/documents

Verify LLM Labs Vector Store

post

Endpoint to provide information to the Knowledge Base if it is assigned to a vector store. This endpoint will be called when a new vector store is created or an existing vector store is updated with a new base URL, username, or password.

Path parameters
knowledge_base_idstringRequired

The unique identifier of the knowledge base

Header parameters
authorizationstringOptional

The authorization header for authentication

Body

Request model for document verification in the vector store.

This model is used to verify a document's existence and return its status.

idstringRequired

Vector store identifier to verify

messagestring · enumRequired

Message indicating the context of the verification

Possible values:
Responses
post
/{knowledge_base_id}/verify

Delete vector store

delete

Endpoint to delete a Vector Store. This endpoint will be invoked when a vector store is being deleted.

Path parameters
knowledge_base_idstringRequired

The unique identifier of the knowledge base

vector_store_idstringRequired

The unique identifier of the vector store to delete

Header parameters
authorizationstringRequired

The authorization header for authentication

Responses
delete
/{knowledge_base_id}/vector-stores/{vector_store_id}

Last updated