GptChatCompletionRequest constructor

GptChatCompletionRequest({
  1. required String model,
  2. required List<GptMessage> messages,
  3. double? temperature,
  4. String? user,
  5. bool? stream,
  6. int? frequencyPenalty,
  7. int? maxTokens,
  8. int? n,
  9. int? presencePenalty,
  10. double? topP,
})

Implementation

GptChatCompletionRequest({required this.model, required this.messages, this.temperature, this.user, this.stream, this.frequencyPenalty, this.maxTokens, this.n, this.presencePenalty, this.topP});