Class DefaultChatRequestParameters.Builder<T extends DefaultChatRequestParameters.Builder<T>>
java.lang.Object
dev.langchain4j.model.chat.request.DefaultChatRequestParameters.Builder<T>
- Direct Known Subclasses:
OpenAiChatRequestParameters.Builder
- Enclosing class:
DefaultChatRequestParameters
public static class DefaultChatRequestParameters.Builder<T extends DefaultChatRequestParameters.Builder<T>>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
frequencyPenalty
(Double frequencyPenalty) maxOutputTokens
(Integer maxOutputTokens) 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
-
modelName
-
temperature
-
topP
-
topK
-
frequencyPenalty
-
presencePenalty
-
maxOutputTokens
-
stopSequences
- See Also:
-
stopSequences
- See Also:
-
toolSpecifications
- See Also:
-
toolSpecifications
- See Also:
-
toolChoice
-
responseFormat
- See Also:
-
responseFormat
- See Also:
-
build
-