OpenAI::Choice
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(finish_reason : String | Nil, index : Int32, logprobs : Logprobs | Nil, text : String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(finish_reason _finish_reason = @finish_reason, index _index = @index, logprobs _logprobs = @logprobs, text _text = @text)
Sourcefinish_reason
index
logprobs
text