类 ChatOptions.Builder
java.lang.Object
com.agentsflex.core.model.chat.ChatOptions.Builder
- 封闭类:
- ChatOptions
ChatOptions 的构建器类,支持链式调用。
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addExtraBody(String key, Object value) build()构建并返回 ChatOptions 实例。includeUsage(Boolean includeUsage) responseFormat(Map<String, Object> responseFormat) responseFormatToJsonSchema(Map<String, Object> json_schema) retryCount(int retryCount) retryEnabled(Boolean retryEnabled) retryInitialDelayMs(int retryInitialDelayMs) temperature(Float temperature) thinkingEnabled(Boolean thinkingEnabled)
-
字段详细资料
-
model
-
seed
-
temperature
-
topP
-
topK
-
maxTokens
-
stop
-
thinkingEnabled
-
includeUsage
-
extraBody
-
retryEnabled
-
retryCount
-
retryInitialDelayMs
-
responseFormat
-
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
model
-
seed
-
temperature
-
topP
-
topK
-
maxTokens
-
stop
-
thinkingEnabled
-
includeUsage
-
extraBody
-
addExtraBody
-
retryEnabled
-
retryCount
-
retryInitialDelayMs
-
responseFormat
-
responseFormatToJsonObject
-
responseFormatToJsonSchema
-
build
构建并返回 ChatOptions 实例。- 返回:
- 配置完成的 ChatOptions 对象
-