in bugbounty_gpt/handlers/openai_handler.py [0:0]
def _classifications_sanitization(input_string):
"""
Sanitizes the input string by removing spaces, converting to upper case, and replacing spaces with underscores.
:param input_string: The input string to sanitize.
:return: The sanitized string.
"""
return input_string.strip().replace(' ', '_').upper()