Skip to content

The agent engineering platform.

community: correct spelling mistakes of "Suffle" and "reporoducibility" (#15172)

Phill Zarfos35896faab725
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 = {}