Class: LiterLlm::StreamChoice

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStreamChoice

Returns a new instance of StreamChoice.

Parameters:



225
# File 'sig/types.rbs', line 225

def initialize: (?index: Integer, ?delta: StreamDelta, ?finish_reason: FinishReason) -> void

Instance Attribute Details

#deltaStreamDelta?

Returns the value of attribute delta.

Returns:



222
223
224
# File 'sig/types.rbs', line 222

def delta
  @delta
end

#finish_reasonFinishReason?

Returns the value of attribute finish_reason.

Returns:



223
224
225
# File 'sig/types.rbs', line 223

def finish_reason
  @finish_reason
end

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


221
222
223
# File 'sig/types.rbs', line 221

def index
  @index
end