copyWith method
Return a new ChatMessagePromptTemplate instance with the given values.
Implementation
@override
ChatMessagePromptTemplate copyWith({
final BasePromptTemplate? prompt,
final String? variableName,
}) {
return MessagePlaceholder(
variableName: variableName ?? this.variableName,
);
}