Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristhianzl committed Jun 23, 2023
2 parents c788d4c + 46b247d commit facfe6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class DocumentLoaderFrontNode(FrontendNode):
"UnstructuredEmailLoader": build_file_field(
suffixes=[".eml"], fileTypes=["eml"]
),
"SlackDirectoryLoader": build_file_field(suffixes=[".zip"], fileTypes=["zip"]),
"EverNoteLoader": build_file_field(suffixes=[".xml"], fileTypes=["xml"]),
"FacebookChatLoader": build_file_field(suffixes=[".json"], fileTypes=["json"]),
"GutenbergLoader": build_file_field(suffixes=[".txt"], fileTypes=["txt"]),
Expand Down Expand Up @@ -118,6 +119,7 @@ def add_extra_fields(self) -> None:
elif self.template.type_name in {
"DirectoryLoader",
"ReadTheDocsLoader",
"NotionDirectoryLoader",
}:
name = "path"
display_name = "Local directory"
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/modals/chatModal/chatMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function ChatMessage({
</div>
) : (
<div className="w-full flex items-center">
<div className="text-start inline-block px-3 text-sm text-gray-600 dark:text-white">
<div className="text-start inline-block px-3 text-gray-600 dark:text-white">
<span
className="text-gray-600 dark:text-gray-200"
dangerouslySetInnerHTML={{
Expand Down

0 comments on commit facfe6a

Please sign in to comment.