Interface ChatOptions.Builder<B extends ChatOptions.Builder<B>>
- All Known Subinterfaces:
ToolCallingChatOptions.Builder<B>
- All Known Implementing Classes:
DefaultChatOptionsBuilder, DefaultToolCallingChatOptions.Builder
- Enclosing interface:
ChatOptions
public static interface ChatOptions.Builder<B extends ChatOptions.Builder<B>>
Builder for creating
ChatOptions instance.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build theChatOptions.combineWith(ChatOptions.Builder<?> other) Mutate this builder by taking allother's values that are non-null, retainingthisother values.frequencyPenalty(@Nullable Double frequencyPenalty) Builds with the frequency penalty to use for the chat.Builds with the maximum number of tokens to use for the chat.Builds with the model to use for the chat.presencePenalty(@Nullable Double presencePenalty) Builds with the presence penalty to use for the chat.stopSequences(@Nullable List<String> stopSequences) Builds with the stop sequences to use for the chat.temperature(@Nullable Double temperature) Builds with the temperature to use for the chat.Builds with the top K to use for the chat.Builds with the top P to use for the chat.
-
Method Details
-
model
-
frequencyPenalty
-
maxTokens
-
presencePenalty
-
stopSequences
-
temperature
-
topK
-
topP
-
build
-
combineWith
Mutate this builder by taking allother's values that are non-null, retainingthisother values.
-