copyWith abstract method

BasePromptTemplate copyWith({
  1. Set<String>? inputVariables,
  2. Map<String, dynamic>? partialVariables,
})

Copy the prompt template with the given parameters.

Implementation

BasePromptTemplate copyWith({
  final Set<String>? inputVariables,
  final Map<String, dynamic>? partialVariables,
});