Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Kevin Hu 4e5f92f01b
Fix interface as input variable for component. (#4212)
10 månader sedan
..
component Fix interface as input variable for component. (#4212) 10 månader sedan
templates Add support to iframe chatbot (#3929) 10 månader sedan
test Fix errors detected by Ruff (#3918) 10 månader sedan
README.md Miscellaneous updates (#3942) 10 månader sedan
README_zh.md Miscellaneous updates (#3942) 10 månader sedan
__init__.py Add back beartype (#3967) 10 månader sedan
canvas.py Fix bugs in agent api and update api document (#3996) 10 månader sedan
settings.py Rework logging (#3358) 11 månader sedan

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?