copyWith method
Copy the prompt template with the given parameters.
Implementation
@override
PromptTemplate copyWith({
final Set<String>? inputVariables,
final Map<String, dynamic>? partialVariables,
final String? template,
}) {
return PromptTemplate(
inputVariables: inputVariables ?? this.inputVariables,
partialVariables: partialVariables ?? this.partialVariables,
template: template ?? this.template,
);
}