Extracts the content of the last message from an LLM response
The output from the LLM containing messages
The content of the last message
Extracts the content of the last message from an LLM response