struct OpenAI::CompletionChoice
inherits Struct
#
Included modules
JSON::Serializable
OpenAI::CompletionChoice
Struct
#JSON::Serializable
.new(text : String, index : Int32, finish_reason : String, logprobs : LogProbResult | Nil)
##copy_with(text _text = @text, index _index = @index, finish_reason _finish_reason = @finish_reason, logprobs _logprobs = @logprobs)
##finish_reason : String
##index : Int32
##logprobs : LogProbResult | ::Nil
##text : String
#