Class OpenAiSystemMessage
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.OpenAiSystemMessage
- All Implemented Interfaces:
OpenAiMessage
Represents a chat message as 'system' to OpenAI service. *
- Since:
- 1.4.0
-
Method Summary
-
Method Details
-
withText
Add text to the message.- Parameters:
message- the text to add.- Returns:
- the new message.
-
role
The role associated with this message.- Specified by:
rolein interfaceOpenAiMessage- Returns:
- the role.
-
equals
-
hashCode
public int hashCode() -
toString
-
content
The content of the message.- Specified by:
contentin interfaceOpenAiMessage- Returns:
- the content.
-