Minor Grammar Fixes in Docs and Comments (#6536)

Just some grammar fixes: I found "retriver" instead of "retriever" in
several comments across the documentation and in the comments. I fixed
it.


Co-authored-by: andrey.vedishchev <andrey.vedishchev@rgigroup.com>
Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
This commit is contained in:
Andrey E. Vedishchev 2023-06-21 18:53:31 +02:00 committed by GitHub
parent 57cc3d1d3d
commit a2a0715bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 5 deletions

View File

@ -54,7 +54,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Create a vectorstore retriver from the loader\n",
"# Create a vectorstore retriever from the loader\n",
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
"\n",
"index = VectorstoreIndexCreator().from_loaders([iugu_loader])\n",

View File

@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -28,6 +29,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -79,7 +81,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Create a vectorstore retriver from the loader\n",
"# Create a vectorstore retriever from the loader\n",
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
"\n",
"index = VectorstoreIndexCreator().from_loaders([modern_treasury_loader])\n",

View File

@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -26,6 +27,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -69,7 +71,7 @@
}
],
"source": [
"# Create a vectorstore retriver from the loader\n",
"# Create a vectorstore retriever from the loader\n",
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
"\n",
"index = VectorstoreIndexCreator().from_loaders([spreedly_loader])\n",

View File

@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -25,6 +26,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
@ -62,7 +64,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Create a vectorstore retriver from the loader\n",
"# Create a vectorstore retriever from the loader\n",
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
"\n",
"index = VectorstoreIndexCreator().from_loaders([stripe_loader])\n",

View File

@ -77,7 +77,7 @@ class ElasticSearchBM25Retriever(BaseRetriever):
texts: Iterable[str],
refresh_indices: bool = True,
) -> List[str]:
"""Run more texts through the embeddings and add to the retriver.
"""Run more texts through the embeddings and add to the retriever.
Args:
texts: Iterable of strings to add to the retriever.