mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 06:17:23 +00:00
tests
This commit is contained in:
1 parent
fb6618181a
commit
8f2ad38503
2 files changed
+30
No files matched your search
@@ -0,0 +1,11 @@
|
||||
from langchain.document_loader import TelegramChatApiLoader, TelegramChatFileLoader
|
||||
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 text
|
||||
Reference in new issue
Block a user