Skip to content

The agent engineering platform.

Minor Grammar Fixes in Docs and Comments (#6536)

Andrey E. Vedishcheva2a0715bd43b
diff --git a/docs/extras/modules/data_connection/document_loaders/integrations/iugu.ipynb b/docs/extras/modules/data_connection/document_loaders/integrations/iugu.ipynb
index 3fef7fbb7d..8c7ece338f 100644
--- a/docs/extras/modules/data_connection/document_loaders/integrations/iugu.ipynb
+++ b/docs/extras/modules/data_connection/document_loaders/integrations/iugu.ipynb
@@ -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",
diff --git a/docs/extras/modules/data_connection/document_loaders/integrations/modern_treasury.ipynb b/docs/extras/modules/data_connection/document_loaders/integrations/modern_treasury.ipynb
index 425cde7301..a10ded52f5 100644
--- a/docs/extras/modules/data_connection/document_loaders/integrations/modern_treasury.ipynb
+++ b/docs/extras/modules/data_connection/document_loaders/integrations/modern_treasury.ipynb
@@ -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",
diff --git a/docs/extras/modules/data_connection/document_loaders/integrations/spreedly.ipynb b/docs/extras/modules/data_connection/document_loaders/integrations/spreedly.ipynb
index 69ec6f36e6..602d839aed 100644
--- a/docs/extras/modules/data_connection/document_loaders/integrations/spreedly.ipynb
+++ b/docs/extras/modules/data_connection/document_loaders/integrations/spreedly.ipynb
@@ -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",
diff --git a/docs/extras/modules/data_connection/document_loaders/integrations/stripe.ipynb b/docs/extras/modules/data_connection/document_loaders/integrations/stripe.ipynb
index d8508a8492..0188dd90a9 100644
--- a/docs/extras/modules/data_connection/document_loaders/integrations/stripe.ipynb
+++ b/docs/extras/modules/data_connection/document_loaders/integrations/stripe.ipynb
@@ -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",
diff --git a/langchain/retrievers/elastic_search_bm25.py b/langchain/retrievers/elastic_search_bm25.py
index 7e319d7370..3fe61aa589 100644
--- a/langchain/retrievers/elastic_search_bm25.py
+++ b/langchain/retrievers/elastic_search_bm25.py
@@ -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.