Class: FuncRunner::FunctionExecution

Inherits:
Object
  • Object
show all
Defined in:
lib/func_runner/function_execution.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
  @name = options[:name]
  @arguments = options[:arguments] || {}
  @tool_call_id = options[:tool_call_id]
end

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments.



5
6
7
# File 'lib/func_runner/function_execution.rb', line 5

def arguments
  @arguments
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/func_runner/function_execution.rb', line 5

def name
  @name
end

#tool_call_idObject

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