From 35896faab725a734bd1e3c9e495983bbc9f107e7 Mon Sep 17 00:00:00 2001 From: Phill Zarfos Date: Tue, 26 Dec 2023 14:22:59 -0500 Subject: [PATCH] community: correct spelling mistakes of "Suffle" and "reporoducibility" (#15172) - **Description:** Correct spelling mistakes of "Suffle" and "reporoducibility" in `DirectoryLoader` class - **Issue:** N/A - **Dependencies:** N/A - **Twitter handle:** N/A --- .../langchain_community/document_loaders/directory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/community/langchain_community/document_loaders/directory.py b/libs/community/langchain_community/document_loaders/directory.py index da51770d09..66f2230119 100644 --- a/libs/community/langchain_community/document_loaders/directory.py +++ b/libs/community/langchain_community/document_loaders/directory.py @@ -62,8 +62,8 @@ class DirectoryLoader(BaseLoader): max_concurrency: The maximum number of threads to use. Defaults to 4. sample_size: The maximum number of files you would like to load from the directory. - randomize_sample: Suffle the files to get a random sample. - sample_seed: set the seed of the random shuffle for reporoducibility. + randomize_sample: Shuffle the files to get a random sample. + sample_seed: set the seed of the random shuffle for reproducibility. """ if loader_kwargs is None: loader_kwargs = {}