Class: Omnibot::Result
- Inherits:
-
Struct
- Object
- Struct
- Omnibot::Result
- Defined in:
- lib/omnibot/result.rb
Instance Attribute Summary collapse
-
#fast_path ⇒ Object
Returns the value of attribute fast_path.
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#text ⇒ Object
Returns the value of attribute text.
-
#tool_calls ⇒ Object
Returns the value of attribute tool_calls.
-
#usage ⇒ Object
Returns the value of attribute usage.
Instance Method Summary collapse
Instance Attribute Details
#fast_path ⇒ Object
Returns the value of attribute fast_path
5 6 7 |
# File 'lib/omnibot/result.rb', line 5 def fast_path @fast_path end |
#messages ⇒ Object
Returns the value of attribute messages
5 6 7 |
# File 'lib/omnibot/result.rb', line 5 def @messages end |
#text ⇒ Object
Returns the value of attribute text
5 6 7 |
# File 'lib/omnibot/result.rb', line 5 def text @text end |
#tool_calls ⇒ Object
Returns the value of attribute tool_calls
5 6 7 |
# File 'lib/omnibot/result.rb', line 5 def tool_calls @tool_calls end |
#usage ⇒ Object
Returns the value of attribute usage
5 6 7 |
# File 'lib/omnibot/result.rb', line 5 def usage @usage end |
Instance Method Details
#fast_path? ⇒ Boolean
6 |
# File 'lib/omnibot/result.rb', line 6 def fast_path? = !!fast_path |