struct

Crig::Providers::Perplexity::CompletionResponse

Inherits Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
new(id : String, model : String, object : String, created : Int64, choices : Array(Choice), usage : Usage)
Source

Instance methods

choices
Source
created
Source
model
Source
object
Source
to_crig_response
Source
usage
Source