Skip to content

Commit 62a680d

Browse files
Merge remote-tracking branch 'origin/dev' into dev
2 parents bf5bea6 + ac45f9b commit 62a680d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

dialogue2graph/pipelines/d2g_light/three_stages_light.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def __init__(
6969
filling_llm: str = "three_stages_light_filling_llm:v1",
7070
formatting_llm: str = "three_stages_light_formatting_llm:v1",
7171
sim_model: str = "three_stages_light_sim_model:v1",
72+
7273
step2_evals: list[Callable] | None = [],
7374
end_evals: list[Callable] | None = [],
7475
):

dialogue2graph/pipelines/d2g_llm/three_stages_llm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def __init__(
9797
filling_llm: str = "three_stages_filling_llm:v1",
9898
formatting_llm: str = "three_stages_formatting_llm:v1",
9999
sim_model: str = "three_stages_sim_model:v1",
100+
100101
step2_evals: list[Callable] | None = None,
101102
end_evals: list[Callable] | None = None,
102103
):

docs/source/userguides/generate_graphs.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ First of all we need to import the :py:class:`~dialogue2graph.pipelines.model_st
1212
from dialogue2graph.pipelines.d2g_llm import LLMGraphGenerator
1313
from dialogue2graph.pipelines.helpers.parse_data import PipelineRawDataType
1414
15+
1516
Now, we need to read the dialogues we want to generate a graph for. In this example we will read the dialogues from a JSON file. The dialogues should be in the following format:
1617

1718
.. code-block:: json
@@ -90,4 +91,5 @@ Now we can generate the graph. We will pass the dialogues ``.invoke()`` method o
9091
graph, report = graph_generator.invoke(data, enable_evals=True)
9192
graph.visualise()
9293
94+
9395
print(report)

0 commit comments

Comments
 (0)