Skip to content

The agent engineering platform.

docs: remove repetitive words (#21058)

tianzedavid5a8909440bd4
diff --git a/libs/community/langchain_community/retrievers/tfidf.py b/libs/community/langchain_community/retrievers/tfidf.py
index f6a3b57307..e7cfc7b9ee 100644
--- a/libs/community/langchain_community/retrievers/tfidf.py
+++ b/libs/community/langchain_community/retrievers/tfidf.py
@@ -141,7 +141,7 @@ class TFIDFRetriever(BaseRetriever):
"results in execution of arbitrary code on your machine."
"You will need to set `allow_dangerous_deserialization` to `True` to "
"load this retriever. If you do this, make sure you trust the source "
- "of the file, and you are responsible for validating the the file "
+ "of the file, and you are responsible for validating the file "
"came from a trusted source."
)
diff --git a/libs/community/langchain_community/utilities/github.py b/libs/community/langchain_community/utilities/github.py
index 410fdb494b..de6cdaf97b 100644
--- a/libs/community/langchain_community/utilities/github.py
+++ b/libs/community/langchain_community/utilities/github.py
@@ -315,7 +315,7 @@ class GitHubAPIWrapper(BaseModel):
the branch the bot uses to make changes.
Returns:
- str: A plaintext list containing the the filepaths in the branch.
+ str: A plaintext list containing the filepaths in the branch.
"""
files: List[str] = []
try:
diff --git a/libs/community/langchain_community/vectorstores/pathway.py b/libs/community/langchain_community/vectorstores/pathway.py
index cc178935bd..a784ef2d61 100644
--- a/libs/community/langchain_community/vectorstores/pathway.py
+++ b/libs/community/langchain_community/vectorstores/pathway.py
@@ -102,7 +102,7 @@ class _VectorStoreClient:
filepath_globpattern: Optional[str] = None,
) -> list:
"""
- Fetch information on documents in the the vector store.
+ Fetch information on documents in the vector store.
Args:
metadata_filter: optional string representing the metadata filtering query