Skip to content

Commit

Permalink
Merge branch 'release' of github.com:sotopia-lab/sotopia into release
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Sep 5, 2024
2 parents fbe8410 + c9c411c commit e3e5737
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sotopia/generation_utils/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def format_bad_output_for_script(
ill_formed_output: str,
format_instructions: str,
agents: list[str],
model_name: str = "gpt-3.5-turbo",
model_name: str = "gpt-4o-mini",
) -> BaseMessage:
template = """
Given the string that can not be parsed by a parser, reformat it to a string that can be parsed by the parser which uses the following format instructions. Do not add or delete any information.
Expand Down Expand Up @@ -425,7 +425,7 @@ def format_bad_output_for_script(
def format_bad_output(
ill_formed_output: BaseMessage,
format_instructions: str,
model_name: str = "gpt-3.5-turbo",
model_name: str = "gpt-4o-mini",
) -> BaseMessage:
template = """
Given the string that can not be parsed by json parser, reformat it to a string that can be parsed by json parser.
Expand Down

0 comments on commit e3e5737

Please sign in to comment.