Add rag module: Spring AI 2.0 RAG with pgvector, chunking, reranking and a faithfulness check
Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B38FGKKam5SCGgwgduVAh3
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# The pipeline as Spring beans (the shipped configuration, fake models)
|
||||
|
||||
stage / role bean name actual class
|
||||
DocumentTransformer chunker TokenTextSplitter
|
||||
EmbeddingModel embeddingModel HashingEmbeddingModel
|
||||
VectorStore vectorStore PgVectorStore
|
||||
RetrievalAugmentationAdvisor retrievalAdvisor RetrievalAugmentationAdvisor
|
||||
LlmReranker reranker LlmReranker
|
||||
ChatModel chatModel FakeChatModel
|
||||
ChatClient ragChatClient DefaultChatClient
|
||||
FactCheckingEvaluator factChecker FactCheckingEvaluator
|
||||
IngestionService ingestionService IngestionService
|
||||
RagQueryService ragQueryService RagQueryService
|
||||
Reference in New Issue
Block a user