Skip to content

Commit

Permalink
Field name typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjoy committed Sep 18, 2023
1 parent 811c400 commit 8d456f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion align_system/algorithms/llm_chat_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def attempt_generic_parse(generated_output, fields_of_interest):
else:
# Special handling of common "Index" field (should be
# an integer)
if field == 'Index':
if field == 'Answer':
if m := re.search(r'\d+', parsed_field): # noqa
parsed_field = m.group(0)

Expand Down

0 comments on commit 8d456f0

Please sign in to comment.