docs improvments

This commit is contained in:
Christian Tzolov
2024-06-03 22:18:24 +02:00
parent 7c86fc7c89
commit 1758d561f6
3 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 383 KiB

View File

@@ -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: