public class GenerationParam extends GenerationParamBase
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GenerationParam.ResultFormat |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Object |
toolChoice |
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, putHeadergetApiKey, getWorkspace@SerializedName(value="tool_choice") protected Object toolChoice
public com.google.gson.JsonObject getInput()
HalfDuplexParamBasegetInput 在类中 GenerationParamBasepublic Map<String,Object> getParameters()
HalfDuplexParamBasegetParameters 在类中 HalfDuplexServiceParampublic void validate()
throws InputRequiredException
HalfDuplexParamBasevalidate 在类中 GenerationParamBaseInputRequiredException - Missing input fields.Copyright © 2024. All rights reserved.