ChatCompletionRequest constructor

const ChatCompletionRequest({
  1. required String model,
  2. double? temperature,
  3. int? maxTokens,
  4. double? topP,
  5. int? topK,
  6. List<String>? stop,
  7. double? frequencyPenalty,
  8. double? presencePenalty,
  9. int? seed,
  10. ResponseFormat? responseFormat,
  11. Map<String, dynamic>? customParameters,
})

Implementation

const ChatCompletionRequest({
  required this.model,
  this.temperature,
  this.maxTokens,
  this.topP,
  this.topK,
  this.stop,
  this.frequencyPenalty,
  this.presencePenalty,
  this.seed,
  this.responseFormat,
  this.customParameters,
});