Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
KevinHuSh fe1805fa0e
add README to graph (#1211)
1 рік тому
..
component add README to graph (#1211) 1 рік тому
test add README to graph (#1211) 1 рік тому
README.md add README to graph (#1211) 1 рік тому
README_zh.md add README to graph (#1211) 1 рік тому
__init__.py support graph (#1152) 1 рік тому
canvas.py add README to graph (#1211) 1 рік тому
settings.py add README to graph (#1211) 1 рік тому

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 ran by docker, please go into the container before running the client. Otherwise, correct configurations in conf/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 plant to display it here in the near future.

How to set ‘kb_ids’ for component ‘Retrieval’ in DSL?