Class GenerationUsage
java.lang.Object
com.alibaba.dashscope.legacy_2x.aigc.generation.GenerationUsage
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGenerationUsage.GenerationUsageBuilder<C extends GenerationUsage,B extends GenerationUsage.GenerationUsageBuilder<C, B>> Deprecated.static classDeprecated.static classDeprecated. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic GenerationUsage.GenerationUsageBuilder<?,?> builder()Deprecated.booleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.voidsetInputTokens(Integer inputTokens) Deprecated.voidsetOutputTokens(Integer outputTokens) Deprecated.voidsetOutputTokensDetails(GenerationOutputTokenDetails outputTokensDetails) Deprecated.voidsetPlugins(GenerationUsage.Plugins plugins) Deprecated.voidsetPromptTokensDetails(GenerationUsage.PromptTokensDetails promptTokensDetails) Deprecated.voidsetTotalTokens(Integer totalTokens) Deprecated.toString()Deprecated.
-
Constructor Details
-
GenerationUsage
Deprecated.
-
-
Method Details
-
builder
Deprecated. -
getInputTokens
Deprecated. -
getOutputTokens
Deprecated. -
getTotalTokens
Deprecated. -
getOutputTokensDetails
Deprecated. -
getPromptTokensDetails
Deprecated. -
getPlugins
Deprecated. -
setInputTokens
Deprecated. -
setOutputTokens
Deprecated. -
setTotalTokens
Deprecated. -
setOutputTokensDetails
Deprecated. -
setPromptTokensDetails
Deprecated. -
setPlugins
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-