messages_content function

Extract Messages Content from OpenAI API Response