Deletes the AI knowledge base.
A promise that resolves when the deletion is complete.
Deletes a specific context by its ID.
Deletes multiple contexts.
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 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.
Adds or updates a single context.
Optional
file: FileAdds or updates multiple contexts.
Optional
files: File[]
A reference to an AI knowledge base.