formatMessages method

  1. @override
List<ChatMessage> formatMessages(
  1. InputValues values
)
override

Format the prompt with the inputs returning a list of messages.

  • values - Any arguments to be passed to the prompt template.

Implementation

@override
List<ChatMessage> formatMessages(final InputValues values) {
  return [format(values)];
}