You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [English](./README.md) | 简体中文
  2. # *Graph*
  3. ## 简介
  4. "Graph"是一个由节点和边组成的数学概念。
  5. 它被用来构建复杂的工作流或代理。
  6. 这个图超越了有向无环图(DAG),我们可以使用循环来描述我们的代理或工作流。
  7. 在这个文件夹下,我们提出了一个测试工具 ./test/client.py,
  8. 它可以测试像文件夹./test/dsl_examples下一样的DSL文件。
  9. 请在启动 RAGFlow 的同一文件夹中使用此客户端。如果它是通过 Docker 运行的,请在运行客户端之前进入容器。
  10. 否则,正确配置 conf/service_conf.yaml 文件是必不可少的。
  11. ```bash
  12. PYTHONPATH=path/to/ragflow python graph/test/client.py -h
  13. usage: client.py [-h] -s DSL -t TENANT_ID -m
  14. options:
  15. -h, --help show this help message and exit
  16. -s DSL, --dsl DSL input dsl
  17. -t TENANT_ID, --tenant_id TENANT_ID
  18. Tenant ID
  19. -m, --stream Stream output
  20. ```
  21. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  22. <img src="https://github.com/infiniflow/ragflow/assets/12318111/05924730-c427-495b-8ee4-90b8b2250681" width="1000"/>
  23. </div>
  24. ## 命令行中的TENANT_ID如何获得?
  25. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  26. <img src="https://github.com/infiniflow/ragflow/assets/12318111/419d8588-87b1-4ab8-ac49-2d1f047a4b97" width="600"/>
  27. </div>
  28. 💡 后面会展示在这里:
  29. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  30. <img src="https://github.com/infiniflow/ragflow/assets/12318111/c97915de-0091-46a5-afd9-e278946e5fe3" width="600"/>
  31. </div>
  32. ## DSL里面的Retrieval组件的kb_ids怎么填?
  33. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  34. <img src="https://github.com/infiniflow/ragflow/assets/12318111/0a731534-cac8-49fd-8a92-ca247eeef66d" width="600"/>
  35. </div>