RAGflow/agent
zstar 38d8932947 refactor(agent): 移除 deepdoc 相关代码,防止误导deepwiki
- 移除了 Dockerfile 中的 deepdoc 目录
- 删除了 invoke.py 中的 HtmlParser 导入和相关代码
- 移除了 document_app.py 中的 RAGFlowHtmlParser 导入和相关代码
- 删除了 task_service.py 中的 PdfParser 和 RAGFlowExcelParser 导入和相关代码
- 优化了部分代码格式和结构
2025-06-05 10:13:36 +08:00
..
component refactor(agent): 移除 deepdoc 相关代码,防止误导deepwiki 2025-06-05 10:13:36 +08:00
templates 首次提交 2025-03-24 11:19:28 +08:00
test 首次提交 2025-03-24 11:19:28 +08:00
README.md 首次提交 2025-03-24 11:19:28 +08:00
README_zh.md 首次提交 2025-03-24 11:19:28 +08:00
__init__.py 首次提交 2025-03-24 11:19:28 +08:00
canvas.py 首次提交 2025-03-24 11:19:28 +08:00
settings.py 首次提交 2025-03-24 11:19:28 +08:00

README.md

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?