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:



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

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

Instance Attribute Details

#deltaStreamDelta (readonly)

Returns the value of attribute delta.

Returns:



814
815
816
# File 'sig/types.rbs', line 814

def delta
  @delta
end

#finish_reasonFinishReason? (readonly)

Returns the value of attribute finish_reason.

Returns:



815
816
817
# File 'sig/types.rbs', line 815

def finish_reason
  @finish_reason
end

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


813
814
815
# File 'sig/types.rbs', line 813

def index
  @index
end