Skip to main content
Adds new vectors to the index or updates existing ones. Supports both dictionary format and separate arrays for IDs and vectors.

Parameters

Option 1: Dictionary Format

Where each dictionary can contain:
The contents field accepts both strings and bytes. All contents are encoded to bytes and encrypted before storage, and will be returned as bytes when retrieved with get().

Option 2: Separate Arrays

Returns

None

Example Usage

Dictionary Format

Separate Arrays