Record Class DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput.DashScopeAgentResponseOutputThoughts

java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput.DashScopeAgentResponseOutputThoughts
Enclosing class:
DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput

public static record DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput.DashScopeAgentResponseOutputThoughts(String thought, String actionType, String actionName, String action, String actionInputStream, String actionInput, String response, String observation, String reasoningContent) extends Record
  • Constructor Details

    • DashScopeAgentResponseOutputThoughts

      public DashScopeAgentResponseOutputThoughts(String thought, String actionType, String actionName, String action, String actionInputStream, String actionInput, String response, String observation, String reasoningContent)
      Creates an instance of a DashScopeAgentResponseOutputThoughts record class.
      Parameters:
      thought - the value for the thought record component
      actionType - the value for the actionType record component
      actionName - the value for the actionName record component
      action - the value for the action record component
      actionInputStream - the value for the actionInputStream record component
      actionInput - the value for the actionInput record component
      response - the value for the response record component
      observation - the value for the observation record component
      reasoningContent - the value for the reasoningContent record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • thought

      public String thought()
      Returns the value of the thought record component.
      Returns:
      the value of the thought record component
    • actionType

      public String actionType()
      Returns the value of the actionType record component.
      Returns:
      the value of the actionType record component
    • actionName

      public String actionName()
      Returns the value of the actionName record component.
      Returns:
      the value of the actionName record component
    • action

      public String action()
      Returns the value of the action record component.
      Returns:
      the value of the action record component
    • actionInputStream

      public String actionInputStream()
      Returns the value of the actionInputStream record component.
      Returns:
      the value of the actionInputStream record component
    • actionInput

      public String actionInput()
      Returns the value of the actionInput record component.
      Returns:
      the value of the actionInput record component
    • response

      public String response()
      Returns the value of the response record component.
      Returns:
      the value of the response record component
    • observation

      public String observation()
      Returns the value of the observation record component.
      Returns:
      the value of the observation record component
    • reasoningContent

      public String reasoningContent()
      Returns the value of the reasoningContent record component.
      Returns:
      the value of the reasoningContent record component