copyWith method
Generate a new ConfigCompletion object from the original object
Implementation
ConfigCompletion copyWith({
String? model,
int? maxTokens,
double? temperature,
int? topP,
int? n,
bool? stream,
int? logprobs,
String? stop,
}) {
return ConfigCompletion(
model: model ?? this.model,
maxTokens: maxTokens ?? this.maxTokens,
temperature: temperature ?? this.temperature,
topP: topP ?? this.topP,
n: n ?? this.n,
stream: stream ?? this.stream,
logprobs: logprobs ?? this.logprobs,
stop: stop ?? this.stop,
);
}