Class: LiterLlm::Choice
- Inherits:
-
Object
- Object
- LiterLlm::Choice
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
-
#index ⇒ Integer?
Returns the value of attribute index.
-
#message ⇒ AssistantMessage?
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ Choice
constructor
A new instance of Choice.
Constructor Details
#initialize ⇒ Choice
Returns a new instance of Choice.
204 |
# File 'sig/types.rbs', line 204
def initialize: (?index: Integer, ?message: AssistantMessage, ?finish_reason: FinishReason) -> void
|
Instance Attribute Details
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
202 203 204 |
# File 'sig/types.rbs', line 202 def finish_reason @finish_reason end |
#index ⇒ Integer?
Returns the value of attribute index.
200 201 202 |
# File 'sig/types.rbs', line 200 def index @index end |
#message ⇒ AssistantMessage?
Returns the value of attribute message.
201 202 203 |
# File 'sig/types.rbs', line 201 def @message end |