https://github.com/infiniflow/ragflow/issues/2496
### 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)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [x] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
Storage: Support the s3, azure blob as the object storage of ragflow. (#2278)
### What problem does this PR solve?
issue: https://github.com/infiniflow/ragflow/issues/2277
_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)
- [x] New Feature (non-breaking change which adds functionality)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
fix issue wrong agent prologue for api (#2246)
Kevin Hu
61acd39
### What problem does this PR solve?
#2242
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
remove alter log (#2140)
Kevin Hu
dd2c2ea
### What problem does this PR solve?
### Type of change
- [x] Refactoring
Fix API key validation api/conversation (#2100)
H
d8ce288
### What problem does this PR solve?
#2081
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
add message id to conversions (#2090)
Kevin Hu
9309ea5
### What problem does this PR solve?
#2088
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Add API to get doc info by doc ids (#1986)
wwwlll+1: Kevin Hu
36a516d
Supports use API to get doc info by doc ids
### What problem does this PR solve?
feat: Supports use API to get doc info by doc ids
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
---------
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
refine upload & parse (#1969)
Kevin Hu
36b9967
### What problem does this PR solve?
### Type of change
- [x] Refactoring
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>
Fix retrieval API error and add multi-kb search (#1928)
wwwlll
17f4221
### What problem does this PR solve?
Type of change
Bug Fix (Import necessary class for retrieval API )
New Feature (Add multi-KB search to retrieval API)
fix api argument error (#1920)
Kevin Hu
d98ee8e
### What problem does this PR solve?
#1918
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix agent non stream (#1904)
H
8f1a7d6
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Fix token list , stats in api app.py (#1896)
H
6108c20
### What problem does this PR solve?
#1842
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Add agent api (#1888)
H
023cb69
### What problem does this PR solve?
#1842
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Add graphrag (#1793)
Kevin Hu
6054f54
### What problem does this PR solve?
#1594
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
### What problem does this PR solve?
Add retrieval api on a specific knowledge base

https://github.com/infiniflow/ragflow/issues/1102
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
fix: Fix for Empty Reference Array Causing Errors (#1652)
Myth+1: Kevin Hu
17b116d
### What problem does this PR solve?
This pull request addresses an issue where the reference is an empty
array ([]) in specific cases, leading to errors in the application. When
the reference is empty, the code attempts to call the get method on a
list, resulting in the following error message:
``` json
{"retcode": 500, "retmsg": "'list' object has no attribute 'get'", "data": {"answer": "**ERROR**: 'list' object has no attribute 'get'", "reference": []}}
```
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
Fix api reference empty bug (#1655)
Kung Quang
b4bc2db
### What problem does this PR solve?
fix api reference empty bug
```
for chunk_i in answer['reference'].get('chunks',[]):
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'get'
```
```
return np.array([d["relevance_score"] for d in res["results"]]), res["meta"]["tokens"]["input_tokens"]+res["meta"]["tokens"]["output_tokens"]
~~~^^^^^^^^^^^
KeyError: 'results'
```
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Add ParsertType Audio (#1637)
H
0c9dbca
### What problem does this PR solve?
#1514
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
fix minimax init error (#1537)
Kevin Hu
32204fb
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
fix bug in api (#1088)
KevinHuSh
21cb28c
### What problem does this PR solve?
#1075
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
add self-rag (#1070)
KevinHuSh
a49657b
### What problem does this PR solve?
#1069
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
refine API request data processing (#1031)
KevinHuSh
7e0ad60
### What problem does this PR solve?
#1024
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Update docnm_kwd to doc_name (#939)
GYH
8a1455e
### What problem does this PR solve?
Update docnm_kwd to doc_name
#908
### Type of change
- [x] Refactoring
fix raptor bugs (#928)
KevinHuSh
75a07ce
### What problem does this PR solve?
#922
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
Add /api/document/rm function (#887)
GYH
9d69040
### What problem does this PR solve?
Delete files from a knowledge base.
#717
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Add api/list_kb_docs function and modify api/list_chunks (#874)
GYH
99ebece
### What problem does this PR solve?
#717
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
fix bug of chat without stream (#830)
KevinHuSh
56f682d
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
fix zhipuAI stream issue (#825)
KevinHuSh
66d269d
### What problem does this PR solve?
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
0517 list chunks (#821)
GYH
f4cd7c3
### What problem does this PR solve?
#717
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
fix stream chat for ollama (#816)
KevinHuSh
09e1055
### What problem does this PR solve?
#709
### Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
add stream chat (#811)
KevinHuSh
028fe40
### What problem does this PR solve?
#709
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
Updated document upload method (#777)
GYH
83bd6a2
### What problem does this PR solve?
api_app.py
/document/upload
add two non mandatory parameters
parser_id:
[naive,qaresume,manual,table,paper,book,laws,presentation,picture,one]
run: 1
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
refactor code (#583)
KevinHuSh
2d09c38
### What problem does this PR solve?
### Type of change
- [x] Refactoring
Add upload file by knowledge base name API. (#539)
chrysanthemum-boy+1: FannC
caa112b
### What problem does this PR solve?
Add upload file by knowledge base name API.
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
- [x] Documentation Update
---------
Co-authored-by: chrysanthemum-boy <fannc@qq.com>
Fit a lot of encodings for text file. (#458)
KevinHuSh
d54aa01
### What problem does this PR solve?
#384
### Type of change
- [x] Performance Improvement
make sure the models will not be load twice (#422)
KevinHuSh
c9a1362
### What problem does this PR solve?
#381
### Type of change
- [x] Refactoring
conversation API backend update (#360)
KevinHuSh
50de567
### What problem does this PR solve?
Issue link:#345
### Type of change
- [x] New Feature (non-breaking change which adds functionality)