ragflow/agent/component
Wang 7fad48f42c
fix: empty or contains only empty strings. (#2347)
### What problem does this PR solve?
the setting was kept empty for Empty_response. In expectation, this case
should get a response from the LLM if can't find the references from the
knowledgebase.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)


![image](https://github.com/user-attachments/assets/9c382b1d-40f6-43b0-848c-fa6863f9a253)

![image](https://github.com/user-attachments/assets/032d2001-97a2-4faa-91bf-c9c57caf2070)

Co-authored-by: Theta Wang (ncu) <chunshan.connect@gmail.com>
2024-09-11 09:32:12 +08:00
..
__init__.py Add component AkShare (#2290) 2024-09-06 19:09:41 +08:00
akshare.py Add component AkShare (#2290) 2024-09-06 19:09:41 +08:00
answer.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
arxiv.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
baidu.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
baidufanyi.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
base.py Fix mutiple retrieval component content (#2006) 2024-08-19 20:01:41 +08:00
begin.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
bing.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
categorize.py fix categorize error (#2348) 2024-09-10 16:03:30 +08:00
cite.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
deepl.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
duckduckgo.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
exesql.py Fix exeSQL component output (#2141) 2024-08-28 16:39:10 +08:00
generate.py Fix bug : bad escape \x at position xxx (line xx, column xx) in agent (#2226) 2024-09-03 19:56:06 +08:00
github.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
google.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
googlescholar.py Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
jin10.py Fix graphrag : "role" user (#2273) 2024-09-06 10:04:01 +08:00
keyword.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
message.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
pubmed.py Fix component PubMed (#2195) 2024-09-02 18:49:09 +08:00
qweather.py Fix component qweather (#2240) 2024-09-04 17:53:11 +08:00
relevant.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
retrieval.py fix: empty or contains only empty strings. (#2347) 2024-09-11 09:32:12 +08:00
rewrite.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
switch.py Fix Logical operator (#2143) 2024-08-28 19:04:48 +08:00
tushare.py Add component TuShare (#2288) 2024-09-06 18:33:35 +08:00
wencai.py Add component WenCai (#2269) 2024-09-05 17:50:21 +08:00
wikipedia.py Add graphrag (#1793) 2024-08-02 18:51:14 +08:00
yahoofinance.py Add component yahoo finance (#2244) 2024-09-04 19:51:07 +08:00