Package dev.langchain4j.model.openai
Class OpenAiChatRequestParameters.Builder
java.lang.Object
dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder<OpenAiChatRequestParameters.Builder>
dev.langchain4j.model.openai.OpenAiChatRequestParameters.Builder
- Enclosing class:
OpenAiChatRequestParameters
public static class OpenAiChatRequestParameters.Builder
extends DefaultChatRequestParameters.Builder<OpenAiChatRequestParameters.Builder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
modelName
(OpenAiChatModelName modelName) parallelToolCalls
(Boolean parallelToolCalls) serviceTier
(String serviceTier) Methods inherited from class dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder
frequencyPenalty, maxOutputTokens, modelName, presencePenalty, responseFormat, responseFormat, stopSequences, stopSequences, temperature, toolChoice, toolSpecifications, toolSpecifications, topK, topP
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelName
-
logitBias
-
parallelToolCalls
-
seed
-
user
-
store
-
metadata
-
serviceTier
-
build
- Overrides:
build
in classDefaultChatRequestParameters.Builder<OpenAiChatRequestParameters.Builder>
-