Commit Graph

27 Commits

Author SHA1 Message Date
706985c188 feat: add OperateDropdown and send debug message #918 (#1095)
### What problem does this PR solve?
feat: add OperateDropdown
feat: send debug message #918 

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-06-07 19:27:27 +08:00
793e29f23a fix: fix uploaded file time error #680 (#690)
### What problem does this PR solve?

fix: fix uploaded file time error #680
feat: support preview of word and excel #684 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-09 11:30:15 +08:00
9703633a57 fix: filter knowledge list by keywords and clear the selected file list after the file is uploaded successfully and add ellipsis pattern to chunk list (#628)
### What problem does this PR solve?

#627 
fix: filter knowledge list by keywords
fix: clear the selected file list after the file is uploaded
successfully
feat: add ellipsis pattern to chunk list

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-30 18:43:26 +08:00
1dcd439c58 feat: add file icon to table of FileManager #345 (#543)
### What problem does this PR solve?

feat: add file icon to table of FileManager #345
fix: modify datasetDescription

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-04-25 19:06:24 +08:00
9b9b6d5408 fix: #209 after saving the knowledge base configuration, jump to the dataset page (#212)
### What problem does this PR solve?
fix: #209 after saving the knowledge base configuration, jump to the
dataset page
feat: translate ConfigurationForm
feat: translate KnowledgeTesting
feat: translate document list page
feat: translate knowledge list page

Issue link: #209

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-03 11:21:54 +08:00
2673be8bc1 remove showDeleteConfirm function and center the Empty of knowledge list and extract the text of the login page to en.json (#203)
feat: remove showDeleteConfirm function
feat: center the Empty of knowledge list
feat: extract the text of the login page to en.json
#204
2024-04-02 15:44:09 +08:00
dad0d2eb9d feat: jumping from the chunk list page to the file list page keeps th… (#174)
* feat: jumping from the chunk list page to the file list page keeps the original page number.

* feat: jump to the file upload page and reset the file list page number to 1
2024-03-31 17:44:34 +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
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
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
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
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
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
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
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
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
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
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