Skip to main content

Interface: DeleteOptions

Defined in: packages/agentos/src/rag/IVectorStore.ts:204

Options for a vector store delete operation.

DeleteOptions

Properties

customParams?

optional customParams: Record<string, any>

Defined in: packages/agentos/src/rag/IVectorStore.ts:207

Provider-specific parameters for the delete operation.


deleteAll?

optional deleteAll: boolean

Defined in: packages/agentos/src/rag/IVectorStore.ts:206

If true (and ids and filter are empty), attempt to delete all documents in the specified collection. This is a destructive operation and should be used with extreme caution.


filter?

optional filter: MetadataFilter

Defined in: packages/agentos/src/rag/IVectorStore.ts:205

Optional: Delete documents matching this metadata filter. If ids are also provided, the behavior (AND/OR) might be store-specific or could be an error. Typically, deletion is by IDs OR by filter.