mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-14 07:07:34 +00:00
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:
parent
57cc3d1d3d
commit
a2a0715bd4
@ -54,7 +54,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"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",
|
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
|
||||||
"\n",
|
"\n",
|
||||||
"index = VectorstoreIndexCreator().from_loaders([iugu_loader])\n",
|
"index = VectorstoreIndexCreator().from_loaders([iugu_loader])\n",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -28,6 +29,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -79,7 +81,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"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",
|
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
|
||||||
"\n",
|
"\n",
|
||||||
"index = VectorstoreIndexCreator().from_loaders([modern_treasury_loader])\n",
|
"index = VectorstoreIndexCreator().from_loaders([modern_treasury_loader])\n",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -26,6 +27,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -69,7 +71,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"source": [
|
"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",
|
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
|
||||||
"\n",
|
"\n",
|
||||||
"index = VectorstoreIndexCreator().from_loaders([spreedly_loader])\n",
|
"index = VectorstoreIndexCreator().from_loaders([spreedly_loader])\n",
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -25,6 +26,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
@ -62,7 +64,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"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",
|
"# see https://python.langchain.com/en/latest/modules/data_connection/getting_started.html for more details\n",
|
||||||
"\n",
|
"\n",
|
||||||
"index = VectorstoreIndexCreator().from_loaders([stripe_loader])\n",
|
"index = VectorstoreIndexCreator().from_loaders([stripe_loader])\n",
|
||||||
|
@ -77,7 +77,7 @@ class ElasticSearchBM25Retriever(BaseRetriever):
|
|||||||
texts: Iterable[str],
|
texts: Iterable[str],
|
||||||
refresh_indices: bool = True,
|
refresh_indices: bool = True,
|
||||||
) -> List[str]:
|
) -> 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:
|
Args:
|
||||||
texts: Iterable of strings to add to the retriever.
|
texts: Iterable of strings to add to the retriever.
|
||||||
|
Loading…
Reference in New Issue
Block a user