ragflow/web
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
..
.husky
public Feat: Using IconFont as an additional icon library #3221 (#7427) 2025-04-30 13:09:42 +08:00
src Feat: Support passing knowledge base id as variable in retrieval component (#7088) 2025-04-30 15:32:14 +08:00
.env
.eslintrc.js
.gitignore
.npmrc Fix: Limit node version #3547 (#3563) 2024-11-21 18:14:22 +08:00
.prettierignore
.prettierrc Feat: Add background to next login page #3221 (#4474) 2025-01-14 13:43:18 +08:00
.umirc.ts Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
externals.d.ts
jest-setup.ts
jest.config.ts
package-lock.json Feat: Display document parsing status #3221 (#7241) 2025-04-24 11:45:37 +08:00
package.json Feat: Display document parsing status #3221 (#7241) 2025-04-24 11:45:37 +08:00
tailwind.config.js Feat: Modify background color of Card #3221 (#7421) 2025-04-30 09:12:28 +08:00
tailwind.css Feat: Modify background color of Card #3221 (#7421) 2025-04-30 09:12:28 +08:00
tsconfig.json feat: Configure the root directory alias #1739 (#2875) 2024-10-17 11:36:01 +08:00
typings.d.ts Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00