VectorItem
Represents a single vector with its associated data.Fields
Contents is a generated nullable wrapper from the internal OpenAPI models — the type is not re-exported on the public package, so most Go code leaves the field zero-valued and relies on JSON round-tripping. If you need to set it from Go, use the generated helpers on the underlying internal.VectorItem: item.SetContents(internal.Contents{String: &s}) or item.SetContents(internal.Contents{Bytes: &b}). Contents read back from Get / Query responses are accessible via the same nullable accessors.CreateIndexParams
Parameters for creating a new encrypted DiskIVF index.Fields
v0.17 introduces a single DiskIVF index type. The polymorphic
IndexIVFFlat / IndexIVFPQ / IndexIVFSQ constructors and the IndexModel interface have been removed.Response Types
QueryResponse
Response from similarity search operations.QueryResultItem
A single result from a similarity search query.GetResponse
Response from Get operations containing retrieved vectors.ListIDsResponse
Response from ListIDs operations.Fields
TrainParams
Parameters for training an encrypted vector index.Fields
UpsertInput Interface
Sealed interface implemented by types that can be passed toUpsert.
VectorItems, BinaryUpsertParams
QueryInput Interface
Sealed interface implemented by types that can be passed toQuery.
QueryParams, BinaryQueryParams
VectorItems
A slice ofVectorItem that implements UpsertInput for type-safe upsert operations.
BinaryUpsertParams
Parameters for binary format vector upserts. More efficient thanVectorItems for large batches.
Fields
BinaryQueryParams
Parameters for binary format similarity search. More efficient thanQueryParams for large batch queries.
Fields
QueryParams
Parameters for similarity search queries. Supports single vector, batch, and content-based queries.Fields
Constants
Error Variables
The package exports sentinel errors that callers can match against witherrors.Is: