docs: rag tutorial small fixes (#22450)

This commit is contained in:
Isaac Francisco 2024-06-03 17:16:54 -07:00 committed by GitHub
parent b0f014666d
commit 25cf1a74d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -424,8 +424,7 @@
"`TextSplitter`: Object that splits a list of `Document`s into smaller\n",
"chunks. Subclass of `DocumentTransformer`s.\n",
"\n",
"- Explore [context-aware splitters](/docs/how_to#text-splitters), which keep the location (“context”) of each\n",
" split in the original `Document`\n",
"- Learn more about splitting text using different methods by reading the [how-to docs](/docs/how_to#text-splitters)\n",
"- [Code (py or js)](/docs/integrations/document_loaders/source_code)\n",
"- [Scientific papers](/docs/integrations/document_loaders/grobid)\n",
"- [Interface](https://api.python.langchain.com/en/latest/base/langchain_text_splitters.base.TextSplitter.html): API reference for the base interface.\n",
@ -577,7 +576,7 @@
" - `MultiQueryRetriever` [generates variants of the input\n",
" question](/docs/how_to/MultiQueryRetriever)\n",
" to improve retrieval hit rate.\n",
" - `MultiVectorRetriever` (diagram below) instead generates\n",
" - `MultiVectorRetriever` instead generates\n",
" [variants of the\n",
" embeddings](/docs/how_to/multi_vector),\n",
" also in order to improve retrieval hit rate.\n",