Class DeepSeekCompletionResponse.FunctionCall
java.lang.Object
de.entwicklertraining.deepseek4j.chat.completion.DeepSeekCompletionResponse.FunctionCall
- Enclosing class:
DeepSeekCompletionResponse
Represents the function details within a tool call. [cite: 24]
-
Method Summary
Modifier and TypeMethodDescriptionThe arguments as a JSON string.org.json.JSONObjectConvenience method to parse arguments into a JSONObject.getName()
-
Method Details
-
getName
-
getArguments
The arguments as a JSON string. -
getArgumentsAsJson
public org.json.JSONObject getArgumentsAsJson()Convenience method to parse arguments into a JSONObject.- Returns:
- Arguments as JSONObject, or an empty JSONObject if parsing fails or args are null/empty.
-