QVAC Logo

ragDeleteEmbeddings( )

Deletes document embeddings from the RAG vector database.

function ragDeleteEmbeddings(params): Promise<true>;

Parameters

NameTypeRequired?Description
paramsobjectThe parameters for deleting embeddings

params

FieldTypeRequired?DefaultDescription
idsstring[]-Array of document IDs to delete
modelIdstring-The identifier of the embedding model (must match workspace model)
workspacestring-Optional workspace for isolated storage

Returns

Promise<true> — Boolean indicating success

Throws

When the response type is invalid or when the operation fails

On this page