Correct loader order.
This commit is contained in:
parent
1427599b8a
commit
b6bd5544c9
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ class DocumentLoaderFrontNode(FrontendNode):
|
||||||
"UnstructuredPowerPointLoader": build_template(
|
"UnstructuredPowerPointLoader": build_template(
|
||||||
suffixes=[".pptx", ".ppt"], fileTypes=["pptx", "ppt"]
|
suffixes=[".pptx", ".ppt"], fileTypes=["pptx", "ppt"]
|
||||||
),
|
),
|
||||||
"SRTLoader": build_template(suffixes=[".srt"], fileTypes=["srt"]),
|
|
||||||
"SlackDirectoryLoader": build_template(suffixes=[".zip"], fileTypes=["zip"]),
|
"SlackDirectoryLoader": build_template(suffixes=[".zip"], fileTypes=["zip"]),
|
||||||
|
"SRTLoader": build_template(suffixes=[".srt"], fileTypes=["srt"]),
|
||||||
"TelegramChatLoader": build_template(suffixes=[".json"], fileTypes=["json"]),
|
"TelegramChatLoader": build_template(suffixes=[".json"], fileTypes=["json"]),
|
||||||
"TextLoader": build_template(suffixes=[".txt"], fileTypes=["txt"]),
|
"TextLoader": build_template(suffixes=[".txt"], fileTypes=["txt"]),
|
||||||
"UnstructuredWordDocumentLoader": build_template(
|
"UnstructuredWordDocumentLoader": build_template(
|
||||||
|
|
@ -66,8 +66,8 @@ class DocumentLoaderFrontNode(FrontendNode):
|
||||||
elif self.template.type_name in {"GitbookLoader"}:
|
elif self.template.type_name in {"GitbookLoader"}:
|
||||||
name = "web_page"
|
name = "web_page"
|
||||||
elif self.template.type_name in {
|
elif self.template.type_name in {
|
||||||
"ReadTheDocsLoader",
|
|
||||||
"NotionDirectoryLoader",
|
"NotionDirectoryLoader",
|
||||||
|
"ReadTheDocsLoader",
|
||||||
}:
|
}:
|
||||||
name = "path"
|
name = "path"
|
||||||
if name:
|
if name:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue