ragflow/agent
Kevin Hu 7b57ab5dea
Fix: retrieval component for shared KB issue. (#7513)
### What problem does this PR solve?

#7483

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-05-08 09:20:34 +08:00
..
component Fix: retrieval component for shared KB issue. (#7513) 2025-05-08 09:20:34 +08:00
templates Fix DB assistant template error. (#4925) 2025-02-13 11:33:25 +08:00
test Format: dos2unix (#4467) 2025-01-13 18:19:01 +08:00
__init__.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
canvas.py Fix: handle waiting tasks when upstream is switch/categorize/relevant and normal path fails (#6874) 2025-04-09 12:37:21 +08:00
README.md Miscellaneous updates (#3942) 2024-12-10 10:19:50 +08:00
README_zh.md Miscellaneous updates (#3942) 2024-12-10 10:19:50 +08:00
settings.py Update comments (#4569) 2025-01-21 20:52:28 +08:00

English | 简体中文

Graph

Introduction

Graph is a mathematical concept which is composed of nodes and edges. It is used to compose a complex work flow or agent. And this graph is beyond the DAG that we can use circles to describe our agent or work flow. Under this folder, we propose a test tool ./test/client.py which can test the DSLs such as json files in folder ./test/dsl_examples. Please use this client at the same folder you start RAGFlow. If it's run by Docker, please go into the container before running the client. Otherwise, correct configurations in service_conf.yaml is essential.

PYTHONPATH=path/to/ragflow python graph/test/client.py -h
usage: client.py [-h] -s DSL -t TENANT_ID -m

options:
  -h, --help            show this help message and exit
  -s DSL, --dsl DSL     input dsl
  -t TENANT_ID, --tenant_id TENANT_ID
                        Tenant ID
  -m, --stream          Stream output

How to gain a TENANT_ID in command line?

💡 We plan to display it here in the near future.

How to set 'kb_ids' for component 'Retrieval' in DSL?