public class GenerationParam extends GenerationParamBase
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GenerationParam.ResultFormat |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Boolean |
parallelToolCalls
enable parallel tool calls
|
protected Object |
toolChoice
Specify tool choice
|
headers, parameters| 构造器和说明 |
|---|
GenerationParam() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.gson.JsonObject |
getInput()
Get the request input data.
|
Map<String,Object> |
getParameters()
The service parameters.
|
void |
validate()
Validate the input and parameters.
|
getBinaryData, getHttpBodygetHeaders, getModel, getResources, putHeader@SerializedName(value="tool_choice") protected Object toolChoice
protected Boolean parallelToolCalls
public com.google.gson.JsonObject getInput()
HalfDuplexParamBasegetInput 在类中 GenerationParamBasepublic Map<String,Object> getParameters()
HalfDuplexParamBasegetParameters 在类中 HalfDuplexServiceParampublic void validate()
throws InputRequiredException
HalfDuplexParamBasevalidate 在类中 GenerationParamBaseInputRequiredException - Missing input fields.Copyright © 2025. All rights reserved.