Uses of Interface
org.springframework.ai.chat.prompt.ChatOptions
Packages that use ChatOptions
Package
Description
Chat client.
Provides the API for chat client advisors.
Provides the API for chat observations.
-
Uses of ChatOptions in org.springframework.ai.anthropic
Classes in org.springframework.ai.anthropic that implement ChatOptionsModifier and TypeClassDescriptionclass
The options to be used when sending a chat request to the Anthropic API.Methods in org.springframework.ai.anthropic that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.azure.openai
Classes in org.springframework.ai.azure.openai that implement ChatOptionsModifier and TypeClassDescriptionclass
The configuration information for a chat completions request. -
Uses of ChatOptions in org.springframework.ai.bedrock.converse
Methods in org.springframework.ai.bedrock.converse that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.bedrock.converse.api
Methods in org.springframework.ai.bedrock.converse.api with parameters of type ChatOptionsModifier and TypeMethodDescriptionstatic software.amazon.awssdk.core.document.Document
ConverseApiUtils.getChatOptionsAdditionalModelRequestFields
(ChatOptions defaultOptions, ModelOptions promptOptions) -
Uses of ChatOptions in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client with type parameters of type ChatOptionsModifier and TypeMethodDescription<T extends ChatOptions>
ChatClient.ChatClientRequestSpecChatClient.ChatClientRequestSpec.options
(T options) <T extends ChatOptions>
ChatClient.ChatClientRequestSpecDefaultChatClient.DefaultChatClientRequestSpec.options
(T options) Methods in org.springframework.ai.chat.client that return ChatOptionsModifier and TypeMethodDescriptionDefaultChatClient.DefaultChatClientRequestSpec.getChatOptions()
Methods in org.springframework.ai.chat.client with parameters of type ChatOptionsModifier and TypeMethodDescriptionChatClient.Builder.defaultOptions
(ChatOptions chatOptions) DefaultChatClientBuilder.defaultOptions
(ChatOptions chatOptions) Constructors in org.springframework.ai.chat.client with parameters of type ChatOptionsModifierConstructorDescriptionDefaultChatClientRequestSpec
(ChatModel chatModel, String userText, Map<String, Object> userParams, String systemText, Map<String, Object> systemParams, List<FunctionCallback> functionCallbacks, List<Message> messages, List<String> functionNames, List<Media> media, ChatOptions chatOptions, List<Advisor> advisors, Map<String, Object> advisorParams, io.micrometer.observation.ObservationRegistry observationRegistry, ChatClientObservationConvention customObservationConvention, Map<String, Object> toolContext) -
Uses of ChatOptions in org.springframework.ai.chat.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return ChatOptionsModifier and TypeMethodDescriptionAdvisedRequest.chatOptions()
Returns the value of thechatOptions
record component.Methods in org.springframework.ai.chat.client.advisor.api with parameters of type ChatOptionsModifier and TypeMethodDescriptionAdvisedRequest.Builder.chatOptions
(ChatOptions chatOptions) Set the chat options.Constructors in org.springframework.ai.chat.client.advisor.api with parameters of type ChatOptionsModifierConstructorDescriptionAdvisedRequest
(ChatModel chatModel, String userText, String systemText, ChatOptions chatOptions, List<Media> media, List<String> functionNames, List<FunctionCallback> functionCallbacks, List<Message> messages, Map<String, Object> userParams, Map<String, Object> systemParams, List<Advisor> advisors, Map<String, Object> advisorParams, Map<String, Object> adviseContext, Map<String, Object> toolContext) Creates an instance of aAdvisedRequest
record class. -
Uses of ChatOptions in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.chat.observation
Methods in org.springframework.ai.chat.observation that return ChatOptionsModifier and TypeMethodDescriptionChatModelObservationContext.getRequestOptions()
Deprecated, for removal: This API element is subject to removal in a future version.Use {@link #getRequest().getOptions()} instead.Methods in org.springframework.ai.chat.observation with parameters of type ChatOptionsModifier and TypeMethodDescriptionChatModelObservationContext.Builder.requestOptions
(ChatOptions requestOptions) Deprecated, for removal: This API element is subject to removal in a future version.ChatOptions are passed in the Prompt object and should not be set separately anymore. -
Uses of ChatOptions in org.springframework.ai.chat.prompt
Classes in org.springframework.ai.chat.prompt that implement ChatOptionsMethods in org.springframework.ai.chat.prompt with type parameters of type ChatOptionsModifier and TypeMethodDescription<T extends ChatOptions>
TChatOptions.copy()
Returns a copy of thisChatOptions
.<T extends ChatOptions>
TDefaultChatOptions.copy()
Methods in org.springframework.ai.chat.prompt that return ChatOptionsModifier and TypeMethodDescriptionChatOptions.Builder.build()
Build theChatOptions
.DefaultChatOptionsBuilder.build()
Prompt.getOptions()
Methods in org.springframework.ai.chat.prompt with parameters of type ChatOptionsModifier and TypeMethodDescriptionChatPromptTemplate.create
(Map<String, Object> model, ChatOptions modelOptions) ChatPromptTemplate.create
(ChatOptions modelOptions) PromptTemplate.create
(Map<String, Object> model, ChatOptions modelOptions) PromptTemplate.create
(ChatOptions modelOptions) PromptTemplateActions.create
(Map<String, Object> model, ChatOptions modelOptions) PromptTemplateActions.create
(ChatOptions modelOptions) Constructors in org.springframework.ai.chat.prompt with parameters of type ChatOptionsModifierConstructorDescriptionPrompt
(String contents, ChatOptions chatOptions) Prompt
(List<Message> messages, ChatOptions chatOptions) Prompt
(Message message, ChatOptions chatOptions) -
Uses of ChatOptions in org.springframework.ai.minimax
Classes in org.springframework.ai.minimax that implement ChatOptionsModifier and TypeClassDescriptionclass
MiniMaxChatOptions represents the options for performing chat completion using the MiniMax API.Methods in org.springframework.ai.minimax that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.mistralai
Classes in org.springframework.ai.mistralai that implement ChatOptionsMethods in org.springframework.ai.mistralai that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.model.function
Subinterfaces of ChatOptions in org.springframework.ai.model.functionClasses in org.springframework.ai.model.function that implement ChatOptionsMethods in org.springframework.ai.model.function with type parameters of type ChatOptionsModifier and TypeMethodDescription<T extends ChatOptions>
TDefaultFunctionCallingOptions.copy()
Deprecated.Methods in org.springframework.ai.model.function with parameters of type ChatOptionsModifier and TypeMethodDescriptionDefaultFunctionCallingOptions.merge
(ChatOptions options) Deprecated. -
Uses of ChatOptions in org.springframework.ai.model.tool
Subinterfaces of ChatOptions in org.springframework.ai.model.toolModifier and TypeInterfaceDescriptioninterface
A set of options that can be used to configure the interaction with a chat model, including tool calling.Classes in org.springframework.ai.model.tool that implement ChatOptionsMethods in org.springframework.ai.model.tool with type parameters of type ChatOptionsMethods in org.springframework.ai.model.tool with parameters of type ChatOptionsModifier and TypeMethodDescriptionstatic boolean
ToolCallingChatOptions.isInternalToolExecutionEnabled
(ChatOptions chatOptions) -
Uses of ChatOptions in org.springframework.ai.moonshot
Classes in org.springframework.ai.moonshot that implement ChatOptionsModifier and TypeClassDescriptionclass
Options for Moonshot chat completions.Methods in org.springframework.ai.moonshot that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.oci.cohere
Classes in org.springframework.ai.oci.cohere that implement ChatOptionsModifier and TypeClassDescriptionclass
The configuration information for OCI chat requests.Methods in org.springframework.ai.oci.cohere that return ChatOptionsModifier and TypeMethodDescriptionOCICohereChatOptions.copy()
OCICohereChatModel.getDefaultOptions()
-
Uses of ChatOptions in org.springframework.ai.ollama
Methods in org.springframework.ai.ollama that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.ollama.api
Classes in org.springframework.ai.ollama.api that implement ChatOptionsModifier and TypeClassDescriptionclass
Helper class for creating strongly-typed Ollama options. -
Uses of ChatOptions in org.springframework.ai.openai
Classes in org.springframework.ai.openai that implement ChatOptionsMethods in org.springframework.ai.openai that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.qianfan
Classes in org.springframework.ai.qianfan that implement ChatOptionsModifier and TypeClassDescriptionclass
QianFanChatOptions represents the options for performing chat completion using the QianFan API.Methods in org.springframework.ai.qianfan that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.vertexai.gemini
Classes in org.springframework.ai.vertexai.gemini that implement ChatOptionsModifier and TypeClassDescriptionclass
Options for the Vertex AI Gemini Chat API.Methods in org.springframework.ai.vertexai.gemini that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.watsonx
Classes in org.springframework.ai.watsonx that implement ChatOptionsModifier and TypeClassDescriptionclass
Helper class for creating watsonx.ai options.Methods in org.springframework.ai.watsonx that return ChatOptions -
Uses of ChatOptions in org.springframework.ai.zhipuai
Classes in org.springframework.ai.zhipuai that implement ChatOptionsModifier and TypeClassDescriptionclass
ZhiPuAiChatOptions represents the options for the ZhiPuAiChat model.Methods in org.springframework.ai.zhipuai that return ChatOptionsMethods in org.springframework.ai.zhipuai with parameters of type ChatOptions