Class: LiterLlm::ChatCompletionResponse
- Inherits:
-
Object
- Object
- LiterLlm::ChatCompletionResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#choices ⇒ Array[Choice]
readonly
Returns the value of attribute choices.
-
#created ⇒ Integer
readonly
Returns the value of attribute created.
-
#id ⇒ String
readonly
Returns the value of attribute id.
-
#model ⇒ String
readonly
Returns the value of attribute model.
-
#object ⇒ String
readonly
Returns the value of attribute object.
-
#service_tier ⇒ String?
readonly
Returns the value of attribute service_tier.
-
#system_fingerprint ⇒ String?
readonly
Returns the value of attribute system_fingerprint.
-
#usage ⇒ Usage?
readonly
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize ⇒ ChatCompletionResponse
constructor
A new instance of ChatCompletionResponse.
Constructor Details
#initialize ⇒ ChatCompletionResponse
Returns a new instance of ChatCompletionResponse.
179 |
# File 'sig/types.rbs', line 179
def initialize: (?id: String, ?object: String, ?created: Integer, ?model: String, ?choices: Array[Choice], ?usage: Usage, ?system_fingerprint: String, ?service_tier: String) -> void
|
Instance Attribute Details
#choices ⇒ Array[Choice] (readonly)
Returns the value of attribute choices.
174 175 176 |
# File 'sig/types.rbs', line 174 def choices @choices end |
#created ⇒ Integer (readonly)
Returns the value of attribute created.
172 173 174 |
# File 'sig/types.rbs', line 172 def created @created end |
#id ⇒ String (readonly)
Returns the value of attribute id.
170 171 172 |
# File 'sig/types.rbs', line 170 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
173 174 175 |
# File 'sig/types.rbs', line 173 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
171 172 173 |
# File 'sig/types.rbs', line 171 def object @object end |
#service_tier ⇒ String? (readonly)
Returns the value of attribute service_tier.
177 178 179 |
# File 'sig/types.rbs', line 177 def service_tier @service_tier end |
#system_fingerprint ⇒ String? (readonly)
Returns the value of attribute system_fingerprint.
176 177 178 |
# File 'sig/types.rbs', line 176 def system_fingerprint @system_fingerprint end |
#usage ⇒ Usage? (readonly)
Returns the value of attribute usage.
175 176 177 |
# File 'sig/types.rbs', line 175 def usage @usage end |