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