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.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.Utility class for JSON processing.ConvertsFilter.Expression
into Milvus metadata filter expression format.Configuration for the Milvus vector store.ConvertsFilter.Expression
into MongoDB Atlas metadata filter expression format.An enum to configure the distance function used in the Neo4j vector index.Configuration for the Neo4j vector store.Integration of Oracle database 23ai as a Vector Store.ConvertsFilter.Expression
into PgVector metadata filter expression format.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.ConvertsFilter.Expression
into Typesense metadata filter expression format.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