Skip to content

Commit

Permalink
Print more details in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dyastremsky committed Jul 16, 2024
1 parent 1a3d97f commit 3c23e1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def convert(
for index, row in enumerate(generic_dataset["rows"]):
if "query" not in row or "passages" not in row:
raise GenAIPerfException(
"Expected keys 'query' and 'passages' not found in dataset row."
f"Expected keys 'query' and 'passages' not found in dataset row: `{row}`"
)

model = self._select_model_name(model_name, index, model_selection_strategy)
Expand Down

0 comments on commit 3c23e1d

Please sign in to comment.