Class: MistralModels::Choice
- Inherits:
-
Object
- Object
- MistralModels::Choice
- Defined in:
- lib/mistral_rb/response_models.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(choice_hash) ⇒ Choice
constructor
A new instance of Choice.
Constructor Details
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
16 17 18 |
# File 'lib/mistral_rb/response_models.rb', line 16 def index @index end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
16 17 18 |
# File 'lib/mistral_rb/response_models.rb', line 16 def @message end |