类 OpenAIRequest.Builder
java.lang.Object
io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
- 封闭类:
OpenAIRequest
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()extraParam(String key, Object value) extraParams(Map<String, Object> extraParams) frequencyPenalty(Double frequencyPenalty) includeReasoning(Boolean includeReasoning) maxCompletionTokens(Integer maxCompletionTokens) messages(List<OpenAIMessage> messages) modalities(List<String> modalities) parallelToolCalls(Boolean parallelToolCalls) prediction(Map<String, Object> prediction) presencePenalty(Double presencePenalty) reasoningEffort(String reasoningEffort) responseFormat(Map<String, Object> responseFormat) serviceTier(String serviceTier) streamOptions(OpenAIStreamOptions streamOptions) temperature(Double temperature) toolChoice(Object toolChoice) tools(List<OpenAITool> tools) topLogprobs(Integer topLogprobs)
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
model
-
messages
-
stream
-
streamOptions
-
temperature
-
topP
-
maxTokens
-
maxCompletionTokens
-
frequencyPenalty
-
presencePenalty
-
stop
-
seed
-
n
-
tools
-
toolChoice
-
user
-
responseFormat
-
includeReasoning
-
extraParam
-
extraParams
-
build
-
logprobs
-
topLogprobs
-
reasoningEffort
-
parallelToolCalls
-
serviceTier
-
store
-
metadata
-
prediction
-
modalities
-
audio
-