Package com.azure.ai.openai.models
Class ChatRequestSystemMessage
java.lang.Object
com.azure.ai.openai.models.ChatRequestMessage
com.azure.ai.openai.models.ChatRequestSystemMessage
A request chat message containing system instructions that influence how the model will generate a chat completions
response.
-
Constructor Summary
ConstructorsConstructorDescriptionChatRequestSystemMessage(String content) Creates an instance of ChatRequestSystemMessage class. -
Method Summary
Modifier and TypeMethodDescriptionGet the content property: The contents of the system message.getName()Get the name property: An optional name for the participant.Set the name property: An optional name for the participant.
-
Constructor Details
-
ChatRequestSystemMessage
Creates an instance of ChatRequestSystemMessage class.- Parameters:
content- the content value to set.
-
-
Method Details
-
getContent
Get the content property: The contents of the system message.- Returns:
- the content value.
-
getName
Get the name property: An optional name for the participant.- Returns:
- the name value.
-
setName
Set the name property: An optional name for the participant.- Parameters:
name- the name value to set.- Returns:
- the ChatRequestSystemMessage object itself.
-