Deprecated API
Contents
-
ClassDescriptionin favor of the
BedrockProxyChatModel
.in favor of theBedrockProxyChatModel
.in favor of theBedrockProxyChatModel
.in favor of theBedrockProxyChatModel
.in favor of theBedrockProxyChatModel
.in favor of theBedrockProxyChatModel
.in favor ofFunctionCallback.Builder
in favor ofDefaultFunctionCallbackBuilder
-
MethodDescriptionUse
ChatResponse.Builder.generations(List)
instead.UseChatResponse.Builder.metadata(String, Object)
instead.since 1.0.0-M5, useDocument.Builder.text(String)
instead as it more accurately reflects that this Document instance will contain text rather than generic content. This method will be removed in a future release.We are considering getting rid of this, please comment on https://github.com/spring-projects/spring-ai/issues/1782Use getTextorg.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.
Document.Builder.text(String)
instead as it more accurately reflects that this Document instance will contain text rather than generic content. This method will be removed in a future release.