mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
11 lines
348 B
Python
11 lines
348 B
Python
from langchain.document_loader import TelegramChatApiLoader
|
|
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):
|
|
|
|
return |