mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 23:00:00 +00:00
community:update telegram notebook (#18569)
**Description:** modified the user_name to username to conform with the expected inputs to TelegramChatApiLoader **Issue:** Current code fails in langchain-community 0.0.24 <loader = TelegramChatApiLoader( chat_entity="<CHAT_URL>", # recommended to use Entity here api_hash="<API HASH >", api_id="<API_ID>", user_name="", # needed only for caching the session. )>
This commit is contained in:
parent
fc35262356
commit
96cd50938a
@ -80,7 +80,7 @@
|
|||||||
" chat_entity=\"<CHAT_URL>\", # recommended to use Entity here\n",
|
" chat_entity=\"<CHAT_URL>\", # recommended to use Entity here\n",
|
||||||
" api_hash=\"<API HASH >\",\n",
|
" api_hash=\"<API HASH >\",\n",
|
||||||
" api_id=\"<API_ID>\",\n",
|
" api_id=\"<API_ID>\",\n",
|
||||||
" user_name=\"\", # needed only for caching the session.\n",
|
" username=\"\", # needed only for caching the session.\n",
|
||||||
")"
|
")"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user