Skip to main content

Interface: UpsertOptions

Defined in: packages/agentos/src/core/vector-store/IVectorStore.ts:193

Options for a vector store upsert (insert or update) operation.

Interface

UpsertOptions

Properties

batchSize?

optional batchSize: number

Defined in: packages/agentos/src/core/vector-store/IVectorStore.ts:194

Preferred batch size for upserting multiple documents, if the provider supports batching.


customParams?

optional customParams: Record<string, any>

Defined in: packages/agentos/src/core/vector-store/IVectorStore.ts:196

Provider-specific parameters for the upsert operation.


overwrite?

optional overwrite: boolean

Defined in: packages/agentos/src/core/vector-store/IVectorStore.ts:195

Whether to overwrite existing documents with the same ID.