Class: TencentCloud::Hunyuan::V20230901::ToolCallFunction

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230901/models.rb

Overview

具体的function调用

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, arguments = nil) ⇒ ToolCallFunction

Returns a new instance of ToolCallFunction.



2969
2970
2971
2972
# File 'lib/v20230901/models.rb', line 2969

def initialize(name=nil, arguments=nil)
  @Name = name
  @Arguments = arguments
end

Instance Attribute Details

#ArgumentsObject

Parameters:

  • function名称

  • function参数,一般为json字符串



2967
2968
2969
# File 'lib/v20230901/models.rb', line 2967

def Arguments
  @Arguments
end

#NameObject

Parameters:

  • function名称

  • function参数,一般为json字符串



2967
2968
2969
# File 'lib/v20230901/models.rb', line 2967

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



2974
2975
2976
2977
# File 'lib/v20230901/models.rb', line 2974

def deserialize(params)
  @Name = params['Name']
  @Arguments = params['Arguments']
end