From 5a8909440bd42036decbc042a4e38263219ae2bf Mon Sep 17 00:00:00 2001 From: tianzedavid <168427849+tianzedavid@users.noreply.github.com> Date: Wed, 1 May 2024 09:10:42 +0800 Subject: [PATCH] docs: remove repetitive words (#21058) remove repetitive words Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> --- libs/community/langchain_community/retrievers/tfidf.py | 2 +- libs/community/langchain_community/utilities/github.py | 2 +- libs/community/langchain_community/vectorstores/pathway.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/community/langchain_community/retrievers/tfidf.py b/libs/community/langchain_community/retrievers/tfidf.py index f6a3b57307a..e7cfc7b9eef 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 410fdb494b7..de6cdaf97bb 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 cc178935bdc..a784ef2d61d 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