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:
Claude
2026-09-21 19:09:05 +00:00
commit 1d4625a1c2
62 changed files with 3715 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# spring.ai.* keys in application.yml against the jars' configuration metadata
property names in the jars' metadata: 1528
--- keys in the shipped application.yml ---
spring.ai.openai.api-key current
spring.ai.openai.chat.model current
spring.ai.openai.chat.temperature current
spring.ai.openai.embedding.model current
spring.ai.vectorstore.pgvector.dimensions current
spring.ai.vectorstore.pgvector.distance-type current
spring.ai.vectorstore.pgvector.index-type current
spring.ai.vectorstore.pgvector.initialize-schema current
spring.ai.vectorstore.pgvector.schema-name current
spring.ai.vectorstore.pgvector.table-name current
--- keys written the 1.x way ---
spring.ai.openai.chat.options.model DEPRECATED, use spring.ai.openai.chat.model
spring.ai.openai.chat.options.temperature DEPRECATED, use spring.ai.openai.chat.temperature
spring.ai.openai.embedding.options.model DEPRECATED, use spring.ai.openai.embedding.model
spring.ai.openai.chat.optoins.model UNKNOWN