Spring AI RAG
Spring AI provides support for RAG.
Embedding Model
Spring AI provides EmbeddingModel to embed text. EmbeddingModel extends from Model. See Embedding Model for the underlying concept and how to choose a model; this page covers the Spring AI API for calling one.
VectorStore
VectorStore in the spring-ai-vector-store module is the interface to manage and query documents in a vector database.
Vector Stores
1 item
Modular RAG
The spring-ai-rag module in Spring AI provides support for modular RAG. This module defines common interfaces for different phases of modular RAG. It also provides RetrievalAugmentationAdvisor as the entry point of using modular RAG.