diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag.jpg b/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag.jpg new file mode 100644 index 000000000..1bdaee0b2 Binary files /dev/null and b/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag.jpg differ diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag2.jpg b/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag2.jpg deleted file mode 100644 index 316cefc6a..000000000 Binary files a/spring-ai-docs/src/main/antora/modules/ROOT/images/spring-ai-rag2.jpg and /dev/null differ diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/concepts.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/concepts.adoc index af5be6fd8..3c4382b91 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/concepts.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/concepts.adoc @@ -189,7 +189,7 @@ The next phase in RAG is processing user input. When a user's question is to be answered by an AI model, the question and all the "`similar`" document pieces are placed into the prompt that is sent to the AI model. This is the reason to use a vector database. It is very good at finding similar content. -image::spring-ai-rag2.jpg[Spring AI RAG, width=1000, align="center"] +image::spring-ai-rag.jpg[Spring AI RAG, width=1000, align="center"] There are several concepts that are used in implementing RAG. The concepts map onto classes in Spring AI: