abstract struct OpenRouter::Choice

Direct Known Subclasses

Defined in:

openrouter/types/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(json : JSON::Any) #

[View source]

Instance Method Detail

def finish_reason : String | Nil #

[View source]
abstract def to_json(io : IO) #

[View source]
abstract def to_json(json : JSON::Builder) #

[View source]