Package com.openai.models
Class ChatCompletionAssistantMessageParam.FunctionCall.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionAssistantMessageParam.FunctionCall.Builder
A builder for FunctionCall.
-
-
Method Summary
-
-
Method Detail
-
arguments
final ChatCompletionAssistantMessageParam.FunctionCall.Builder arguments(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 ChatCompletionAssistantMessageParam.FunctionCall.Builder arguments(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.
-
name
final ChatCompletionAssistantMessageParam.FunctionCall.Builder name(String name)
The name of the function to call.
-
name
final ChatCompletionAssistantMessageParam.FunctionCall.Builder name(JsonField<String> name)
The name of the function to call.
-
additionalProperties
final ChatCompletionAssistantMessageParam.FunctionCall.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionAssistantMessageParam.FunctionCall.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionAssistantMessageParam.FunctionCall.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionAssistantMessageParam.FunctionCall.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionAssistantMessageParam.FunctionCall.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionAssistantMessageParam.FunctionCall build()
-
-
-
-