feat: SlackDirectoryLoader (#383)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-05-29 18:36:40 -03:00 • committed by GitHub
commit a0da588537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

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

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: