Class: FuncRunner::FunctionExecution
- Inherits:
-
Object
- Object
- FuncRunner::FunctionExecution
- Defined in:
- lib/func_runner/function_execution.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tool_call_id ⇒ Object
Returns the value of attribute tool_call_id.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ FunctionExecution
constructor
A new instance of FunctionExecution.
Constructor Details
#initialize(options = {}) ⇒ FunctionExecution
Returns a new instance of FunctionExecution.
7 8 9 10 11 |
# File 'lib/func_runner/function_execution.rb', line 7 def initialize( = {}) @name = [:name] @arguments = [:arguments] || {} @tool_call_id = [:tool_call_id] end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
5 6 7 |
# File 'lib/func_runner/function_execution.rb', line 5 def arguments @arguments end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/func_runner/function_execution.rb', line 5 def name @name end |
#tool_call_id ⇒ Object
Returns the value of attribute tool_call_id.
5 6 7 |
# File 'lib/func_runner/function_execution.rb', line 5 def tool_call_id @tool_call_id end |