Class ChatCompletionDeveloperMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionDeveloperMessageParamDeveloper-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer,
developermessages replace the previoussystemmessages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionDeveloperMessageParam.BuilderA builder for ChatCompletionDeveloperMessageParam.
public final classChatCompletionDeveloperMessageParam.ContentThe contents of the developer message.
-
Method Summary
Modifier and Type Method Description final ChatCompletionDeveloperMessageParam.Contentcontent()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 ChatCompletionDeveloperMessageParamvalidate()final ChatCompletionDeveloperMessageParam.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionDeveloperMessageParam.Builderbuilder()Returns a mutable builder for constructing an instance of ChatCompletionDeveloperMessageParam. -
-
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()
Returns a mutable builder for constructing an instance of ChatCompletionDeveloperMessageParam.
The following fields are required:
.content()
-
-
-
-