Learn dialog2graph CLI interface#

Dialog2graph has CLI interface that allows you several generation actions. Below are listed all possible commands and its arguments.

Action

Command name

Options

Option description

Generate dialog data for a given topic

gen_data

--env, -e

Path to .env file

--cfg, -c

Path to cfg.yml file

--topic, -t

Topic for dialog generation

--output, -o

Output file path

Generate graph from dialogs data via d2g_algo pipeline

gen_graph_light

--env, -e

Path to .env file

--cfg, -c

Path to cfg.yml file

--dialogs, -d

Input dialogs file

--tgraph, -tg

Input true graph file

--output, -o

Output graph file

--report, -r

Output report file

--eval, -ev

Call pipeline evals

Generate graph from dialogs data via d2g_llm pipeline

gen_graph_llm

--env, -e

Path to .env file

--cfg, -c

Path to cfg.yml file

--dialogs, -d

Input dialogs file

--tgraph, -tg

Input true graph file

--output, -o

Output graph file

--report, -r

Output report file

--eval, -ev

Call pipeline evals

Extend graph from dialogs data via d2g_llm pipeline

gen_graph_extender

--env, -e

Path to .env file

--cfg, -c

Path to cfg.yml file

--dialogs, -d

Input dialogs file

--tgraph, -tg

Input true graph file

--output, -o

Output graph file

--report, -r

Output report file

--eval, -ev

Call pipeline evals