Uses of Interface
org.springframework.ai.chat.prompt.ChatOptions
Packages that use ChatOptions
Package
Description
Chat client.
-
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
Classes in org.springframework.ai.bedrock.converse that implement ChatOptionsModifier and TypeClassDescriptionclass
The options to be used when sending a chat request to the Bedrock API.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<ToolCallback> toolCallbacks, List<Message> messages, List<String> toolNames, List<Media> media, ChatOptions chatOptions, List<Advisor> advisors, Map<String, Object> advisorParams, io.micrometer.observation.ObservationRegistry observationRegistry, ChatClientObservationConvention observationConvention, Map<String, Object> toolContext, TemplateRenderer templateRenderer) -
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.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 TypeMethodDescriptionPrompt.Builder.chatOptions
(ChatOptions chatOptions) ChatPromptTemplate.create
(Map<String, Object> model, ChatOptions modelOptions) ChatPromptTemplate.create
(ChatOptions modelOptions) PromptTemplate.create
(Map<String, Object> additionalVariables, 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.deepseek
Classes in org.springframework.ai.deepseek that implement ChatOptionsModifier and TypeClassDescriptionclass
Chat completions options for the DeepSeek chat API.Methods in org.springframework.ai.deepseek that return 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.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) default boolean
ToolExecutionEligibilityChecker.isInternalToolExecutionEnabled
(ChatOptions chatOptions) Determines if tool execution should be performed by the Spring AI or by the client.default boolean
ToolExecutionEligibilityChecker.isToolExecutionRequired
(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.default boolean
ToolExecutionEligibilityPredicate.isToolExecutionRequired
(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.boolean
DefaultToolExecutionEligibilityPredicate.test
(ChatOptions promptOptions, ChatResponse chatResponse) -
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.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.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