您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. English | [简体中文](./README_zh.md)
  2. # *Graph*
  3. ## Introduction
  4. *Graph* is a mathematical concept which is composed of nodes and edges.
  5. It is used to compose a complex work flow or agent.
  6. And this graph is beyond the DAG that we can use circles to describe our agent or work flow.
  7. 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.
  8. 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.
  9. Otherwise, correct configurations in conf/service_conf.yaml is essential.
  10. ```bash
  11. PYTHONPATH=path/to/ragflow python graph/test/client.py -h
  12. usage: client.py [-h] -s DSL -t TENANT_ID -m
  13. options:
  14. -h, --help show this help message and exit
  15. -s DSL, --dsl DSL input dsl
  16. -t TENANT_ID, --tenant_id TENANT_ID
  17. Tenant ID
  18. -m, --stream Stream output
  19. ```
  20. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  21. <img src="https://github.com/infiniflow/ragflow/assets/12318111/79179c5e-d4d6-464a-b6c4-5721cb329899" width="1000"/>
  22. </div>
  23. ## How to gain a TENANT_ID in command line?
  24. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  25. <img src="https://github.com/infiniflow/ragflow/assets/12318111/419d8588-87b1-4ab8-ac49-2d1f047a4b97" width="600"/>
  26. </div>
  27. 💡 We plan to display it here in the near future.
  28. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  29. <img src="https://github.com/infiniflow/ragflow/assets/12318111/c97915de-0091-46a5-afd9-e278946e5fe3" width="600"/>
  30. </div>
  31. ## How to set 'kb_ids' for component 'Retrieval' in DSL?
  32. <div align="center" style="margin-top:20px;margin-bottom:20px;">
  33. <img src="https://github.com/infiniflow/ragflow/assets/12318111/0a731534-cac8-49fd-8a92-ca247eeef66d" width="600"/>
  34. </div>