Package com.azure.ai.openai.models
Class ChatCompletionsFunctionToolCall
java.lang.Object
com.azure.ai.openai.models.ChatCompletionsToolCall
com.azure.ai.openai.models.ChatCompletionsFunctionToolCall
A tool call to a function tool, issued by the model in evaluation of a configured function tool, that represents
a function invocation needed for a subsequent chat completions request to resolve.
-
Constructor Summary
ConstructorsConstructorDescriptionChatCompletionsFunctionToolCall(String id, FunctionCall function) Creates an instance of ChatCompletionsFunctionToolCall class. -
Method Summary
Modifier and TypeMethodDescriptionGet the function property: The details of the function invocation requested by the tool call.Methods inherited from class com.azure.ai.openai.models.ChatCompletionsToolCall
getId, getType
-
Constructor Details
-
ChatCompletionsFunctionToolCall
Creates an instance of ChatCompletionsFunctionToolCall class.- Parameters:
id- the id value to set.function- the function value to set.
-
-
Method Details
-
getFunction
Get the function property: The details of the function invocation requested by the tool call.- Returns:
- the function value.
-