diff --git a/bootcamp/tutorials/integration/evaluation_with_phoenix.ipynb b/bootcamp/tutorials/integration/evaluation_with_phoenix.ipynb index 7716af7d1..87599395a 100644 --- a/bootcamp/tutorials/integration/evaluation_with_phoenix.ipynb +++ b/bootcamp/tutorials/integration/evaluation_with_phoenix.ipynb @@ -526,12 +526,16 @@ "df[\"context\"] = df[\"contexts\"]\n", "df[\"reference\"] = df[\"contexts\"]\n", "df.rename(columns={\"question\": \"input\", \"answer\": \"output\"}, inplace=True)\n", - "assert all(column in df.columns for column in [\"output\", \"input\", \"context\", \"reference\"])\n", + "assert all(\n", + " column in df.columns for column in [\"output\", \"input\", \"context\", \"reference\"]\n", + ")\n", "\n", "# Run the evaluators, each evaluator will return a dataframe with evaluation results\n", "# We upload the evaluation results to Phoenix in the next step\n", "hallucination_eval_df, qa_eval_df = run_evals(\n", - " dataframe=df, evaluators=[hallucination_evaluator, qa_evaluator], provide_explanation=True\n", + " dataframe=df,\n", + " evaluators=[hallucination_evaluator, qa_evaluator],\n", + " provide_explanation=True,\n", ")" ] },