Class DefaultChatRequestParameters.Builder<T extends DefaultChatRequestParameters.Builder<T>>
java.lang.Object
dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder<T>
- Direct Known Subclasses:
BedrockChatRequestParameters.Builder, OllamaChatRequestParameters.Builder, OpenAiChatRequestParameters.Builder, OpenAiOfficialChatRequestParameters.Builder, WatsonxChatRequestParameters.Builder
- Enclosing class:
DefaultChatRequestParameters
public static class DefaultChatRequestParameters.Builder<T extends DefaultChatRequestParameters.Builder<T>>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()frequencyPenalty(Double frequencyPenalty) maxOutputTokens(Integer maxOutputTokens) overrideWith(ChatRequestParameters parameters) presencePenalty(Double presencePenalty) responseFormat(JsonSchema jsonSchema) responseFormat(ResponseFormat responseFormat) stopSequences(String... stopSequences) stopSequences(List<String> stopSequences) temperature(Double temperature) toolChoice(ToolChoice toolChoice) toolSpecifications(ToolSpecification... toolSpecifications) toolSpecifications(List<ToolSpecification> toolSpecifications)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
overrideWith
-
modelName
-
temperature
-
topP
-
topK
-
frequencyPenalty
-
presencePenalty
-
maxOutputTokens
-
stopSequences
-
stopSequences
-
toolSpecifications
- See Also:
-
toolSpecifications
- See Also:
-
toolChoice
-
responseFormat
- See Also:
-
responseFormat
- See Also:
-
build
-