def messages_to_string()

in bots/incident-response-slackbot/incident_response_slackbot/openai_utils.py [0:0]


def messages_to_string(messages):
    text_messages = " ".join([message["text"] for message in messages if "text" in message])
    return text_messages