Class: LiterLlm::StreamChoice
- Inherits:
-
Object
- Object
- LiterLlm::StreamChoice
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#delta ⇒ StreamDelta?
Returns the value of attribute delta.
-
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
-
#index ⇒ Integer?
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize ⇒ StreamChoice
constructor
A new instance of StreamChoice.
Constructor Details
#initialize ⇒ StreamChoice
Returns a new instance of StreamChoice.
223 |
# File 'sig/types.rbs', line 223
def initialize: (?index: Integer, ?delta: StreamDelta, ?finish_reason: FinishReason) -> void
|
Instance Attribute Details
#delta ⇒ StreamDelta?
Returns the value of attribute delta.
220 221 222 |
# File 'sig/types.rbs', line 220 def delta @delta end |
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
221 222 223 |
# File 'sig/types.rbs', line 221 def finish_reason @finish_reason end |
#index ⇒ Integer?
Returns the value of attribute index.
219 220 221 |
# File 'sig/types.rbs', line 219 def index @index end |