feat: SlackDirectoryLoader (#383)
This commit is contained in:
commit
a0da588537
2 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ documentloaders:
|
||||||
- IMSDbLoader
|
- IMSDbLoader
|
||||||
- GitbookLoader
|
- GitbookLoader
|
||||||
- ReadTheDocsLoader
|
- ReadTheDocsLoader
|
||||||
|
- SlackDirectoryLoader
|
||||||
- NotionDirectoryLoader
|
- NotionDirectoryLoader
|
||||||
embeddings:
|
embeddings:
|
||||||
- OpenAIEmbeddings
|
- OpenAIEmbeddings
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue