Class CoherenceVectorStore

java.lang.Object
org.springframework.ai.vectorstore.observation.AbstractObservationVectorStore
org.springframework.ai.vectorstore.coherence.CoherenceVectorStore
All Implemented Interfaces:
Consumer<List<Document>>, DocumentWriter, VectorStore, VectorStoreRetriever, org.springframework.beans.factory.InitializingBean

public class CoherenceVectorStore extends AbstractObservationVectorStore implements org.springframework.beans.factory.InitializingBean

Integration of Coherence Coherence 24.09+ as a Vector Store.

Coherence Coherence 24.09 (or later) provides numerous features useful for artificial intelligence such as Vectors, Similarity search, HNSW indexes, and binary quantization.

This Spring AI Vector store supports the following features:

  • Vectors with unspecified or fixed dimensions
  • Distance type for similarity search (note that similarity threshold can be used only with distance type COSINE and DOT when ingested vectors are normalized, see forcedNormalization)
  • Vector indexes (HNSW or Binary Quantization)
  • Exact and Approximate similarity search
  • Filter expression evaluation
Since:
1.0.0
Author:
Aleks Seovic, Thomas Vitale