copyWith method
Implementation
PromptEvaluationCriteria copyWith(
{String? id,
String? name,
String? type,
String? conversationGoalPrompt,
bool? useKnowledgeBase}) {
return PromptEvaluationCriteria(
id: id ?? this.id,
name: name ?? this.name,
type: type ?? this.type,
conversationGoalPrompt:
conversationGoalPrompt ?? this.conversationGoalPrompt,
useKnowledgeBase: useKnowledgeBase ?? this.useKnowledgeBase);
}