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
A builder for ChatCompletionSystemMessageParam.
public final class
ChatCompletionSystemMessageParam.Content
The contents of the system message.
-
Method Summary
Modifier and Type Method Description final ChatCompletionSystemMessageParam.Content
content()
The contents of the system message. final JsonValue
_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<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.
-
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.
-
_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()
-
-
-
-