formatPrompt method

  1. @override
PromptValue formatPrompt(
  1. InputValues values
)
override

Format the prompt given the input values and return a formatted prompt value.

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

Implementation

@override
PromptValue formatPrompt(final InputValues values) {
  return PromptValue.chat(formatMessages(values));
}