toChatMessages method

  1. @override
List<ChatMessage> toChatMessages()
override

Returns a list of messages representing the prompt.

Implementation

@override
List<ChatMessage> toChatMessages() {
  return [ChatMessage.humanText(value)];
}