Class OpenAiToolMessage
java.lang.Object
com.sap.ai.sdk.foundationmodels.openai.OpenAiToolMessage
- All Implemented Interfaces:
OpenAiMessage
Represents a tool message in the OpenAI service.
- Since:
- 1.4.0
-
Method Summary
-
Method Details
-
role
The role associated with this message.- Specified by:
rolein interfaceOpenAiMessage- Returns:
- the role.
-
content
Response of the executed tool call.- Specified by:
contentin interfaceOpenAiMessage- Returns:
- the content.
-
toolCallId
The tool call id associated with this message. -
equals
-
hashCode
public int hashCode() -
toString
-