diff --git a/backend/scripts/send_slack_report/initial_query_classification.py b/backend/scripts/send_slack_report/initial_query_classification.py index 2900f15cea3..0c11ec39a1f 100644 --- a/backend/scripts/send_slack_report/initial_query_classification.py +++ b/backend/scripts/send_slack_report/initial_query_classification.py @@ -125,4 +125,4 @@ def label_question(user_question, client): ) output = chat_completion.choices[0].message.content label = re.findall(r"\s*([\s\S]*?)\s*", output)[0] - return label + return label.upper()