Commit Graph

1399 Commits

Author SHA1 Message Date
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
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
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
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
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
b69b5dd4e5 feat: set initial state of auth to null (#108) 2024-03-07 15:32:12 +08:00
cfc3b62e77 feat: call useLoginWithGithub in useAuth (#107) 2024-03-07 14:39:34 +08:00
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
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
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
16eade4c48 feat: set local path of workerSrc to PdfLoader (#101) 2024-03-06 12:12:32 +08:00
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
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
59d8442d0d feat: fixed the issue where chat greetings could not appear (#95) 2024-03-05 12:01:48 +08:00
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
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
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
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
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
a4e038310e feat: set proxy of backend api (#83) 2024-02-29 10:00:45 +08:00
332d4874d0 feat: fetch parser list for SegmentSetModal (#81) 2024-02-28 18:57:10 +08:00
6e8781e0e6 feat: add nginx.conf (#80)
* feat: add nginx.conf

* feat: modify the root path of the web
2024-02-28 17:36:44 +08:00
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
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
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
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
8c4ec9955e feat: create a chat assistant and extract SimilaritySlider (#67)
* feat: extract SimilaritySlider

* feat: create a chat assistant
2024-02-20 18:10:20 +08:00
452020d33a feat: add temperature and top-p to ModelSetting and add ChatConfigurationModal and bind backend data to KnowledgeCard (#65)
* feat: bind backend data to KnowledgeCard

* feat: add ChatConfigurationModal

* feat: add temperature and top-p to ModelSetting
2024-02-19 19:16:23 +08:00
f3d0ebd293 feat: remove KnowledgeSearching and add knowledge configuration page and add a run button to the document (#64)
* feat: add a run button to the document

* feat: add knowledge configuration page

* feat: remove KnowledgeSearching
2024-02-18 18:18:20 +08:00
53be70c7a9 feat: transform the parser's data structure and add Image to TestingResult (#63)
* feat: add Image to TestingResult

* feat: transform the parser's data structure
2024-02-08 18:50:11 +08:00
1a156e6569 feat: test document chunks (#62) 2024-02-08 18:12:31 +08:00
0a903c7714 feat: add SelectFiles and add KnowledgeTesting (#60)
* feat: add KnowledgeTesting

* feat: add SelectFiles
2024-02-08 11:58:43 +08:00
eb8254e688 feat: create chunk and edit chunk and delete chunk (#58)
* feat: create chunk and edit chunk

* feat: delete chunk

* feat: search chunks

* feat: delete chunks in batches

* feat: set whether chunks are available in batches
2024-02-07 18:04:25 +08:00
97d4387982 feat: set chunk to available state and select all chunk (#57)
* feat: set chunk to available state

* feat: select all chunk
2024-02-06 18:45:20 +08:00
eb381963b3 feat: confirm before deleting knowledge base and add ChunkToolBar (#56)
* feat: confirm before deleting knowledge base

* feat: add ChunkToolBar
2024-02-05 19:26:03 +08:00
f305776217 feat: save the selected parser to the backend on the upload file page and upload document (#54)
* feat: add pagination to document table

* feat: fetch document list by page

* feat: poll the document list

* feat: upload document

* feat: save the selected parser to the backend on the upload file page
2024-02-05 12:01:27 +08:00
7b71fb2db6 feat: modify routing to nested mode and rename document (#52)
* feat: modify routing to nested mode

* feat: rename document
2024-02-02 18:49:54 +08:00
503735cd1d feat: Modify the color of the svg icon in the header according to the selected state and feat: extract routing information from the knowledge base into constants (#51)
* feat: Modify the color of the svg icon in the header according to the selected state

* feat: add translation icon to header

* feat: shorten the route length of the knowledge base

* feat: extract routing information from the knowledge base into constants
2024-02-02 09:35:21 +08:00
af3ef26977 feat: layout the knowledge list page and modify the page switching button in the header (#48)
* feat: remove unnecessary 'loading' fields from other files

* feat: layout the knowledge list page

* feat: modify the page switching button in the header
2024-01-31 19:29:57 +08:00
362ec6c364 feat: remove loading from model and use DvaModel instead of redundant types such as kAModelType (#47)
* feat: use DvaModel instead of redundant types such as kAModelType

* feat: set the type for registerServer

* feat: remove loading from model
2024-01-30 19:26:29 +08:00
04aba1bb65 feat: prevent the user from entering the knowledge base if he is not logged in (#45) 2024-01-29 19:28:39 +08:00
e1bc1d46e6 feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44)
* feat: add react-dev-inspector to locate code in the IDE faster

* feat: install prettier to format code

---------

Co-authored-by: yangqianjuan <1072483500@qq.com>
2024-01-29 15:02:27 +08:00
f3dd131403 set port (#39)
* set port

* add knowledge-search

* update text
2024-01-19 18:35:24 +08:00
103e12b7c2 update api (#38) 2024-01-19 11:08:07 +08:00
c4f72317a2 update port (#36) 2024-01-19 10:45:37 +08:00
fad2ec7cf3 update knowledge_kb (#34)
* update typescript

* add chunk api

* remove useless code
2024-01-18 18:27:38 +08:00
6b8fc2ce1f add front end code (#27) 2024-01-17 09:37:01 +08:00