ragflow / agent /README_zh.md
zxsipola123456's picture
Upload 769 files
ab2ded1 verified
|
raw
history blame
No virus
1.85 kB

English | 简体中文

Graph

简介

"Graph"是一个由节点和边组成的数学概念。 它被用来构建复杂的工作流或代理。 这个图超越了有向无环图(DAG),我们可以使用循环来描述我们的代理或工作流。 在这个文件夹下,我们提出了一个测试工具 ./test/client.py, 它可以测试像文件夹./test/dsl_examples下一样的DSL文件。 请在启动 RAGFlow 的同一文件夹中使用此客户端。如果它是通过 Docker 运行的,请在运行客户端之前进入容器。 否则,正确配置 conf/service_conf.yaml 文件是必不可少的。

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

命令行中的TENANT_ID如何获得?

💡 后面会展示在这里:

DSL里面的Retrieval组件的kb_ids怎么填?