diff --git a/haystack/pipelines/base.py b/haystack/pipelines/base.py index 5a2620d561..750f268a3a 100644 --- a/haystack/pipelines/base.py +++ b/haystack/pipelines/base.py @@ -1109,6 +1109,8 @@ def eval( if add_isolated_node_eval: if params is None: params = {} + else: + params = params.copy() params["add_isolated_node_eval"] = True # if documents is None, set docs_per_label to None for each label