DocsGPT/application/parser/remote/telegram.py

11 lines
348 B
Python
Raw Normal View History

2024-02-28 16:52:58 +00:00
from langchain.document_loader import TelegramChatApiLoader
2023-10-11 09:13:51 +00:00
from application.parser.remote.base import BaseRemote
class TelegramChatApiRemote(BaseRemote):
def _init_parser(self, *args, **load_kwargs):
self.loader = TelegramChatApiLoader(**load_kwargs)
return {}
def parse_file(self, *args, **load_kwargs):
2024-02-28 16:52:58 +00:00
return