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.
202 |
# File 'sig/types.rbs', line 202
def initialize: (?index: Integer, ?message: AssistantMessage, ?finish_reason: FinishReason) -> void
|
Instance Attribute Details
#finish_reason ⇒ FinishReason?
Returns the value of attribute finish_reason.
200 201 202 |
# File 'sig/types.rbs', line 200 def finish_reason @finish_reason end |
#index ⇒ Integer?
Returns the value of attribute index.
198 199 200 |
# File 'sig/types.rbs', line 198 def index @index end |
#message ⇒ AssistantMessage?
Returns the value of attribute message.
199 200 201 |
# File 'sig/types.rbs', line 199 def @message end |