892 Commits

Author SHA1 Message Date
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
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
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
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
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
balibabu
1a156e6569 feat: test document chunks (#62) 2024-02-08 18:12:31 +08:00
balibabu
0a903c7714 feat: add SelectFiles and add KnowledgeTesting (#60)
* feat: add KnowledgeTesting

* feat: add SelectFiles
2024-02-08 11:58:43 +08:00
balibabu
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
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
balibabu
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
balibabu
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
balibabu
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
balibabu
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
balibabu
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
balibabu
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
yqj123
f3dd131403 set port (#39)
* set port

* add knowledge-search

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

* add chunk api

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