copyWithWrapped method
Implementation
PromptEvaluationCriteria copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? name,
Wrapped<String?>? type,
Wrapped<String>? conversationGoalPrompt,
Wrapped<bool?>? useKnowledgeBase}) {
return PromptEvaluationCriteria(
id: (id != null ? id.value : this.id),
name: (name != null ? name.value : this.name),
type: (type != null ? type.value : this.type),
conversationGoalPrompt: (conversationGoalPrompt != null
? conversationGoalPrompt.value
: this.conversationGoalPrompt),
useKnowledgeBase: (useKnowledgeBase != null
? useKnowledgeBase.value
: this.useKnowledgeBase));
}