copyWith method
LLMUsageCalculatorRequestModel
copyWith({
- dynamic promptLength,
- dynamic numberOfPages,
- dynamic ragEnabled,
Implementation
LLMUsageCalculatorRequestModel copyWith(
{dynamic promptLength, dynamic numberOfPages, dynamic ragEnabled}) {
return LLMUsageCalculatorRequestModel(
promptLength: promptLength ?? this.promptLength,
numberOfPages: numberOfPages ?? this.numberOfPages,
ragEnabled: ragEnabled ?? this.ragEnabled);
}