-
Terminally Deprecated ElementsElementDescriptionChatOptions are passed in the Prompt object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.EmbeddingOptions are passed in the EmbeddingRequest object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.ImageOptions are passed in the ImagePrompt object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.
-
Deprecated InterfacesInterfaceDescriptionin favor of
ToolCallback
.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.Builder
andMethodToolCallback.Builder
.UseToolCallbackResolver
instead.in favor ofToolCallingChatOptions
.
-
Deprecated ClassesClassDescriptionUse
ToolCallingManager
instead.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.Builder
andMethodToolCallback.Builder
.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.Builder
andMethodToolCallback.Builder
.UseSpringBeanToolCallbackResolver
instead.in favor ofDefaultToolCallingChatOptions
.in favor ofDefaultToolCallingChatOptions.Builder
.UseToolCallingManager
instead.in favor ofFunctionToolCallback
.in favor ofMethodToolCallback
.Only to help moving away fromAbstractToolCallSupport
. It will be removed in the next milestone.
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionreplaced by
McpClientAutoConfiguration.asyncToolCallbacks(ObjectProvider)
that returns aToolCallbackProvider
instead of a list ofToolCallback
replaced byMcpClientAutoConfiguration.toolCallbacks(ObjectProvider)
that returns aToolCallbackProvider
instead of a list ofToolCallback
in favor ofChatClient.Builder.defaultTools(String...)
in favor ofChatClient.Builder.defaultTools(Object...)
ChatOptions are passed in the Prompt object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.We are considering getting rid of this, please comment on https://github.com/spring-projects/spring-ai/issues/1782EmbeddingOptions are passed in the EmbeddingRequest object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.ImageOptions are passed in the ImagePrompt object and should not be set separately anymore.Use {@link #getRequest().getOptions()} instead.
-
Deprecated ConstructorsConstructorDescription