Expand description
Elasticsearch vector store integration for Synaptic.
This crate provides ElasticsearchVectorStore, an implementation of the
VectorStore trait backed by
Elasticsearch using its REST API
with dense_vector fields and kNN search.
§Example
use synaptic_elasticsearch::{ElasticsearchVectorStore, ElasticsearchConfig};
let config = ElasticsearchConfig::new("my_documents", 1536);
let store = ElasticsearchVectorStore::new(config);
store.ensure_index().await?;Structs§
- Document
- A document with content and metadata, used throughout the retrieval pipeline.
- Elasticsearch
Config - Configuration for connecting to an Elasticsearch cluster.
- Elasticsearch
Vector Store - A
VectorStoreimplementation backed by Elasticsearch.
Traits§
- Embeddings
- Trait for embedding text into vectors.
- Vector
Store - Trait for vector storage backends.