CompletionChoice constructor
const
CompletionChoice({})
The generated result for from completion prompt.
Implementation
const factory CompletionChoice({
final String? text,
final int? index,
@JsonKey(name: "logprobs") final LogProb? logProbs,
@JsonKey(name: "finish_reason") final String? finishReason,
}) = _CompletionChoice;