Class ThreadAndRunParam
java.lang.Object
com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.base.FlattenHalfDuplexParamBase
com.alibaba.dashscope.legacy_2x.threads.runs.RunParam
com.alibaba.dashscope.legacy_2x.threads.runs.ThreadAndRunParam
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThreadAndRunParam.ThreadAndRunParamBuilder<C extends ThreadAndRunParam,B extends ThreadAndRunParam.ThreadAndRunParamBuilder<C, B>> Deprecated.Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.threads.runs.RunParam
RunParam.RunParamBuilder<C extends RunParam,B extends RunParam.RunParamBuilder<C, B>>, RunParam.TruncationStrategy Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.FlattenHalfDuplexParamBase
FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C extends FlattenHalfDuplexParamBase,B extends FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C, B>> Nested classes/interfaces inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C extends HalfDuplexParamBase,B extends HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C, B>> -
Field Summary
Fields inherited from class com.alibaba.dashscope.legacy_2x.threads.runs.RunParam
additionalInstructions, additionalMessages, assistantId, instructions, maxCompletionTokens, maxPromptTokens, maxTokens, metadata, model, parallelToolCalls, responseFormat, stream, temperature, toolChoice, tools, topK, topP, truncationStrategyFields inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
headers, parameters -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ThreadAndRunParam.ThreadAndRunParamBuilder<?,?> builder()Deprecated.protected booleanDeprecated.booleanDeprecated.com.google.gson.JsonObjectDeprecated.Get the batch request data.Deprecated.inthashCode()Deprecated.voidsetThread(ThreadParam thread) Deprecated.toString()Deprecated.voidvalidate()Deprecated.Validate the input and parameters.Methods inherited from class com.alibaba.dashscope.legacy_2x.threads.runs.RunParam
getAdditionalInstructions, getAdditionalMessages, getAssistantId, getInstructions, getMaxCompletionTokens, getMaxPromptTokens, getMaxTokens, getMetadata, getModel, getParallelToolCalls, getResponseFormat, getStream, getTemperature, getToolChoice, getTools, getTopK, getTopP, getTruncationStrategy, setAdditionalInstructions, setAdditionalMessages, setAssistantId, setInstructions, setMaxCompletionTokens, setMaxPromptTokens, setMaxTokens, setMetadata, setModel, setParallelToolCalls, setResponseFormat, setStream, setTemperature, setToolChoice, setTools, setTopK, setTopP, setTruncationStrategyMethods inherited from class com.alibaba.dashscope.legacy_2x.base.FlattenHalfDuplexParamBase
addExtraBody, getBinaryData, getHeaders, getInput, getParameters, getResources, putHeaderMethods inherited from class com.alibaba.dashscope.legacy_2x.base.HalfDuplexParamBase
getApiKey, getEnableEncrypt, getWorkspace, isSecurityCheck, setApiKey, setEnableEncrypt, setHeaders, setParameters, setSecurityCheck, setWorkspace, shouldSerializeExplicitNulls
-
Constructor Details
-
ThreadAndRunParam
Deprecated.
-
-
Method Details
-
getHttpBody
public com.google.gson.JsonObject getHttpBody()Deprecated.Description copied from class:HalfDuplexParamBaseGet the batch request data. Http body include {"model": "model_name", "input": "input data", "parameters": "The request parameters"}- Overrides:
getHttpBodyin classRunParam- Returns:
- The http request body
-
validate
Deprecated.Description copied from class:HalfDuplexParamBaseValidate the input and parameters.- Overrides:
validatein classRunParam- Throws:
InputRequiredException- Missing input fields.
-
builder
Deprecated. -
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getThread
Deprecated. -
setThread
Deprecated. -
toString
Deprecated.
-