Class: Llmshim::ResponseMessage
- Inherits:
-
Struct
- Object
- Struct
- Llmshim::ResponseMessage
- Defined in:
- lib/llmshim/types.rb
Overview
The assistant message inside a ChatResponse.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#role ⇒ Object
Returns the value of attribute role.
-
#tool_calls ⇒ Object
Returns the value of attribute tool_calls.
Class Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
44 45 46 |
# File 'lib/llmshim/types.rb', line 44 def content @content end |
#role ⇒ Object
Returns the value of attribute role
44 45 46 |
# File 'lib/llmshim/types.rb', line 44 def role @role end |
#tool_calls ⇒ Object
Returns the value of attribute tool_calls
44 45 46 |
# File 'lib/llmshim/types.rb', line 44 def tool_calls @tool_calls end |