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