57 Commits

Author SHA1 Message Date
Jin Hai
6b3a40be5c
Format file format from Windows/dos to Unix (#1949)
### What problem does this PR solve?

Related source file is in Windows/DOS format, they are format to Unix
format.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2024-08-15 09:17:36 +08:00
balibabu
3da3260eb5
fix: Fixed the issue that the related form value does not change after selecting the freedom field of the model #1804 (#1805)
### What problem does this PR solve?
fix: Fixed the issue that the related form value does not change after
selecting the freedom field of the model #1804

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-08-05 12:03:47 +08:00
balibabu
935687998e
fix: fetch user by @tanstack/react-query #1306 (#1709)
### What problem does this PR solve?

fix: fetch user by @tanstack/react-query #1306

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-25 18:53:10 +08:00
balibabu
906c0c5c89
fix: Set the default value of Self RAG to false #1220 (#1702)
### What problem does this PR solve?

fix: Set the default value of Self RAG  to false #1220
fix: Change all tool file names to kebab format

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-25 14:38:17 +08:00
balibabu
58e95f76c1
feat: change all file names to lowercase #1574 (#1575)
### What problem does this PR solve?

feat: change all file names to lowercase #1574

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-07-17 19:07:34 +08:00
balibabu
06fd35d420
fix: new message appears in wrong chat window. #1289 (#1571)
### What problem does this PR solve?
fix: new message appears in wrong chat window. #1289

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-17 17:08:24 +08:00
balibabu
97ced2f667
fix: hide web crawl menu item (#1110)
### What problem does this PR solve?

fix: hide web crawl menu item #1107

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-06-11 10:54:30 +08:00
Fakai Zhao
7eb69fe6d9
Supports obtaining PDF documents from web pages (#1107)
### What problem does this PR solve?

Knowledge base management supports crawling information from web pages
and generating PDF documents

### Type of change
- [x] New Feature (Support document from web pages)
2024-06-11 10:45:19 +08:00
Jin Hai
77b1520b66
Refactor message output format (#772)
### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2024-05-15 10:48:42 +08:00
balibabu
d65ba3e4d7
feat: delete the added model #503 and display an error message when the requested file fails to parse #684 (#708)
### What problem does this PR solve?

feat: delete the added model #503
feat: display an error message when the requested file fails to parse
#684

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-05-10 10:38:39 +08:00
balibabu
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
balibabu
385dbe5ab5
fix: add spin to parsing status icon of dataset table (#649)
### What problem does this PR solve?

fix: add spin to parsing status icon of dataset table
#648 

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-06 18:37:31 +08:00
balibabu
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
balibabu
4c1476032d
fix: omit long file names (#608)
### What problem does this PR solve?

#607
fix: omit long file names
fix: change the parsing method from tag to select
fix: replace icon for new chat
fix: change the OK button text of the Chat Bot API modal to close


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-29 18:22:17 +08:00
balibabu
38f0cc016f
fix: #567 use modal to upload files in the knowledge base (#601)
### What problem does this PR solve?

fix:  #567 use modal to upload files in the knowledge base

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-29 15:45:19 +08:00
balibabu
eb62c669ae
feat: translate FileManager #345 (#558)
### What problem does this PR solve?
#345
feat: translate FileManager
feat: batch delete files from the file table in the knowledge base

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-04-26 17:22:23 +08:00
balibabu
6405041b4d
fix: cannot save the system model setting #468 (#508)
### What problem does this PR solve?

fix: cannot save the system model setting #468
feat: rename file in FileManager
feat: add FileManager
feat: override useSelector type

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-23 17:46:56 +08:00
balibabu
ad6f0a1ce5
feat: add overview (#391)
### What problem does this PR solve?

feat: render stats charts
feat: create api token
feat: delete api token
feat: add ChatApiKeyModal
feat: add RagLineChart


Issue link: #345

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-04-16 19:06:47 +08:00
balibabu
533ac3b534
feat: add batch operations for document list (#302)
### What problem does this PR solve?

document list needs to be batch operated


Issue link: #301

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-04-10 17:17:41 +08:00
balibabu
373946ef3f
change language #245 (#246)
### What problem does this PR solve?

change language

Issue link: #245



- [x] New Feature (non-breaking change which adds functionality)
2024-04-07 17:41:29 +08:00
balibabu
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
balibabu
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
balibabu
6cf088911f
fix: fixed the issue where ChunkMethodModal cannot correctly display … (#189)
fix: fixed the issue where ChunkMethodModal cannot correctly display the
current chunk method when switching chunk methods between two document
rows.
2024-04-01 18:11:07 +08:00
balibabu
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
balibabu
b6837d4ca6
feat: add corresponding icons to files (#164) 2024-03-28 16:18:16 +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
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
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
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
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
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
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
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
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
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
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
balibabu
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
balibabu
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
balibabu
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
balibabu
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
balibabu
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