Class Message
java.lang.Object
com.alibaba.dashscope.types.messages.Message
One chat message. Static factories stand in for Python's module-level constructors.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Message
Retained for source compatibility with the original 3.0 message constructor. -
Message
-
-
Method Details
-
of
-
user
-
system
-
assistant
-
assistant
-
tool
Legacy name-only tool result form. Prefertool(String, String, String). -
tool
Tool result associated with the model-issuedtool_call_id. -
getRole
-
getContent
-
getName
-
getToolCalls
-
getToolCallId
-