The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: fix grammar issues in slack.ipynb and telegram.ipynb (#31461)
Michael Lif64d48d50762
diff --git a/docs/docs/integrations/chat_loaders/slack.ipynb b/docs/docs/integrations/chat_loaders/slack.ipynbindex ed8e71f983..5ad272c64e 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.ipynbindex 5520518577..554b12a9c2 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."]},{