Skip to content

Commit d8f80ac

Browse files
committed
supply a default conversation_dist value for the preconfigured conversational_pipeline
1 parent 9b3a750 commit d8f80ac

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

renard/pipeline/preconfigured.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ def conversational_pipeline(
8787

8888
if not "graph_type" in graph_extractor_kwargs:
8989
graph_extractor_kwargs["graph_type"] = "conversation"
90+
if (
91+
graph_extractor_kwargs["graph_type"] == "conversation"
92+
and not "conversation_dist" in graph_extractor_kwargs
93+
):
94+
graph_extractor_kwargs["conversation_dist"] = 1
9095

9196
return Pipeline(
9297
[

0 commit comments

Comments
 (0)