This function converts a data frame into an LLMMessage object representing a conversation history.
The data frame must have specific columns (role and content), with each row representing a message.
See also
Other Message Creation Utilities:
llm_message()
