feat: SlackDirectoryLoader

This commit is contained in:
Gabriel Ferreira Rosalino 2023-05-28 02:10:31 -03:00
commit b16b9d687b
2 changed files with 4 additions and 0 deletions

View file

@ -42,6 +42,7 @@ documentloaders:
- IMSDbLoader - IMSDbLoader
- GitbookLoader - GitbookLoader
- ReadTheDocsLoader - ReadTheDocsLoader
- SlackDirectoryLoader
embeddings: embeddings:
- OpenAIEmbeddings - OpenAIEmbeddings
- HuggingFaceEmbeddings - HuggingFaceEmbeddings

View file

@ -89,6 +89,9 @@ class DocumentLoaderCreator(LangChainTypeCreator):
"UnstructuredWordDocumentLoader": build_file_path_template( "UnstructuredWordDocumentLoader": build_file_path_template(
suffixes=[".docx", ".doc"], fileTypes=["docx", "doc"] suffixes=[".docx", ".doc"], fileTypes=["docx", "doc"]
), ),
"SlackDirectoryLoader": build_file_path_template(
suffixes=[".zip"], fileTypes=["zip"]
),
} }
if name in file_path_templates: if name in file_path_templates: