类 OpenAIFunction
java.lang.Object
io.agentscope.core.formatter.openai.dto.OpenAIFunction
OpenAI function call DTO.
This class represents the function details in a tool call.
Example:
{
"name": "get_weather",
"arguments": "{\"location\": \"Beijing\"}"
}
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getName()static OpenAIFunctionstatic OpenAIFunctionvoidsetArguments(String arguments) voidvoidsetThoughtSignature(String thoughtSignature)
-
构造器详细资料
-
OpenAIFunction
public OpenAIFunction() -
OpenAIFunction
-
-
方法详细资料
-
getName
-
setName
-
getArguments
-
setArguments
-
getThoughtSignature
-
setThoughtSignature
-
of
-
of
-