Package com.openai.models
Class ChatCompletionAssistantMessageParam.FunctionCall
-
- All Implemented Interfaces:
@Deprecated(message = "deprecated") public final class ChatCompletionAssistantMessageParam.FunctionCall
Deprecated and replaced by
tool_calls
. The name and arguments of a function that should be called, as generated by the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionAssistantMessageParam.FunctionCall.Builder
A builder for FunctionCall.
-
Method Summary
Modifier and Type Method Description final String
arguments()
The arguments to call the function with, as generated by the model in JSON format. final String
name()
The name of the function to call. final JsonField<String>
_arguments()
The arguments to call the function with, as generated by the model in JSON format. final JsonField<String>
_name()
The name of the function to call. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionAssistantMessageParam.FunctionCall
validate()
final ChatCompletionAssistantMessageParam.FunctionCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionAssistantMessageParam.FunctionCall.Builder
builder()
-
-
Method Detail
-
arguments
final String arguments()
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
-
_arguments
final JsonField<String> _arguments()
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionAssistantMessageParam.FunctionCall validate()
-
toBuilder
final ChatCompletionAssistantMessageParam.FunctionCall.Builder toBuilder()
-
builder
final static ChatCompletionAssistantMessageParam.FunctionCall.Builder builder()
-
-
-
-