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()Returns the raw JSON value of content. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final ChatCompletionDeveloperMessageParam.BuildertoBuilder()final ChatCompletionDeveloperMessageParamvalidate()final BooleanisValid()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.
 
- 
                                        
_role
final JsonValue _role()
The role of the messages author, in this case
developer.Expected to always return the following:
JsonValue.from("developer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
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()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final ChatCompletionDeveloperMessageParam.Builder toBuilder()
 
- 
                                        
validate
final ChatCompletionDeveloperMessageParam validate()
 
- 
                                        
builder
final static ChatCompletionDeveloperMessageParam.Builder builder()
Returns a mutable builder for constructing an instance of ChatCompletionDeveloperMessageParam.
The following fields are required:
.content() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -