From 3df0f0392835b9fb05cd9e75baf4dd7dc5995272 Mon Sep 17 00:00:00 2001 From: Sanyam Jain Date: Mon, 23 Oct 2023 05:46:30 +0530 Subject: [PATCH] Improved readability of Docs (#12136) Replace this entire comment with: - **Description:** a description of the change, improved grammar and readability of DOCS @hwchase17 --- README.md | 2 +- .../data_connection/document_loaders/file_directory.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 036b88ba79e..c8e77477bba 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ Memory refers to persisting state between calls of a chain/agent. LangChain prov **🧐 Evaluation:** -[BETA] Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this. +[BETA] Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is by using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this. For more information on these concepts, please see our [full documentation](https://python.langchain.com). diff --git a/docs/docs/modules/data_connection/document_loaders/file_directory.mdx b/docs/docs/modules/data_connection/document_loaders/file_directory.mdx index 21dbf4f3ae3..12f49278fa2 100644 --- a/docs/docs/modules/data_connection/document_loaders/file_directory.mdx +++ b/docs/docs/modules/data_connection/document_loaders/file_directory.mdx @@ -127,9 +127,9 @@ len(docs) ## Auto-detect file encodings with TextLoader -In this example we will see some strategies that can be useful when loading a big list of arbitrary files from a directory using the `TextLoader` class. +In this example we will see some strategies that can be useful when loading a large list of arbitrary files from a directory using the `TextLoader` class. -First to illustrate the problem, let's try to load multiple text with arbitrary encodings. +First to illustrate the problem, let's try to load multiple texts with arbitrary encodings. ```python