-
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.BuilderandMethodToolCallback.Builder.UseToolCallbackResolverinstead.in favor ofToolCallingChatOptions.
-
Deprecated ClassesClassDescriptionUse
ToolCallingManagerinstead.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.BuilderandMethodToolCallback.Builder.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.BuilderandMethodToolCallback.Builder.UseSpringBeanToolCallbackResolverinstead.in favor ofDefaultToolCallingChatOptions.in favor ofDefaultToolCallingChatOptions.Builder.UseToolCallingManagerinstead.in favor ofFunctionToolCallback.in favor ofMethodToolCallback.Only to help moving away fromAbstractToolCallSupport. It will be removed in the next milestone.
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionin favor of
ChatClient.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