from Messages
Create an object of the desired type from messages.
Return
the created object of type T
Parameters
messages
the conversation messages to send to the LLM
Create an object of the desired type from messages.
the created object of type T
the conversation messages to send to the LLM