Record Class DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput.DashScopeAgentResponseOutputThoughts
java.lang.Object
java.lang.Record
com.alibaba.cloud.ai.dashscope.api.DashScopeAgentApi.DashScopeAgentResponse.DashScopeAgentResponseOutput.DashScopeAgentResponseOutputThoughts
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 Summary
ConstructorsConstructorDescriptionDashScopeAgentResponseOutputThoughts(String thought, String actionType, String actionName, String action, String actionInputStream, String actionInput, String response, String observation, String reasoningContent) Creates an instance of aDashScopeAgentResponseOutputThoughtsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.Returns the value of theactionInputrecord component.Returns the value of theactionInputStreamrecord component.Returns the value of theactionNamerecord component.Returns the value of theactionTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theobservationrecord component.Returns the value of thereasoningContentrecord component.response()Returns the value of theresponserecord component.thought()Returns the value of thethoughtrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aDashScopeAgentResponseOutputThoughtsrecord class.- Parameters:
thought- the value for thethoughtrecord componentactionType- the value for theactionTyperecord componentactionName- the value for theactionNamerecord componentaction- the value for theactionrecord componentactionInputStream- the value for theactionInputStreamrecord componentactionInput- the value for theactionInputrecord componentresponse- the value for theresponserecord componentobservation- the value for theobservationrecord componentreasoningContent- the value for thereasoningContentrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
thought
Returns the value of thethoughtrecord component.- Returns:
- the value of the
thoughtrecord component
-
actionType
Returns the value of theactionTyperecord component.- Returns:
- the value of the
actionTyperecord component
-
actionName
Returns the value of theactionNamerecord component.- Returns:
- the value of the
actionNamerecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-
actionInputStream
Returns the value of theactionInputStreamrecord component.- Returns:
- the value of the
actionInputStreamrecord component
-
actionInput
Returns the value of theactionInputrecord component.- Returns:
- the value of the
actionInputrecord component
-
response
Returns the value of theresponserecord component.- Returns:
- the value of the
responserecord component
-
observation
Returns the value of theobservationrecord component.- Returns:
- the value of the
observationrecord component
-
reasoningContent
Returns the value of thereasoningContentrecord component.- Returns:
- the value of the
reasoningContentrecord component
-