Skip to content

Commit

Permalink
Merge branch 'llm_error' of github.com:itholic/spark into llm_error
Browse files Browse the repository at this point in the history
  • Loading branch information
itholic committed Jul 27, 2023
2 parents c5a4138 + accb87a commit f941b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/error_message_refiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _get_error_message(error_class: str) -> str:

def ask_chat_gpt(error_class: str, model_name: str) -> Tuple[str, str]:
"""
Requests error message improvement from Chat GPT.
Requests error message improvement from GPT API
Returns a tuple containing the old error message and the refined error message.
"""
old_error_message = " ".join(_get_error_message(error_class))
Expand Down

0 comments on commit f941b4e

Please sign in to comment.