Class: Tina4::ChatResponse
- Inherits:
-
Struct
- Object
- Struct
- Tina4::ChatResponse
- Defined in:
- lib/tina4/ai_client.rb
Instance Attribute Summary collapse
-
#finish_reason ⇒ Object
Returns the value of attribute finish_reason.
-
#model ⇒ Object
Returns the value of attribute model.
-
#raw ⇒ Object
Returns the value of attribute raw.
-
#text ⇒ Object
Returns the value of attribute text.
-
#usage ⇒ Object
Returns the value of attribute usage.
Instance Attribute Details
#finish_reason ⇒ Object
Returns the value of attribute finish_reason
22 23 24 |
# File 'lib/tina4/ai_client.rb', line 22 def finish_reason @finish_reason end |
#model ⇒ Object
Returns the value of attribute model
22 23 24 |
# File 'lib/tina4/ai_client.rb', line 22 def model @model end |
#raw ⇒ Object
Returns the value of attribute raw
22 23 24 |
# File 'lib/tina4/ai_client.rb', line 22 def raw @raw end |
#text ⇒ Object
Returns the value of attribute text
22 23 24 |
# File 'lib/tina4/ai_client.rb', line 22 def text @text end |
#usage ⇒ Object
Returns the value of attribute usage
22 23 24 |
# File 'lib/tina4/ai_client.rb', line 22 def usage @usage end |