toChatMessages abstract method

List<ChatMessage> toChatMessages()

Returns a list of messages representing the prompt.

Implementation

List<ChatMessage> toChatMessages();