Deprecated API
Contents
-
MethodDescriptionWe are considering getting rid of this, please comment on https://github.com/spring-projects/spring-ai/issues/1782We are considering getting rid of this, please comment on https://github.com/spring-projects/spring-ai/issues/1781org.springframework.ai.model.function.FunctionCallbackWrapper.builder
(BiFunction<I, ToolContext, O>) useFunctionCallback.builder()
instead.useFunctionCallback.builder()
instead.useModelOptionsUtils.getJsonSchema(Type, boolean)
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getPromptTokensDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.
CallAroundAdvisor
orStreamAroundAdvisor
instead.