mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
00c6ec8a2d
# Fix Telegram API loader + add tests. I was testing this integration and it was broken with next error: ```python message_threads = loader._get_message_threads(df) KeyError: False ``` Also, this particular loader didn't have any tests / related group in poetry, so I added those as well. @hwchase17 / @eyurtsev please take a look on this fix PR. --------- Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
35 lines
727 B
JSON
35 lines
727 B
JSON
[
|
|
{
|
|
"sender_id": -1111111,
|
|
"text": "Hello, world!",
|
|
"date": "2023-05-15T19:30:49+00:00",
|
|
"message.id": 1785,
|
|
"is_reply": false,
|
|
"reply_to_id": null
|
|
},
|
|
{
|
|
"sender_id": -1111111,
|
|
"text": "Telegram is the best!",
|
|
"date": "2023-05-08T20:17:10+00:00",
|
|
"message.id": 1784,
|
|
"is_reply": true,
|
|
"reply_to_id": 1783
|
|
},
|
|
{
|
|
"sender_id": -1111111,
|
|
"text": "Langchain is great.",
|
|
"date": "2023-05-03T23:43:33+00:00",
|
|
"message.id": 1783,
|
|
"is_reply": true,
|
|
"reply_to_id": 1782
|
|
},
|
|
{
|
|
"sender_id": -1111111,
|
|
"text": "LLMs are awesome!",
|
|
"date": "2023-05-03T15:32:25+00:00",
|
|
"message.id": 1782,
|
|
"is_reply": false,
|
|
"reply_to_id": null
|
|
}
|
|
]
|