The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
DOCS: update rag use case images (#13615)
Bagatur4eec47b19128
diff --git a/docs/docs/use_cases/question_answering/index.ipynb b/docs/docs/use_cases/question_answering/index.ipynbindex d6315d2b43..f2306b0df8 100644--- a/docs/docs/use_cases/question_answering/index.ipynb+++ b/docs/docs/use_cases/question_answering/index.ipynb@@ -57,11 +57,14 @@"1. **Load**: First we need to load our data. We'll use [DocumentLoaders](/docs/modules/data_connection/document_loaders/) for this.\n","2. **Split**: [Text splitters](/docs/modules/data_connection/document_transformers/) break large `Documents` into smaller chunks. This is useful both for indexing data and for passing it in to a model, since large chunks are harder to search over and won't in a model's finite context window.\n","3. **Store**: We need somewhere to store and index our splits, so that they can later be searched over. This is often done using a [VectorStore](/docs/modules/data_connection/vectorstores/) and [Embeddings](/docs/modules/data_connection/text_embedding/) model.\n",+ "\n",+ "\n",+ "\n","#### Retrieval and generation\n","4. **Retrieve**: Given a user input, relevant splits are retrieved from storage using a [Retriever](/docs/modules/data_connection/retrievers/).\n","5. **Generate**: A [ChatModel](/docs/modules/model_io/chat_models) / [LLM](/docs/modules/model_io/llms/) produces an answer using a prompt that includes the question and the retrieved data\n","\n",- ""+ ""]},{diff --git a/docs/static/img/qa_flow.jpeg b/docs/static/img/qa_flow.jpegdeleted file mode 100644index 301099c490..0000000000Binary files a/docs/static/img/qa_flow.jpeg and /dev/null differdiff --git a/docs/static/img/rag_indexing.png b/docs/static/img/rag_indexing.pngnew file mode 100644index 0000000000..f12374f1b7Binary files /dev/null and b/docs/static/img/rag_indexing.png differdiff --git a/docs/static/img/rag_retrieval_generation.png b/docs/static/img/rag_retrieval_generation.pngnew file mode 100644index 0000000000..1cd2956f78Binary files /dev/null and b/docs/static/img/rag_retrieval_generation.png differ