Class: LiterLlm::ChatCompletionChunk
- Inherits:
-
Object
- Object
- LiterLlm::ChatCompletionChunk
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#choices ⇒ Array[StreamChoice]?
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 ⇒ ChatCompletionChunk
constructor
A new instance of ChatCompletionChunk.
Constructor Details
#initialize ⇒ ChatCompletionChunk
Returns a new instance of ChatCompletionChunk.
217 |
# File 'sig/types.rbs', line 217
def initialize: (?id: String, ?object: String, ?created: Integer, ?model: String, ?choices: Array[StreamChoice], ?usage: Usage, ?system_fingerprint: String, ?service_tier: String) -> void
|
Instance Attribute Details
#choices ⇒ Array[StreamChoice]?
Returns the value of attribute choices.
212 213 214 |
# File 'sig/types.rbs', line 212 def choices @choices end |
#created ⇒ Integer?
Returns the value of attribute created.
210 211 212 |
# File 'sig/types.rbs', line 210 def created @created end |
#id ⇒ String?
Returns the value of attribute id.
208 209 210 |
# File 'sig/types.rbs', line 208 def id @id end |
#model ⇒ String?
Returns the value of attribute model.
211 212 213 |
# File 'sig/types.rbs', line 211 def model @model end |
#object ⇒ String?
Returns the value of attribute object.
209 210 211 |
# File 'sig/types.rbs', line 209 def object @object end |
#service_tier ⇒ String?
Returns the value of attribute service_tier.
215 216 217 |
# File 'sig/types.rbs', line 215 def service_tier @service_tier end |
#system_fingerprint ⇒ String?
Returns the value of attribute system_fingerprint.
214 215 216 |
# File 'sig/types.rbs', line 214 def system_fingerprint @system_fingerprint end |
#usage ⇒ Usage?
Returns the value of attribute usage.
213 214 215 |
# File 'sig/types.rbs', line 213 def usage @usage end |