public class ChatCompletionParam extends FlattenHalfDuplexParamBase
| 限定符和类型 | 字段和说明 |
|---|---|
protected Object |
toolChoice |
headers, parameters| 构造器和说明 |
|---|
ChatCompletionParam() |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.gson.JsonObject |
getHttpBody()
Get the batch request data.
|
void |
validate()
Validate the input and parameters.
|
addExtraBody, getBinaryData, getHeaders, getInput, getModel, getParameters, getResources, putHeadergetApiKey, getWorkspace@SerializedName(value="tool_choice") protected Object toolChoice
public com.google.gson.JsonObject getHttpBody()
HalfDuplexParamBasegetHttpBody 在类中 HalfDuplexParamBasepublic void validate()
throws InputRequiredException
HalfDuplexParamBasevalidate 在类中 FlattenHalfDuplexParamBaseInputRequiredException - Missing input fields.Copyright © 2024. All rights reserved.