Class OracleVectorStore

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

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

Integration of Oracle database 23ai as a Vector Store.

With the release 23ai (23.4), the Oracle database provides numerous features useful for artificial intelligence such as Vectors, Similarity search, Vector indexes, ONNX models...

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 (use IVF as of 23.4)
  • Exact and Approximate similarity search
  • Filter expression as SQL/JSON Path expression evaluation
Author:
Loïc Lefèvre, Christian Tzolov, Soby Chacko, Thomas Vitale