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:



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

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

Instance Attribute Details

#deltaStreamDelta (readonly)

Returns the value of attribute delta.

Returns:



232
233
234
# File 'sig/types.rbs', line 232

def delta
  @delta
end

#finish_reasonFinishReason? (readonly)

Returns the value of attribute finish_reason.

Returns:



233
234
235
# File 'sig/types.rbs', line 233

def finish_reason
  @finish_reason
end

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


231
232
233
# File 'sig/types.rbs', line 231

def index
  @index
end