Spring AI RAG 2.0.0-RC2 API

This document is the API specification for Spring AI

For further API reference and developer documentation, see the Spring AI reference documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Packages
Package
Description
This package contains the core interfaces and classes supporting Retrieval Augmented Generation flows.
 
RAG Module: Generation.
RAG Sub-Module: Query Augmentation.
RAG Module: Post-Retrieval.
 
RAG Module: Pre-Retrieval.
RAG Sub-Module: Query Expansion.
RAG Sub-Module: Query Transformation.
RAG Sub-Module: Document Join.
RAG Sub-Module: Document Search.