| Package | Description |
|---|---|
| com.tencentcloudapi.hunyuan.v20230901.models |
| Modifier and Type | Method and Description |
|---|---|
Tool |
ChatCompletionsRequest.getCustomTool()
Get 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
|
Tool[] |
RunThreadRequest.getTools()
Get 可调用的工具列表,仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
Tool[] |
ChatCompletionsRequest.getTools()
Get 可调用的工具列表,仅对 hunyuan-turbos、hunyuan-t1、hunyuan-functioncall 模型生效。
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChatCompletionsRequest.setCustomTool(Tool CustomTool)
Set 强制模型调用指定的工具,当参数ToolChoice为custom时,此参数为必填
|
void |
RunThreadRequest.setTools(Tool[] Tools)
Set 可调用的工具列表,仅对 hunyuan-pro、hunyuan-turbo、hunyuan-functioncall 模型生效。
|
void |
ChatCompletionsRequest.setTools(Tool[] Tools)
Set 可调用的工具列表,仅对 hunyuan-turbos、hunyuan-t1、hunyuan-functioncall 模型生效。
|
| Constructor and Description |
|---|
Tool(Tool source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2025. All rights reserved.