Class: LiterLlm::ChatCompletionChunk
- Inherits:
-
Object
- Object
- LiterLlm::ChatCompletionChunk
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#choices ⇒ Array[StreamChoice]
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 ⇒ ChatCompletionChunk
constructor
A new instance of ChatCompletionChunk.
Constructor Details
#initialize ⇒ ChatCompletionChunk
Returns a new instance of ChatCompletionChunk.
131 |
# File 'sig/types.rbs', line 131
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] (readonly)
Returns the value of attribute choices.
126 127 128 |
# File 'sig/types.rbs', line 126 def choices @choices end |
#created ⇒ Integer (readonly)
Returns the value of attribute created.
124 125 126 |
# File 'sig/types.rbs', line 124 def created @created end |
#id ⇒ String (readonly)
Returns the value of attribute id.
122 123 124 |
# File 'sig/types.rbs', line 122 def id @id end |
#model ⇒ String (readonly)
Returns the value of attribute model.
125 126 127 |
# File 'sig/types.rbs', line 125 def model @model end |
#object ⇒ String (readonly)
Returns the value of attribute object.
123 124 125 |
# File 'sig/types.rbs', line 123 def object @object end |
#service_tier ⇒ String? (readonly)
Returns the value of attribute service_tier.
129 130 131 |
# File 'sig/types.rbs', line 129 def service_tier @service_tier end |
#system_fingerprint ⇒ String? (readonly)
Returns the value of attribute system_fingerprint.
128 129 130 |
# File 'sig/types.rbs', line 128 def system_fingerprint @system_fingerprint end |
#usage ⇒ Usage? (readonly)
Returns the value of attribute usage.
127 128 129 |
# File 'sig/types.rbs', line 127 def usage @usage end |