类 DashScopeRequest
java.lang.Object
io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
DashScope API request DTO.
This class represents the top-level request structure for DashScope's text-generation and multimodal-generation APIs.
Example JSON:
{
"model": "qwen-plus",
"input": {
"messages": [...]
},
"parameters": {
"result_format": "message",
"temperature": 0.7
}
}
-
嵌套类概要
嵌套类 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static DashScopeRequest.Builderbuilder()Gets the endpoint type for endpoint selection.getInput()getModel()voidsetEndpointType(EndpointType endpointType) Sets the endpoint type for endpoint selection.voidsetInput(DashScopeInput input) voidvoidsetParameters(DashScopeParameters parameters)
-
构造器详细资料
-
DashScopeRequest
public DashScopeRequest() -
DashScopeRequest
-
-
方法详细资料
-
getModel
-
setModel
-
getInput
-
setInput
-
getParameters
-
setParameters
-
getEndpointType
Gets the endpoint type for endpoint selection.- 返回:
- the endpoint type (defaults to AUTO)
-
setEndpointType
Sets the endpoint type for endpoint selection.- 参数:
endpointType- the endpoint type
-
builder
-