Class: LiterLlm::StreamChoice
- Inherits:
-
Object
- Object
- LiterLlm::StreamChoice
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#delta ⇒ StreamDelta
readonly
Returns the value of attribute delta.
-
#finish_reason ⇒ FinishReason?
readonly
Returns the value of attribute finish_reason.
-
#index ⇒ Integer
readonly
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.
235 |
# File 'sig/types.rbs', line 235
def initialize: (?index: Integer, ?delta: StreamDelta, ?finish_reason: FinishReason) -> void
|
Instance Attribute Details
#delta ⇒ StreamDelta (readonly)
Returns the value of attribute delta.
232 233 234 |
# File 'sig/types.rbs', line 232 def delta @delta end |
#finish_reason ⇒ FinishReason? (readonly)
Returns the value of attribute finish_reason.
233 234 235 |
# File 'sig/types.rbs', line 233 def finish_reason @finish_reason end |
#index ⇒ Integer (readonly)
Returns the value of attribute index.
231 232 233 |
# File 'sig/types.rbs', line 231 def index @index end |