Package com.openai.models
Class ChatCompletionSystemMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionSystemMessageParam
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, use
developer
messages for this purpose instead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionSystemMessageParam.Builder
public final class
ChatCompletionSystemMessageParam.Content
The contents of the system message.
public final class
ChatCompletionSystemMessageParam.Role
The role of the messages author, in this case
system
.
-
Method Summary
Modifier and Type Method Description final ChatCompletionSystemMessageParam.Content
content()
The contents of the system message. final ChatCompletionSystemMessageParam.Role
role()
The role of the messages author, in this case system
.final Optional<String>
name()
An optional name for the participant. final JsonField<ChatCompletionSystemMessageParam.Content>
_content()
The contents of the system message. final JsonField<ChatCompletionSystemMessageParam.Role>
_role()
The role of the messages author, in this case system
.final JsonField<String>
_name()
An optional name for the participant. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionSystemMessageParam
validate()
final ChatCompletionSystemMessageParam.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionSystemMessageParam.Builder
builder()
-
-
Method Detail
-
content
final ChatCompletionSystemMessageParam.Content content()
The contents of the system message.
-
role
final ChatCompletionSystemMessageParam.Role role()
The role of the messages author, in this case
system
.
-
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<ChatCompletionSystemMessageParam.Content> _content()
The contents of the system message.
-
_role
final JsonField<ChatCompletionSystemMessageParam.Role> _role()
The role of the messages author, in this case
system
.
-
_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 ChatCompletionSystemMessageParam validate()
-
toBuilder
final ChatCompletionSystemMessageParam.Builder toBuilder()
-
builder
final static ChatCompletionSystemMessageParam.Builder builder()
-
-
-
-