Skip to content

Commit ac45f9b

Browse files
Merge branch 'main' into dev
2 parents a6b2415 + a79339f commit ac45f9b

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
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)

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,13 @@ requires = ["poetry-core"]
5353
build-backend = "poetry.core.masonry.api"
5454

5555

56-
57-
58-
59-
60-
6156
[tool.poetry.group.lint]
6257
optional = true
6358

6459
[tool.poetry.group.lint.dependencies]
6560
ruff = "*"
6661

6762

68-
69-
70-
71-
7263
[tool.poetry.group.tests]
7364
optional = true
7465

0 commit comments

Comments
 (0)