Class OpenAIFunction
java.lang.Object
io.agentscope.extensions.model.openai.dto.OpenAIFunction
OpenAI function call DTO.
This class represents the function details in a tool call.
Example:
{
"name": "get_weather",
"arguments": "{\"location\": \"Beijing\"}"
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static OpenAIFunctionstatic OpenAIFunctionvoidsetArguments(String arguments) voidvoidsetThoughtSignature(String thoughtSignature)
-
Constructor Details
-
OpenAIFunction
public OpenAIFunction() -
OpenAIFunction
-
-
Method Details
-
getName
-
setName
-
getArguments
-
setArguments
-
getThoughtSignature
-
setThoughtSignature
-
of
-
of
-