From f64d48d50762be3342d93bb70e29d21521d8a7dd Mon Sep 17 00:00:00 2001 From: Michael Li Date: Tue, 3 Jun 2025 02:45:33 +1000 Subject: [PATCH] docs: fix grammar issues in slack.ipynb and telegram.ipynb (#31461) fix grammar --- docs/docs/integrations/chat_loaders/slack.ipynb | 4 ++-- docs/docs/integrations/chat_loaders/telegram.ipynb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/integrations/chat_loaders/slack.ipynb b/docs/docs/integrations/chat_loaders/slack.ipynb index ed8e71f9837..5ad272c64ea 100644 --- a/docs/docs/integrations/chat_loaders/slack.ipynb +++ b/docs/docs/integrations/chat_loaders/slack.ipynb @@ -16,7 +16,7 @@ "\n", "## 1. Create message dump\n", "\n", - "Currently (2023/08/23) this loader best supports a zip directory of files in the format generated by exporting your a direct message conversation from Slack. Follow up-to-date instructions from slack on how to do so.\n", + "Currently (2023/08/23), this loader best supports a zip directory of files in the format generated by exporting your a direct message conversation from Slack. Follow the up-to-date instructions from slack on how to do so.\n", "\n", "We have an example in the LangChain repo." ] @@ -43,7 +43,7 @@ "source": [ "## 2. Create the Chat Loader\n", "\n", - "Provide the loader with the file path to the zip directory. You can optionally specify the user id that maps to an ai message as well an configure whether to merge message runs." + "Provide the loader with the file path to the zip directory. You can optionally specify the user id that maps to an ai message as well as configure whether to merge message runs." ] }, { diff --git a/docs/docs/integrations/chat_loaders/telegram.ipynb b/docs/docs/integrations/chat_loaders/telegram.ipynb index 55205185778..554b12a9c22 100644 --- a/docs/docs/integrations/chat_loaders/telegram.ipynb +++ b/docs/docs/integrations/chat_loaders/telegram.ipynb @@ -10,7 +10,7 @@ "This notebook shows how to use the Telegram chat loader. This class helps map exported Telegram conversations to LangChain chat messages.\n", "\n", "The process has three steps:\n", - "1. Export the chat .txt file by copying chats from the Telegram app and pasting them in a file on your local computer\n", + "1. Export the chat .txt file by copying chats from the Telegram app and pasting them in a file on your local computer\n", "2. Create the `TelegramChatLoader` with the file path pointed to the json file or directory of JSON files\n", "3. Call `loader.load()` (or `loader.lazy_load()`) to perform the conversion. Optionally use `merge_chat_runs` to combine message from the same sender in sequence, and/or `map_ai_messages` to convert messages from the specified sender to the \"AIMessage\" class.\n", "\n", @@ -92,7 +92,7 @@ "source": [ "## 2. Create the Chat Loader\n", "\n", - "All that's required is the file path. You can optionally specify the user name that maps to an ai message as well an configure whether to merge message runs." + "All that's required is the file path. You can optionally specify the user name that maps to an ai message as well as configure whether to merge message runs." ] }, {