Class: LiterLlm::Choice

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChoice

Returns a new instance of Choice.

Parameters:



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

def initialize: (?index: Integer, ?message: AssistantMessage, ?finish_reason: FinishReason) -> void

Instance Attribute Details

#finish_reasonFinishReason?

Returns the value of attribute finish_reason.

Returns:



202
203
204
# File 'sig/types.rbs', line 202

def finish_reason
  @finish_reason
end

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


200
201
202
# File 'sig/types.rbs', line 200

def index
  @index
end

#messageAssistantMessage?

Returns the value of attribute message.

Returns:



201
202
203
# File 'sig/types.rbs', line 201

def message
  @message
end