32 Commits

Author SHA1 Message Date
balibabu
827042f72b
feat: Expose the agent's chat window to third parties #1842 (#1897)
### What problem does this PR solve?

feat: Expose the agent's chat window to third parties #1842
### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-08-09 18:59:16 +08:00
balibabu
4ae9de76d4
fix: Unable to create a new chat assistant after closing the edit modal #1833 (#1838)
### What problem does this PR solve?

fix: Unable to create a new chat assistant after closing the edit modal
#1833

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-08-07 10:19:14 +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
fe5dd5b70a
fix: remove duplicate MessageItem #1289 (#1566)
### What problem does this PR solve?

fix: remove duplicate MessageItem #1289

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-17 14:49:11 +08:00
Song Yeung
24f9b17ff6
feat: translate graph and chat text (#1433)
translate graph and chat text
2024-07-09 10:43:52 +08:00
balibabu
751447bd4f
fix: fixed the issue where spaces could not be entered in the message… (#1320)
### What problem does this PR solve?

fix: fixed the issue where spaces could not be entered in the message
input box #1314
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-06-28 17:32:38 +08:00
balibabu
6c6f5a3a47
feat: modify the background color of chat messages (#1262)
### What problem does this PR solve?

feat: modify the background color of chat messages #1215

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-06-24 18:23:22 +08:00
yungongzi
80163c043e
Optimized the chat interface (including the chat API after sharing) (#1215)
### What problem does this PR solve?
Optimized the chat interface (including the chat API after sharing)
1. Change the background color of the dialog box between the assistant
and the user (use the theme color of the interface)
2. Add rounded corners to the dialog box
3. When the input box is empty, you can't click the send button(because
some models will report an error when sending empty data)

Color reference(can be a bit subjective):

![image](https://github.com/infiniflow/ragflow/assets/19431702/8cd6fcd9-8ca1-4160-8bac-9e8ba1a4112e)

### Type of change

- [x] Refactor

Co-authored-by: 海贼宅 <stu_xyx@163.com>
2024-06-24 16:41:45 +08:00
balibabu
ff5ea266d2
feat: add icon to graph nodes #918 (#1117)
### What problem does this PR solve?

feat: add icon to graph nodes #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-06-11 18:01:19 +08:00
balibabu
c6c9dbde64
feat: Support for conversational streaming (#809)
### What problem does this PR solve?

feat: Support for conversational streaming
#709

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-05-16 20:15:02 +08:00
balibabu
234afb25d8
feat: support GPT-4o #771 and hide the add button when the folder is a knowledge base (#775)
### What problem does this PR solve?

feat: support GPT-4o  #771 

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-05-15 11:34:57 +08:00
balibabu
cda7b607cb
feat: translate EmbedModal #345 (#455)
### What problem does this PR solve?

Embed the chat window into other websites through iframe

#345 

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-04-19 16:55:23 +08:00
balibabu
1dada69daa
fix: replace some pictures of chunk method #437 (#438)
### What problem does this PR solve?

some chunk method pictures are not in English #437

feat: set the height of both html and body to 100%
feat: add SharedChat
feat: add shared hooks

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-18 19:27:53 +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
28d29949c6
fix: historical chats appear in the new user's chat box #256 (#282)
### What problem does this PR solve?

historical chats appear in the new user's chat box

Issue link:#256

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-09 19:01:57 +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
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
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
balibabu
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
balibabu
c7c451bb9f
feat: bind length of conversationList to chat count (#116) 2024-03-08 19:33:33 +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
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
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
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