621 Commits

Author SHA1 Message Date
balibabu
204385a7bf
feat: add background image to login page and alter tooltip of base_url and add llm type to Added models List (#173)
* feat: add llm type to Added models List

* feat: alter tooltip of base_url

* feat: add background image to login page
2024-03-29 16:15:12 +08:00
balibabu
7bae41c71f
feat: add base_url to ApiKeyModal (#167) 2024-03-29 09:52:19 +08:00
balibabu
b6837d4ca6
feat: add corresponding icons to files (#164) 2024-03-28 16:18:16 +08:00
balibabu
37cc673098
feat: set the object-fit attribute of the chunk image to contain so that the image is not stretched and if the chunk number of the knowledge base is greater than 0, set the embedding model to disabled (#160)
* feat: if the chunk number of the knowledge base is greater than 0, set the embedding model to disabled

* feat: set the object-fit attribute of the chunk image to contain so that the image is not stretched
2024-03-28 11:42:40 +08:00
balibabu
44541a8c33
feat: select the corresponding parsing method according to the file type and after the document is successfully uploaded, use the ChunkMethodModal to select the parsing method. and remove ChunkMethodModal from knowledge-file (#158)
* feat: select the corresponding parsing method according to the file type

* feat: after the document is successfully uploaded, use the ChunkMethodModal  to select the parsing method.

* feat: add pdf types to ParserListMap

* feat: remove ChunkMethodModal from knowledge-file
2024-03-27 17:56:34 +08:00
balibabu
75f7c6da2f
fix: by obtaining the width and height of the pdf and passing it to b… (#151)
* fix: by obtaining the width and height of the pdf and passing it to boundingRect, the problem of inaccurate positioning of file highlighting is fixed

* feat: remove actualPositions from buildChunkHighlights
2024-03-26 14:51:34 +08:00
balibabu
0dd5b58d03
fix: fixed an issue where an error was reported when fetching the file list after changing the parsing type (#150) 2024-03-25 18:13:44 +08:00
balibabu
0629847c09
feat: hide filters button and hide testing history (#149)
* feat: hide testing history

* feat: hide filters button
2024-03-25 16:39:28 +08:00
balibabu
74419e5f0c
feat: remove disabled from ChunkMethodModal (#148) 2024-03-25 14:56:56 +08:00
KevinHuSh
71fe314955
refine page ranges (#147) 2024-03-25 13:11:57 +08:00
balibabu
1d9a50b090
feat: move layout_recognize to the bottom (#146)
* feat: add Page Ranges label

* feat: move layout_recognize to the bottom
2024-03-25 12:54:10 +08:00
balibabu
da39723f17
feat: when Layout recognize is false, hide pages (#144)
* feat: when Layout recognize is false, hide pages

* feat: fix the name column to the leftmost part of the KnowledgeFile table
2024-03-22 19:21:20 +08:00
balibabu
2f4c71b4b4
feat: add pages to ChunkMethodModal (#143) 2024-03-22 16:57:09 +08:00
KevinHuSh
1edbd36baf
add help info (#142) 2024-03-22 15:35:06 +08:00
balibabu
73c2f4d418
feat: add hooks for document table and refactor document-related modal (#141)
* feat: add hooks for document table

* refactor: refactor document-related modal
2024-03-22 11:35:25 +08:00
balibabu
f4ec7cfa76
feat: add image for chunk method (#139)
* feat: add image of chunk method

* feat: add image for chunk method
2024-03-21 16:45:03 +08:00
balibabu
fce14ee187
feat: add loading to ChatContainer and set font family to inter and add tooltip to Form.Item and download documents on the document list page (#136)
* feat: download documents on the document list page

* feat: add tooltip to Form.Item

* feat: set font family to inter

* feat: add loading to ChatContainer
2024-03-20 18:20:42 +08:00
balibabu
78727c8809
fix: disable sending messages if both application and conversation are empty and add loading to all pages (#134)
* feat: add loading to all pages

* fix: disable sending messages if both application and conversation are empty

* feat: add chatSpin class to Spin of chat
2024-03-20 11:13:51 +08:00
balibabu
d38e92aac8
fix: fixed the issue that the prompt word for registering an account is not in English and fixed the issue where the last message would keep loading if the backend reported an error during chat and fixed the issue where the next button would float above the file list on the file upload page (#133)
* feat: fixed the issue where the next button would float above the file list on the file upload page.

* feat: fixed the issue where the last message would keep loading if the backend reported an error during chat.

* fix: fixed the issue that the prompt word for registering an account is not in English
2024-03-19 19:21:35 +08:00
balibabu
d56c9e7630
feat: add chunkText to messageText to distinguish table rows and when parsing, the delete and other buttons are set to disabled. (#130)
* feat: when parsing, the delete and other buttons are set to disabled.

* feat: add chunkText to messageText to distinguish table rows
2024-03-19 10:20:50 +08:00
balibabu
c1734be59d
feat: add programming language highlighting for markdown syntax (#129) 2024-03-18 18:39:00 +08:00
balibabu
0e2aff2a48
feat: generate select options for SystemModelSettingModal grouped by type and add llm icon and add upgrade button to UserSettingTeam and replace the icon in the sidebar of the user settings page (#128)
* feat: generate select options for SystemModelSettingModal grouped by type

* feat: add llm icon

* feat: add upgrade button to UserSettingTeam

* feat: replace the icon in the sidebar of the user settings page
2024-03-18 16:45:01 +08:00
balibabu
a0f1e1fa95
feat: add SystemModelSettingModal (#127)
* feat: add the model

* feat: add SystemModelSettingModal
2024-03-15 19:35:59 +08:00
balibabu
82350c4139
feat: fixed an issue where the default value for temperature was not set when creating a new chat and install remark-gfm so that the markdown table can be displayed (#124)
* feat: install remark-gfm so that the markdown table can be displayed

* feat: fixed an issue where the default value for temperature was not set when creating a new chat
2024-03-15 14:34:09 +08:00
balibabu
937048e5fb
feat: remove loading from document table and fixed the issue where gif images could not be uploaded on the configuration page (#122)
* feat: fixed the issue where gif images could not be uploaded on the configuration page

* feat: remove loading from document table
2024-03-14 19:22:39 +08:00
balibabu
2ca0dc0fc5
feat: submit api key and add language to Configuration and fetch llm factory list on UserSettingModel mount (#121)
* feat: fetch llm factory list on UserSettingModel mount

* feat: add language to Configuration

* feat: submit api key
2024-03-12 18:58:09 +08:00
balibabu
7c0fb078f8
feat: display chunk token number when category of knowledge as general and unavailable llm models appear disabled and if the backend returns 401, it will jump to the login page and fixed the issue where the greeting would disappear when clicking on a new dialog (#117)
* feat: Fixed the issue where the greeting would disappear when clicking on a new dialog

* feat: replace favicon with logo.svg

* feat: if the backend returns 401, it will jump to the login page.

* feat: unavailable llm models appear disabled

* feat: display chunk token number when category of knowledge as general
2024-03-11 16:13:34 +08:00
balibabu
c7c451bb9f
feat: bind length of conversationList to chat count (#116) 2024-03-08 19:33:33 +08:00
balibabu
fa171dfe6c
feat: submit new password to backend and submit user information and add Form to UserSettingProfile (#114)
* feat: add Form to UserSettingProfile

* feat: submit user information

* feat: submit new password to backend
2024-03-08 17:09:07 +08:00
balibabu
63e498ac79
feat: add UserSetting and set height of MoreIcon to 24px and replace logo (#111)
* feat: replace logo

* feat: set height of MoreIcon to 24px

* feat: add UserSetting
2024-03-07 19:13:16 +08:00
balibabu
b69b5dd4e5
feat: set initial state of auth to null (#108) 2024-03-07 15:32:12 +08:00
balibabu
cfc3b62e77
feat: call useLoginWithGithub in useAuth (#107) 2024-03-07 14:39:34 +08:00
balibabu
2b2808c268
feat: login with github and if it is not a pdf file, set the width of chunkContainer to 100% (#106)
* feat: if it is not a pdf file, set the width of chunkContainer to 100%

* feat: login with github
2024-03-07 14:23:42 +08:00
balibabu
6048926a4d
feat: fixed the issue that some PDF documents could not be displayed on the chunk list page in small screens and logout (#105)
* feat: logout

* feat: fixed the issue that some PDF documents could not be displayed on the chunk list page in small screens
2024-03-07 11:38:32 +08:00
balibabu
aaf3084324
feat: fetch knowledge detail on KnowledgeUploadFile mount and add category column to chunk table and set initial value for the model field of chat setting (#104)
* feat: set initial value for the model field of chat setting

* feat: add category column to chunk table

* feat: fetch knowledge detail on KnowledgeUploadFile mount
2024-03-06 19:17:45 +08:00
balibabu
16eade4c48
feat: set local path of workerSrc to PdfLoader (#101) 2024-03-06 12:12:32 +08:00
balibabu
8b2bbd79e4
feat: Add Skeleton to MessageItem before the backend returns a message and fixed the issue where ChatConfigurationModal displays old data when creating a new dialog (#99)
* feat: fixed the issue where ChatConfigurationModal displays old data when creating a new dialog

* feat: Add Skeleton to MessageItem before the backend returns a message
2024-03-05 19:28:44 +08:00
balibabu
07d76ea18d
feat: add DocumentPreviewer for chunk of chat reference and remove duplicate \n from record.progress_msg (#97)
* feat: Remove duplicate \n from record.progress_msg

* feat: add DocumentPreviewer for chunk of chat reference
2024-03-05 16:30:28 +08:00
balibabu
59d8442d0d
feat: fixed the issue where chat greetings could not appear (#95) 2024-03-05 12:01:48 +08:00
balibabu
eec529f8c5
feat: set width of chunk text to 100% and add Skeleton to Preview of document and remove react-pdf (#94)
* feat: remove react-pdf

* feat: add Skeleton to Preview of document

* feat: set width of chunk text to 100%
2024-03-04 19:28:30 +08:00
balibabu
fae00827e6
feat: locate the specific location of the document based on the coordinates of the chunk and add Upload to AssistantSetting (#92)
* feat: add Upload to AssistantSetting

* feat: locate the specific location of the document based on the coordinates of the chunk
2024-03-04 17:03:23 +08:00
balibabu
7f174fb9d3
feat: add Preview with react-pdf-highlighter (#89)
* feat: add selected style to chunk item

* feat: hightlight pdf

* feat: add Preview with react-pdf-highlighter
2024-03-01 18:49:21 +08:00
balibabu
5fb8989bb1
feat: display all pdf pages and add DocumentPreview (#88)
* feat: add DocumentPreview

* feat: display all pdf pages
2024-03-01 11:28:58 +08:00
balibabu
14633df880
feat: let the messages I send appear immediately in the chat window and remove rewrite configuration from nginx proxy (#86)
* feat: remove rewrite configuration from nginx proxy

* feat: let the messages I send appear immediately in the chat window
2024-02-29 14:26:59 +08:00
balibabu
a4e038310e
feat: set proxy of backend api (#83) 2024-02-29 10:00:45 +08:00
balibabu
332d4874d0
feat: fetch parser list for SegmentSetModal (#81) 2024-02-28 18:57:10 +08:00
balibabu
01ab5b5db1
feat: rename conversation and delete conversation and preview reference image and fetch file thumbnails (#79)
* feat: fetch file thumbnails

* feat: preview reference image

* feat: delete conversation

* feat: rename conversation
2024-02-28 16:28:33 +08:00
balibabu
eb517f3106
feat: add file icon and add message popover content (#77)
* feat: add message popover content

* feat: add file icon
2024-02-27 19:05:50 +08:00
balibabu
d1417102b6
feat: render message reference and add avatar to MessageItem (#73)
* feat: add temporary conversation

* feat: add avatar to MessageItem

* feat: render message reference
2024-02-26 18:38:54 +08:00
balibabu
5a0f1d2b84
feat: fetch conversation and delete chat dialog (#69)
* feat: set chat configuration to backend

* feat: exclude unEnabled variables

* feat: delete chat dialog

* feat: fetch conversation
2024-02-22 17:14:25 +08:00