Package com.openai.models
Class ChatCompletionDeveloperMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionDeveloperMessageParam
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer,
developer
messages replace the previoussystem
messages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionDeveloperMessageParam.Builder
public final class
ChatCompletionDeveloperMessageParam.Content
The contents of the developer message.
public final class
ChatCompletionDeveloperMessageParam.Role
The role of the messages author, in this case
developer
.
-
Method Summary
Modifier and Type Method Description final ChatCompletionDeveloperMessageParam.Content
content()
The contents of the developer message. final ChatCompletionDeveloperMessageParam.Role
role()
The role of the messages author, in this case developer
.final Optional<String>
name()
An optional name for the participant. final JsonField<ChatCompletionDeveloperMessageParam.Content>
_content()
The contents of the developer message. final JsonField<ChatCompletionDeveloperMessageParam.Role>
_role()
The role of the messages author, in this case developer
.final JsonField<String>
_name()
An optional name for the participant. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionDeveloperMessageParam
validate()
final ChatCompletionDeveloperMessageParam.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionDeveloperMessageParam.Builder
builder()
-
-
Method Detail
-
content
final ChatCompletionDeveloperMessageParam.Content content()
The contents of the developer message.
-
role
final ChatCompletionDeveloperMessageParam.Role role()
The role of the messages author, in this case
developer
.
-
name
final Optional<String> name()
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
_content
final JsonField<ChatCompletionDeveloperMessageParam.Content> _content()
The contents of the developer message.
-
_role
final JsonField<ChatCompletionDeveloperMessageParam.Role> _role()
The role of the messages author, in this case
developer
.
-
_name
final JsonField<String> _name()
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionDeveloperMessageParam validate()
-
toBuilder
final ChatCompletionDeveloperMessageParam.Builder toBuilder()
-
builder
final static ChatCompletionDeveloperMessageParam.Builder builder()
-
-
-
-