Deletes the AI knowledge base.
A promise that resolves when the deletion is complete.
Deletes a specific context by its ID.
Deletes multiple contexts.
Gets the download URL for the requested context.
Object with temporary URL to download the requested context. Will be undefined if file is unavailable.
Retrieves a specific context by its ID.
Returns the AI knowledge base.
A promise that resolves to the AI knowledge base or undefined if not found.
Lists the ids for all contexts associated with the knowledge base.
Lists all contexts associated with the knowledge base.
Returns all AI knowledge bases.
A promise that resolves to an array of AI Knowledge Bases
Performs a semantic search in the knowledge base and returns chunks from the different contexts.
Performs a semantic search in the knowledge base and returns contexts with reasoning.
Performs a semantic search in the knowledge base and returns contexts with reasoning.
Adds or updates a single context.
Optionalfile: FileAdds or updates multiple contexts.
Optionalfiles: File[]Upserts the AI knowledge base.
A reference to an AI knowledge base.