Class DecisionModelResult
java.lang.Object
com.alibaba.dashscope.legacy_2x.decision.DecisionModelResult
Deprecated.
The output result of the decision model api.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDeprecated.booleanDeprecated.static DecisionModelResultfromDashScopeResult(DashScopeResult result) Deprecated.Deprecated.The answers, key is the caller-defined question id from the request.Deprecated.The server side latency in milliseconds.getModel()Deprecated.Deprecated.getUsage()Deprecated.Metering info.inthashCode()Deprecated.voidsetAnswers(Map<String, DecisionAnswer> answers) Deprecated.The answers, key is the caller-defined question id from the request.voidsetLatencyMs(Double latencyMs) Deprecated.The server side latency in milliseconds.voidDeprecated.voidsetRequestId(String requestId) Deprecated.voidsetUsage(DecisionModelUsage usage) Deprecated.Metering info.toString()Deprecated.
-
Constructor Details
-
DecisionModelResult
public DecisionModelResult()Deprecated.
-
-
Method Details
-
fromDashScopeResult
Deprecated. -
getModel
Deprecated. -
getRequestId
Deprecated. -
getAnswers
Deprecated.The answers, key is the caller-defined question id from the request. -
getUsage
Deprecated.Metering info. The doc currently defines onlyinput_tokens. -
getLatencyMs
Deprecated.The server side latency in milliseconds. -
setModel
Deprecated. -
setRequestId
Deprecated. -
setAnswers
Deprecated.The answers, key is the caller-defined question id from the request. -
setUsage
Deprecated.Metering info. The doc currently defines onlyinput_tokens. -
setLatencyMs
Deprecated.The server side latency in milliseconds. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-