Files
ragflow/agent/component
Song Fuchang 6e7dd54a50 Feat: Support passing knowledge base id as variable in retrieval component (#7088)
### What problem does this PR solve?

Fix #6600

Hello, I have the same business requirement as #6600. My use case is: 

We have many departments (> 20 now and increasing), and each department
has its own knowledge base. Because the agent workflow is the same, so I
want to change the knowledge base on the fly, instead of creating agents
for every department.

It now looks like this:


![屏幕截图_20250416_212622](https://github.com/user-attachments/assets/5cb3dade-d4fb-4591-ade3-4b9c54387911)

Knowledge bases can be selected from the dropdown, and passed through
the variables in the table. All selected knowledge bases are used for
retrieval.

### 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):
2025-04-30 15:32:14 +08:00
..
2025-01-21 20:52:28 +08:00
2025-02-05 12:04:11 +08:00
2024-12-30 18:38:51 +08:00
2024-12-27 11:38:33 +08:00
2024-12-11 19:23:59 +08:00
2025-01-13 18:19:01 +08:00
2024-12-08 14:21:12 +08:00
2025-04-01 10:37:04 +08:00
2025-04-24 11:44:10 +08:00
2025-04-24 11:44:10 +08:00
2025-02-27 16:15:33 +08:00
2024-12-27 11:38:33 +08:00
2025-01-13 18:19:01 +08:00
2024-08-02 18:51:14 +08:00
2024-09-04 17:53:11 +08:00
2025-01-13 18:19:01 +08:00
2025-01-13 18:19:01 +08:00
2025-01-13 18:19:01 +08:00