public class ToolCall extends AbstractModel
header, skipSign
Constructor and Description |
---|
ToolCall() |
ToolCall(ToolCall 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.
|
Modifier and Type | Method and Description |
---|---|
ToolCallFunction |
getFunction()
Get 具体的function调用
|
String |
getId()
Get 工具调用id
|
Long |
getIndex()
Get 索引值
|
String |
getType()
Get 工具调用类型,当前只支持function
|
void |
setFunction(ToolCallFunction Function)
Set 具体的function调用
|
void |
setId(String Id)
Set 工具调用id
|
void |
setIndex(Long Index)
Set 索引值
|
void |
setType(String Type)
Set 工具调用类型,当前只支持function
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ToolCall()
public ToolCall(ToolCall source)
public String getId()
public void setId(String Id)
Id
- 工具调用idpublic String getType()
public void setType(String Type)
Type
- 工具调用类型,当前只支持functionpublic ToolCallFunction getFunction()
public void setFunction(ToolCallFunction Function)
Function
- 具体的function调用public Long getIndex()
public void setIndex(Long Index)
Index
- 索引值Copyright © 2024. All rights reserved.