Skip to main content

Module vector

Module vector 

Source
Expand description

Vector indexes for caller-owned semantic retrieval.

This capability is independent from MemoryStore: callers own document admission, embedding generation, lifecycle, and result fusion. Caller-owned vector indexing primitives.

The module deliberately does not generate embeddings or infer semantic equivalence. A caller supplies admitted vectors and owns their lifecycle. The in-memory backend is dependency-free; the sqlite feature adds local durability and cross-process revision compare-and-swap.

Structs§

InMemoryVectorIndex
Exact, session-ephemeral vector index backed by immutable partition blocks.
VectorIndexChangeToken
Exact revision evidence scoped to one vector-index history.
VectorIndexDescriptor
Immutable vector shape and logical resource budgets.
VectorIndexObservation
One self-consistent observation of a vector index revision.
VectorIndexStatus
Current logical size and published revision of an index.
VectorRecord
One caller-owned vector record.
VectorRevision
Monotonic revision of one vector index.
VectorSearchHit
One ranked vector match.
VectorSearchRequest
A bounded exact-vector query.
VectorSearchResult
Ranked matches and the exact immutable revision that produced them.

Enums§

VectorBudgetResource
Resource whose configured budget rejected a mutation.
VectorIndexError
Typed failures from vector admission, mutation, and search.
VectorMetric
Similarity function used by an index.
VectorMutationConsistency
Strongest mutation ordering contract exposed by one vector backend.
VectorNormalization
Vector transformation applied at admission and query time.

Constants§

VECTOR_INDEX_CHANGE_TOKEN_PROFILE_V1
Stable profile for exact vector-index history tokens.

Traits§

VectorIndex
A bounded vector index whose content and lifecycle are owned by its caller.

Type Aliases§

VectorResult