Class MultiModalMessage

java.lang.Object
com.alibaba.dashscope.legacy_2x.common.MultiModalMessage

@Deprecated public class MultiModalMessage extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • builder

      public static MultiModalMessage.MultiModalMessageBuilder<?,?> builder()
      Deprecated.
    • getRole

      public String getRole()
      Deprecated.
      The role, can be `user` and `bot`.
    • getContent

      public List<Map<String,Object>> getContent()
      Deprecated.
      The conversation content.
    • getToolCalls

      public List<ToolCallBase> getToolCalls()
      Deprecated.
      For tool calls
    • getToolCallId

      public String getToolCallId()
      Deprecated.
      For tool result
    • getName

      public String getName()
      Deprecated.
      tool name
    • getReasoningContent

      public String getReasoningContent()
      Deprecated.
      chain of thought content
    • getAnnotations

      public List<Map<String,Object>> getAnnotations()
      Deprecated.
      annotations result for message
    • setRole

      public void setRole(String role)
      Deprecated.
      The role, can be `user` and `bot`.
    • setContent

      public void setContent(List<Map<String,Object>> content)
      Deprecated.
      The conversation content.
    • setToolCalls

      public void setToolCalls(List<ToolCallBase> toolCalls)
      Deprecated.
      For tool calls
    • setToolCallId

      public void setToolCallId(String toolCallId)
      Deprecated.
      For tool result
    • setName

      public void setName(String name)
      Deprecated.
      tool name
    • setReasoningContent

      public void setReasoningContent(String reasoningContent)
      Deprecated.
      chain of thought content
    • setAnnotations

      public void setAnnotations(List<Map<String,Object>> annotations)
      Deprecated.
      annotations result for message
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object