Kevin Hu
3d735dca87
Add support to iframe chatbot ( #3929 )
...
### What problem does this PR solve?
#3909
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-12-09 12:38:04 +08:00
Zhichang Yu
0d68a6cd1b
Fix errors detected by Ruff ( #3918 )
...
### What problem does this PR solve?
Fix errors detected by Ruff
### Type of change
- [x] Refactoring
2024-12-08 14:21:12 +08:00
Jin Hai
c817ff184b
Refactor UI text ( #3911 )
...
### What problem does this PR solve?
Refactor UI text
### Type of change
- [x] Documentation Update
- [x] Refactoring
Signed-off-by: jinhai <haijin.chn@gmail.com>
2024-12-07 11:04:36 +08:00
Kevin Hu
7543047de3
Fix @ in model name issue. ( #3821 )
...
### What problem does this PR solve?
#3814
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-12-03 12:41:39 +08:00
Jin Hai
8930bfcff8
Fix bugs ( #3535 )
...
### What problem does this PR solve?
1. system monitor icon and text missing
2. Team knowledge base can't be search
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
---------
Signed-off-by: jinhai <haijin.chn@gmail.com>
2024-11-20 20:55:42 +08:00
Kevin Hu
361cff34fc
add input variables to begin component ( #3498 )
...
### What problem does this PR solve?
#3355
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-11-19 18:41:48 +08:00
Jin Hai
1e90a1bf36
Move settings initialization after module init phase ( #3438 )
...
### What problem does this PR solve?
1. Module init won't connect database any more.
2. Config in settings need to be used with settings.CONFIG_NAME
### Type of change
- [x] Refactoring
Signed-off-by: jinhai <haijin.chn@gmail.com>
2024-11-15 17:30:56 +08:00
Zhichang Yu
30f6421760
Use consistent log file names, introduced initLogger ( #3403 )
...
### What problem does this PR solve?
Use consistent log file names, introduced initLogger
### Type of change
- [ ] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [x] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
2024-11-14 17:13:48 +08:00
Kevin Hu
667d0e5537
Turn the relative date in question to absolute date ( #3372 )
...
### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
2024-11-13 13:49:18 +08:00
Zhichang Yu
a2a5631da4
Rework logging ( #3358 )
...
Unified all log files into one.
### What problem does this PR solve?
Unified all log files into one.
### Type of change
- [x] Refactoring
2024-11-12 17:35:13 +08:00
Kevin Hu
4097912d59
add inputs to display to every components ( #3242 )
...
### What problem does this PR solve?
#3240
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-11-06 18:47:53 +08:00
Kevin Hu
b7b30c4b57
add keyword extraction time elapsed to the little lamp. ( #3207 )
...
### What problem does this PR solve?
### Type of change
- [x] Refactoring
2024-11-05 13:39:50 +08:00
Kevin Hu
339639a9db
add assistant to canvas chat history ( #3201 )
...
### What problem does this PR solve?
#3185
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-11-05 10:04:31 +08:00
Kevin Hu
18ae8a4091
raise exception if embedding model not found ( #3199 )
...
### What problem does this PR solve?
#3173
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-11-05 09:29:01 +08:00
Kevin Hu
2d1fbefdb5
search between multiple indiices for team function ( #3079 )
...
### What problem does this PR solve?
#2834
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-10-29 13:19:01 +08:00
Kevin Hu
226bdd6e99
add auto keywords and auto-question ( #2965 )
...
### What problem does this PR solve?
#2687
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-10-22 13:12:49 +08:00
liuhua
6eed115723
Refactor API for document and session ( #2819 )
...
### What problem does this PR solve?
Refactor API for document and session.
### Type of change
- [x] Refactoring
---------
Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
2024-10-12 19:35:19 +08:00
liuhua
a20b82092f
Refactor Chat API ( #2804 )
...
### What problem does this PR solve?
Refactor Chat API
### Type of change
- [x] Refactoring
---------
Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
2024-10-12 13:48:43 +08:00
Kevin Hu
b3b54680e7
Add query parts to lamp ( #2736 )
...
### What problem does this PR solve?
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-10-08 12:53:04 +08:00
Kevin Hu
38e3475714
refine markdown prompt ( #2551 )
...
### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
2024-09-24 12:04:16 +08:00
Kevin Hu
9bbef8216d
refine reteival of multi-turn conversation ( #2520 )
...
### What problem does this PR solve?
#2362 #2484
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Performance Improvement
2024-09-20 17:25:55 +08:00
Kevin Hu
01acc3fd5a
fix duplicated llm name betweeen different suppliers ( #2477 )
...
### What problem does this PR solve?
#2465
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-09-18 16:09:22 +08:00
Kevin Hu
4730145696
debug backend API for TAB 'search' ( #2389 )
...
### What problem does this PR solve?
#2247
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-09-12 17:51:20 +08:00
Kevin Hu
333608a1d4
add search TAB backend api ( #2375 )
...
### What problem does this PR solve?
#2247
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-09-11 19:49:18 +08:00
Kevin Hu
9f7d187ab3
add elapsed time of conversation ( #2316 )
...
### What problem does this PR solve?
#2315
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-09-09 12:08:50 +08:00
Kevin Hu
abc32803cc
add stream chat with TTS ( #2228 )
...
### What problem does this PR solve?
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-09-03 19:49:14 +08:00
Kevin Hu
5daed10136
make task resumable ( #2132 )
...
### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
2024-08-28 14:06:27 +08:00
Kevin Hu
6d3e3e4e3c
add prompt to message ( #2099 )
...
### What problem does this PR solve?
#2098
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-08-26 16:14:15 +08:00
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
Kevin Hu
78ed8fe9a5
add doc ids to chat ( #1944 )
...
### What problem does this PR solve?
### Type of change
- [x] Performance Improvement
2024-08-14 16:31:49 +08:00
Kevin Hu
e3cf14a3c9
add function: upload and parse ( #1889 )
...
### What problem does this PR solve?
#1880
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-08-09 16:20:02 +08:00
Jason Lee
c981a57616
fix: Reference markers in the context may be carried over into the next answer ( #1855 )
...
The answer in the context carries reference markers and passes them to
the large model, which may include the markers in the new answer,
leading to abnormal reference points.
```
{'role': 'assistant', 'content': '设置在地下或半地下空间 ##0$$。'}
```

### 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
- Bug Fix (non-breaking change which fixes an issue)
2024-08-08 12:25:57 +08:00
Kevin Hu
152072f900
Add graphrag ( #1793 )
...
### What problem does this PR solve?
#1594
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-08-02 18:51:14 +08:00
H
58df013722
Chat Use CVmodel ( #1607 )
...
### What problem does this PR solve?
#1230
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-07-19 18:36:34 +08:00
Kevin Hu
6a5e1d597c
hide referece when disable cite ( #1535 )
...
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-16 16:16:19 +08:00
Kevin Hu
a5a617b7a3
fix ollama max token issue ( #1489 )
...
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-12 16:37:32 +08:00
zhuhao
dcb3fb2073
fix: use user-defined rerank model's top_k parameter when knowledge Q&A conversation ( #1396 )
...
### What problem does this PR solve?
During knowledge Q&A conversations, the user-defined rerank model's
top_k parameter was not used
#1395
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-07-08 09:25:49 +08:00
KevinHuSh
92e9320657
upgrade laws parser of docx ( #1332 )
...
### What problem does this PR solve?
### Type of change
- [x] Refactoring
2024-07-01 15:50:24 +08:00
KevinHuSh
abcd3d2469
refactor ( #1124 )
...
### What problem does this PR solve?
### Type of change
- [x] Refactoring
2024-06-12 11:02:15 +08:00
KevinHuSh
4454ba7a1e
add self-rag ( #1070 )
...
### What problem does this PR solve?
#1069
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-06-06 11:13:39 +08:00
KevinHuSh
83803a72ee
fix ollama bug ( #999 )
...
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-30 18:03:36 +08:00
KevinHuSh
614defec21
add rerank model ( #969 )
...
### What problem does this PR solve?
feat: add rerank models to the project #724 #162
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-05-29 16:50:02 +08:00
KevinHuSh
daa4799385
limit the system context length of conversation messages. ( #962 )
...
### What problem does this PR solve?
#951
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-29 10:40:07 +08:00
KevinHuSh
2b36283712
fix english query bug ( #840 )
...
### What problem does this PR solve?
#834
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-20 12:23:51 +08:00
KevinHuSh
673a28e492
fix bug of chat without stream ( #830 )
...
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-05-17 20:03:00 +08:00
KevinHuSh
b3c923da6b
add doc ids in API: completion ( #827 )
...
### What problem does this PR solve?
#808
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-05-17 17:51:54 +08:00
KevinHuSh
95f809187e
add stream chat ( #811 )
...
### What problem does this PR solve?
#709
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-05-16 20:14:53 +08:00
KevinHuSh
038822f3bd
make cites in conversation API configurable ( #576 )
...
### What problem does this PR solve?
#566
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
2024-04-28 11:56:17 +08:00
KevinHuSh
890561703b
Add bce-embedding and fastembed ( #383 )
...
### What problem does this PR solve?
Issue link:#326
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-04-16 16:42:19 +08:00
KevinHuSh
c39b751600
conversation API backend update ( #360 )
...
### What problem does this PR solve?
Issue link:#345
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
2024-04-15 14:43:44 +08:00