Class: LiterLlm::ChatCompletionResponse
- Inherits:
-
Object
- Object
- LiterLlm::ChatCompletionResponse
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#choices ⇒ Array[Choice]?
Returns the value of attribute choices.
-
#created ⇒ Integer?
Returns the value of attribute created.
-
#id ⇒ String?
Returns the value of attribute id.
-
#model ⇒ String?
Returns the value of attribute model.
-
#object ⇒ String?
Returns the value of attribute object.
-
#service_tier ⇒ String?
Returns the value of attribute service_tier.
-
#system_fingerprint ⇒ String?
Returns the value of attribute system_fingerprint.
-
#usage ⇒ Usage?
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.
194 |
# File 'sig/types.rbs', line 194
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]?
Returns the value of attribute choices.
189 190 191 |
# File 'sig/types.rbs', line 189 def choices @choices end |
#created ⇒ Integer?
Returns the value of attribute created.
187 188 189 |
# File 'sig/types.rbs', line 187 def created @created end |
#id ⇒ String?
Returns the value of attribute id.
185 186 187 |
# File 'sig/types.rbs', line 185 def id @id end |
#model ⇒ String?
Returns the value of attribute model.
188 189 190 |
# File 'sig/types.rbs', line 188 def model @model end |
#object ⇒ String?
Returns the value of attribute object.
186 187 188 |
# File 'sig/types.rbs', line 186 def object @object end |
#service_tier ⇒ String?
Returns the value of attribute service_tier.
192 193 194 |
# File 'sig/types.rbs', line 192 def service_tier @service_tier end |
#system_fingerprint ⇒ String?
Returns the value of attribute system_fingerprint.
191 192 193 |
# File 'sig/types.rbs', line 191 def system_fingerprint @system_fingerprint end |
#usage ⇒ Usage?
Returns the value of attribute usage.
190 191 192 |
# File 'sig/types.rbs', line 190 def usage @usage end |