Commit Graph

161 Commits

Author SHA1 Message Date
a5384446e3 let's load model from local (#163) 2024-03-28 16:10:47 +08:00
f3477202fe refine citation (#161) 2024-03-28 11:45:50 +08:00
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
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
bf2e3d7fc1 refine OpenAi Api (#159) 2024-03-27 17:55:45 +08:00
0cb95c688e rm some sensitive info (#157) 2024-03-27 13:24:35 +08:00
37185466e2 READEME refined (#156) 2024-03-27 13:14:36 +08:00
fd7fcb5baf apply pep8 formalize (#155) 2024-03-27 11:33:46 +08:00
a02e836790 refine README (#154) 2024-03-27 10:26:20 +08:00
979b3a5b4b support snapshot download from local (#153)
* support snapshot download from local

* let snapshot download from local
2024-03-27 09:53:42 +08:00
da21320b88 fix plainPdf bugs (#152) 2024-03-26 15:11:07 +08:00
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
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
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
74419e5f0c feat: remove disabled from ChunkMethodModal (#148) 2024-03-25 14:56:56 +08:00
71fe314955 refine page ranges (#147) 2024-03-25 13:11:57 +08:00
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
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
f6aee7f230 add use layout or not option (#145)
* add use layout or not option

* trival
2024-03-22 19:21:09 +08:00
2f4c71b4b4 feat: add pages to ChunkMethodModal (#143) 2024-03-22 16:57:09 +08:00
1edbd36baf add help info (#142) 2024-03-22 15:35:06 +08:00
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
6c6b144de2 refine manual parser (#140) 2024-03-21 18:17:32 +08:00
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
5875c8ba08 Add 'One' chunk method (#137) 2024-03-20 18:57:22 +08:00
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
6999598101 refine for English corpus (#135) 2024-03-20 16:56:16 +08:00
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
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
9a843667b3 fix github account login issue (#132) 2024-03-19 15:31:47 +08:00
9da671b951 refine manul parser (#131) 2024-03-19 12:26:04 +08:00
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
c1734be59d feat: add programming language highlighting for markdown syntax (#129) 2024-03-18 18:39:00 +08:00
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
a0f1e1fa95 feat: add SystemModelSettingModal (#127)
* feat: add the model

* feat: add SystemModelSettingModal
2024-03-15 19:35:59 +08:00
2447f95629 add Moonshot, debug my_llm (#126) 2024-03-15 18:59:00 +08:00
de09b0e1a4 resolve table issues (#125) 2024-03-15 14:59:28 +08:00
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
675a9f8d9a add dockerfile for cuda envirement. Refine table search strategy, (#123) 2024-03-14 19:45:29 +08:00
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
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
0feb085c88 refine table parser (#120) 2024-03-12 18:56:04 +08:00
f1f09df901 add local llm implementation (#119) 2024-03-12 11:57:08 +08:00
0452a6db73 Refine README (#118)
* Refine README

* refine README

* refine README
2024-03-11 16:19:03 +08:00
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
c7c451bb9f feat: bind length of conversationList to chat count (#116) 2024-03-08 19:33:33 +08:00
bcb58b7e71 layout refine (#115) 2024-03-08 18:59:53 +08:00
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
8f86ab9f7f refine pdf parser, add time zone to userinfo (#112) 2024-03-08 11:24:24 +08:00
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