Skip to content

Commit

Permalink
rename param in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch committed Feb 7, 2022
1 parent dcc51e4 commit 2f4c2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/pipelines/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def eval(
To this end, labels are used as input to the node instead of the output of the previous node in the pipeline.
The generated dataframes in the EvaluationResult then contain additional rows, which can be distinguished from the integrated evaluation results based on the
values "integrated" or "isolated" in the column "eval_mode" and the evaluation report then additionally lists the upper bound of each node's evaluation metrics.
:param documents: If set to True, the documents specified in the labels are passed as input to the first node in the pipeline. Can be used to evaluate a pipeline that consists of a reader without a retriever.
:param pass_documents_as_input: If set to True, the documents specified in the labels are passed as input to the first node in the pipeline. Can be used to evaluate a pipeline that consists of a reader without a retriever.
"""
eval_result = EvaluationResult()
if add_isolated_node_eval:
Expand Down

0 comments on commit 2f4c2ec

Please sign in to comment.