Package com.sap.ai.sdk.orchestration
Class ToolMessage
java.lang.Object
com.sap.ai.sdk.orchestration.ToolMessage
- All Implemented Interfaces:
Message
Represents a chat message as 'tool' to the orchestration service.
- Since:
- 1.4.0
-
Constructor Details
-
ToolMessage
-
-
Method Details
-
content
Description copied from interface:MessageReturns the content of the message. -
createChatMessage
Description copied from interface:MessageConverts the message to a serializable ChatMessage object.- Specified by:
createChatMessagein interfaceMessage- Returns:
- the corresponding
ChatMessageobject.
-
role
The role of the assistant. -
id
-
equals
-
hashCode
public int hashCode() -
toString
-