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.
205 |
# File 'sig/types.rbs', line 205
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.
200 201 202 |
# File 'sig/types.rbs', line 200 def choices @choices end |
#created ⇒ Integer (readonly)
Returns the value of attribute created.
198 199 200 |
# File 'sig/types.rbs', line 198 def created @created end |
#id ⇒ String (readonly)
Returns the value of attribute id.
196 197 198 |
# File 'sig/types.rbs', line 196 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
199 200 201 |
# File 'sig/types.rbs', line 199 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
197 198 199 |
# File 'sig/types.rbs', line 197 def object @object end |
#service_tier ⇒ String? (readonly)
Returns the value of attribute service_tier.
203 204 205 |
# File 'sig/types.rbs', line 203 def service_tier @service_tier end |
#system_fingerprint ⇒ String? (readonly)
Returns the value of attribute system_fingerprint.
202 203 204 |
# File 'sig/types.rbs', line 202 def system_fingerprint @system_fingerprint end |
#usage ⇒ Usage? (readonly)
Returns the value of attribute usage.
201 202 203 |
# File 'sig/types.rbs', line 201 def usage @usage end |