Class DashScopeResponseFormat
java.lang.Object
com.alibaba.cloud.ai.dashscope.api.DashScopeResponseFormat
Lets you specify the format of the returned content. Valid values: {"type": "text"} or
{"type": "json_object"}. When set to {"type": "json_object"}, a JSON string in standard
format is output. Params reference:
qwen-structured-output
- Author:
- yuluo, yuluo, guanxu
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forDashScopeResponseFormat.static classThe configuration for a JSON Schema-based structured output.static enumResponseFormat type. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
DashScopeResponseFormat
public DashScopeResponseFormat() -
DashScopeResponseFormat
@Deprecated(since="1.1.2.0", forRemoval=true) public DashScopeResponseFormat(DashScopeResponseFormat.Type type) Deprecated, for removal: This API element is subject to removal in a future version.Use Builder instead
-
-
Method Details