ChatCompletionChoice constructor

ChatCompletionChoice({
  1. required int index,
  2. required ChatCompletionMessage message,
  3. String? finishReason,
  4. dynamic logprobs,
})

Implementation

ChatCompletionChoice({
  required this.index,
  required this.message,
  this.finishReason,
  this.logprobs,
});