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:



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

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

Instance Attribute Details

#deltaStreamDelta?

Returns the value of attribute delta.

Returns:



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

def delta
  @delta
end

#finish_reasonFinishReason?

Returns the value of attribute finish_reason.

Returns:



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

def finish_reason
  @finish_reason
end

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


219
220
221
# File 'sig/types.rbs', line 219

def index
  @index
end