Package org.springframework.ai.vectorstore
package org.springframework.ai.vectorstore
-
ClassDescriptionThe CassandraVectorStore is for managing and querying vector data in an Apache Cassandra db.Indexes are automatically created with COSINE.Configuration for the Cassandra vector store.Given a string document id, return the value for each primary key column.Given a list of primary key column values, return the document id.Converts
Filter.Expression
into Chroma metadata filter expression format.ChromaVectorStore
is a concrete implementation of theVectorStore
interface.Converts Spring AIFilter.Expression
into CoherenceFilter
.Integration of Coherence Coherence 24.09+ as a Vector Store.Cosmos DB implementation.Configuration properties for a CosmosDB vector store.ElasticsearchAiSearchFilterExpressionConverter is a class that converts Filter.Expression objects into Elasticsearch query string representation.The ElasticsearchVectorStore class implements the VectorStore interface and provides functionality for managing and querying documents in Elasticsearch.Provided Elasticsearch vector option configuration.A VectorStore implementation backed by GemFire.The SAP HANA Cloud vector engine offers multiple use cases in AI scenarios.TheHanaCloudVectorStoreConfig
class represents the configuration for the HanaCloudVectorStore.TheHanaVectorEntity
is an abstract class that represents a mapped superclass for entities that have a vector representation stored in a HANA vector repository.HanaVectorRepository<T extends HanaVectorEntity>TheHanaVectorRepository
interface provides methods for interacting with a HANA vector repository, which allows storing and querying vector embeddings.ConvertsFilter.Expression
into Milvus metadata filter expression format.Milvus based implementation of theVectorStore
.Configuration for the Milvus vector store.ConvertsFilter.Expression
into MongoDB Atlas metadata filter expression format.AVectorStore
implementation that uses MongoDB Atlas for storing andA vector store implementation that stores and retrieves vectors in a Neo4j database.An enum to configure the distance function used in the Neo4j vector index.Configuration for the Neo4j vector store.A FilterExpressionConverter implementation for OpenSearch AI search filter expressions.An ObservationVectorStore implementation that stores vectors in OpenSearch.Integration of Oracle database 23ai as a Vector Store.ConvertsFilter.Expression
into PgVector metadata filter expression format.Validates the schema of a PostgreSQL table used as a PGVectorStore.Uses the "vector_store" table to store the Spring AI vector data.Defaults to CosineDistance.By default, pgvector performs exact nearest neighbor search, which provides perfect recall.A VectorStore implementation backed by Pinecone, a cloud-based vector database.Configuration class for the PineconeVectorStore.ConvertsFilter.Expression
into Redis search filter expression format.The RedisVectorStore is for managing and querying vector data in a Redis database.Configuration for the Redis vector store.Similarity search request builder.https://www.elastic.co/guide/en/elasticsearch/reference/master/dense-vector.html max_inner_product is currently not supported because the distance value is not normalized and would not comply with the requirement of being between 0 and 1SimpleVectorStore is a simple implementation of the VectorStore interface.Converts aFilter
into a JSON Path expression.ConvertsFilter.Expression
into Typesense metadata filter expression format.A ObservationVectorStore implementation that uses Typesense as the underlying storage.TheVectorStore
interface defines the operations for managing and querying documents in a vector database.ConvertsFilter.Expression
into Weaviate metadata filter expression format.A VectorStore implementation backed by Weaviate vector database.Configuration class for the WeaviateVectorStore.https://weaviate.io/developers/weaviate/concepts/replication-architecture/consistency#tunable-consistency-strategies