Package com.openai.models
Class ChatCompletionSystemMessageParam.Builder
-
- All Implemented Interfaces:
public final class ChatCompletionSystemMessageParam.Builder
A builder for ChatCompletionSystemMessageParam.
-
-
Method Summary
-
-
Method Detail
-
content
final ChatCompletionSystemMessageParam.Builder content(ChatCompletionSystemMessageParam.Content content)
The contents of the system message.
-
content
final ChatCompletionSystemMessageParam.Builder content(JsonField<ChatCompletionSystemMessageParam.Content> content)
The contents of the system message.
-
content
final ChatCompletionSystemMessageParam.Builder content(String text)
The contents of the system message.
-
contentOfArrayOfContentParts
final ChatCompletionSystemMessageParam.Builder contentOfArrayOfContentParts(List<ChatCompletionContentPartText> arrayOfContentParts)
An array of content parts with a defined type. For system messages, only type
text
is supported.
-
role
final ChatCompletionSystemMessageParam.Builder role(JsonValue role)
The role of the messages author, in this case
system
.
-
name
final ChatCompletionSystemMessageParam.Builder name(String name)
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
name
final ChatCompletionSystemMessageParam.Builder name(JsonField<String> name)
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
additionalProperties
final ChatCompletionSystemMessageParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ChatCompletionSystemMessageParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ChatCompletionSystemMessageParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ChatCompletionSystemMessageParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ChatCompletionSystemMessageParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ChatCompletionSystemMessageParam build()
-
-
-
-