community[patch]: speed up import times in the community package (#18928)

This PR speeds up import times in the community package
This commit is contained in:
Leonid Ganeline
2024-03-11 13:37:36 -07:00
committed by GitHub
parent a7fc731720
commit 11195cfa42
11 changed files with 430 additions and 668 deletions

View File

@@ -262,3 +262,7 @@ class TelegramChatApiLoader(BaseLoader):
combined_texts = self._combine_message_texts(message_threads, df)
return text_to_docs(combined_texts)
# For backwards compatibility
TelegramChatLoader = TelegramChatFileLoader