formatWith method

PromptTemplate formatWith(
  1. Map<String, String> values
)

Implementation

PromptTemplate formatWith(Map<String, String> values) {
  return PromptTemplate(
    name: name.formatWith(values),
    description: description?.formatWith(values),
    prompt: prompt.formatWith(values),
    annotations: _formatStringMap(annotations, values),
  );
}