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 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[]Upserts the AI knowledge base.
A reference to an AI knowledge base.