Package com.openai.models
Class ChatCompletionFunctionMessageParam.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionFunctionMessageParam.Builder
-
-
Constructor Summary
Constructors Constructor Description ChatCompletionFunctionMessageParam.Builder()
-
Method Summary
-
-
Method Detail
-
content
final ChatCompletionFunctionMessageParam.Builder content(String content)
The contents of the function message.
-
content
final ChatCompletionFunctionMessageParam.Builder content(Optional<String> content)
The contents of the function message.
-
content
final ChatCompletionFunctionMessageParam.Builder content(JsonField<String> content)
The contents of the function message.
-
name
final ChatCompletionFunctionMessageParam.Builder name(String name)
The name of the function to call.
-
name
final ChatCompletionFunctionMessageParam.Builder name(JsonField<String> name)
The name of the function to call.
-
role
final ChatCompletionFunctionMessageParam.Builder role(ChatCompletionFunctionMessageParam.Role role)
The role of the messages author, in this case
function
.
-
role
final ChatCompletionFunctionMessageParam.Builder role(JsonField<ChatCompletionFunctionMessageParam.Role> role)
The role of the messages author, in this case
function
.
-
additionalProperties
final ChatCompletionFunctionMessageParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionFunctionMessageParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionFunctionMessageParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionFunctionMessageParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionFunctionMessageParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionFunctionMessageParam build()
-
-
-
-