copyWith method

LLMUsageCalculatorPublicRequestModel copyWith({
  1. int? promptLength,
  2. int? numberOfPages,
  3. bool? ragEnabled,
})

Implementation

LLMUsageCalculatorPublicRequestModel copyWith(
    {int? promptLength, int? numberOfPages, bool? ragEnabled}) {
  return LLMUsageCalculatorPublicRequestModel(
      promptLength: promptLength ?? this.promptLength,
      numberOfPages: numberOfPages ?? this.numberOfPages,
      ragEnabled: ragEnabled ?? this.ragEnabled);
}