diff --git a/berkeley-function-call-leaderboard/model_handler/utils.py b/berkeley-function-call-leaderboard/model_handler/utils.py index fd5af047c..0cc6ff1d4 100644 --- a/berkeley-function-call-leaderboard/model_handler/utils.py +++ b/berkeley-function-call-leaderboard/model_handler/utils.py @@ -356,7 +356,7 @@ def language_specific_pre_processing(function, test_category): ) else: value["description"] += ( - " This is Java " + value["type"] + " in string representation." + f" This is Java {value['type']} in string representation." ) value["type"] = "string" @@ -368,7 +368,7 @@ def language_specific_pre_processing(function, test_category): ) else: value["description"] += ( - " This is JavaScript " + value["type"] + " in string representation." + f" This is JavaScript {value['type']} in string representation." ) value["type"] = "string"