ragflow/agent/component
Stephen Hu f56f7a5f94
Fix: Set Output In Category Component (#8010)
### What problem does this PR solve?

https://github.com/infiniflow/ragflow/issues/8006
The category should work well, but the category's downstream seems to be
unable to get the upstream output.
Add the category's output as an attribute.
However, in base.py, there is logic
` if self.component_name.lower().find("switch") < 0 and
self.get_component_name(u) in ["relevant", "categorize"]:
                continue`
If goto this cases will not tried to get output from Category (but I do
not have full context about this if logic).



### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-06-03 15:40:16 +08:00
..
__init__.py Feat: add code agent component (#7672) 2025-05-16 10:27:47 +08:00
akshare.py Import akshare lazzily. (#4708) 2025-02-05 12:04:11 +08:00
answer.py
arxiv.py
baidu.py Fix baidu request error (#7799) 2025-05-23 09:48:55 +08:00
baidufanyi.py
base.py Fix: code debug (#7949) 2025-05-29 16:53:27 +08:00
begin.py
bing.py
categorize.py Fix: Set Output In Category Component (#8010) 2025-06-03 15:40:16 +08:00
code.py Fix: code debug (#7949) 2025-05-29 16:53:27 +08:00
concentrator.py Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00
crawler.py
deepl.py
duckduckgo.py
email.py Fix: Email error. (#6701) 2025-04-01 10:37:04 +08:00
exesql.py Fix backquotes in text2sql causing execution errors (#7793) 2025-05-23 09:49:45 +08:00
generate.py Feat: Support tool calling in Generate component (#7572) 2025-05-16 16:32:19 +08:00
github.py
google.py
googlescholar.py
invoke.py Feat: add data type invoke (#5126) 2025-02-27 16:15:33 +08:00
iteration.py
iterationitem.py Feat: apply LLM to optimize citations. (#5935) 2025-03-11 19:56:21 +08:00
jin10.py Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00
keyword.py add show debug (#7390) 2025-05-12 17:15:19 +08:00
message.py
pubmed.py
qweather.py
relevant.py
retrieval.py Removed the "USER:" in the question, reducing the accuracy of the search (#7852) 2025-05-27 16:58:18 +08:00
rewrite.py Refa: make Rewrite component effective to relative data expression. (#5752) 2025-03-07 13:48:13 +08:00
switch.py Fix: swich follow interact issue. (#6279) 2025-03-19 17:30:12 +08:00
template.py Fix: bad escape \P at position 374 (line 18, column 23) when using th… (#7909) 2025-05-28 19:16:31 +08:00
tushare.py Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00
wencai.py Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00
wikipedia.py
yahoofinance.py Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00