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.
225 |
# File 'sig/types.rbs', line 225
def initialize: (?index: Integer, ?delta: StreamDelta, ?finish_reason: FinishReason) -> void
|
Instance Attribute Details
#delta ⇒ StreamDelta?
Returns the value of attribute delta.
222 223 224 |
# File 'sig/types.rbs', line 222 def delta @delta end |
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
223 224 225 |
# File 'sig/types.rbs', line 223 def finish_reason @finish_reason end |
#index ⇒ Integer?
Returns the value of attribute index.
221 222 223 |
# File 'sig/types.rbs', line 221 def index @index end |