Skip to content

Commit

Permalink
Appease ruff :)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJBoyer committed Apr 18, 2024
1 parent cd3020e commit cfc4afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-household-queries/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def evaluate(eval_llm_client, questions, parameters):
"question_id": question["id"],
"question_text": question["question"],
"correct_answer": question[
"orig_answer" if "short_answer" not in question else "answer"
"orig_answer" if not "short_answer" in question else "answer"
],
"ai_generated_answer": get_answer(question["question"], parameters),
}
Expand Down

0 comments on commit cfc4afe

Please sign in to comment.