Skip to content

Commit f64d48d

Browse files
docs: fix grammar issues in slack.ipynb and telegram.ipynb (#31461)
fix grammar
1 parent 6cb3ea5 commit f64d48d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/docs/integrations/chat_loaders/slack.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"\n",
1717
"## 1. Create message dump\n",
1818
"\n",
19-
"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",
19+
"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",
2020
"\n",
2121
"We have an example in the LangChain repo."
2222
]
@@ -43,7 +43,7 @@
4343
"source": [
4444
"## 2. Create the Chat Loader\n",
4545
"\n",
46-
"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."
46+
"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."
4747
]
4848
},
4949
{

docs/docs/integrations/chat_loaders/telegram.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"This notebook shows how to use the Telegram chat loader. This class helps map exported Telegram conversations to LangChain chat messages.\n",
1111
"\n",
1212
"The process has three steps:\n",
13-
"1. Export the chat .txt file by copying chats from the Telegram app and pasting them in a file on your local computer\n",
13+
"1. Export the chat .txt file by copying chats from the Telegram app and pasting them in a file on your local computer\n",
1414
"2. Create the `TelegramChatLoader` with the file path pointed to the json file or directory of JSON files\n",
1515
"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",
1616
"\n",
@@ -92,7 +92,7 @@
9292
"source": [
9393
"## 2. Create the Chat Loader\n",
9494
"\n",
95-
"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."
95+
"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."
9696
]
9797
},
9898
{

0 commit comments

Comments
 (0)