Expand description
Vector store abstractions for semantic search and retrieval.
§Core Traits
VectorStoreIndex: Query a vector store for similar documents.InsertDocuments: Insert documents and their embeddings.VectorStoreIndexDyn: Type-erased version for dynamic contexts.
Use VectorSearchRequest to build queries. See request for filtering.
Types implementing VectorStoreIndex automatically implement Tool.
Re-exports§
pub use request::VectorSearchRequest;
Modules§
- builder
- in_
memory_ store - In-memory implementation of a vector store.
- lsh
- request
- Types for constructing vector search queries.
Structs§
- Vector
Store Output - The output of vector store queries invoked via
Tool
Enums§
- Index
Strategy - Index strategy for the super::InMemoryVectorStore
- Vector
Store Error - Errors from vector store operations.
Traits§
- Insert
Documents - Trait for inserting documents and embeddings into a vector store.
- Vector
Store Index - Trait for querying a vector store by similarity.
- Vector
Store Index Dyn - Type-erased
VectorStoreIndexfor dynamic dispatch.