Deprecated API
Contents
-
ElementDescriptionuse
OpenAiAudioApi.SpeechRequest.Builder.model(String)
instead.useOpenAiAudioApi.SpeechRequest.Builder.speed(Float)
instead.useOpenAiAudioApi.SpeechRequest.Builder.voice(Voice)
instead.
-
InterfaceDescriptionin favor of
ToolCallback
.Use specific builder for the type of tool you need, e.g.FunctionToolCallback.Builder
andMethodToolCallback.Builder
.in favor ofToolCallingChatOptions
.
-
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
.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
.in favor ofDefaultToolCallingChatOptions
.in favor ofDefaultToolCallingChatOptions.Builder
.in favor ofFunctionToolCallback
.in favor ofMethodToolCallback
.
-
MethodDescriptionWe are considering getting rid of this, please comment on https://github.com/spring-projects/spring-ai/issues/1782use
OpenAiAudioApi.SpeechRequest.Builder.input(String)
instead.useOpenAiAudioApi.SpeechRequest.Builder.model(String)
instead.useOpenAiAudioApi.SpeechRequest.Builder.speed(Float)
instead.useOpenAiAudioApi.SpeechRequest.Builder.voice(Voice)
instead.org.springframework.ai.openai.api.OpenAiAudioApi.TranscriptionRequest.Builder.withTemperature(Float) UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getPromptTokensDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.UseOpenAiUsage.getCompletionTokenDetails()
instead.
OpenAiAudioApi.SpeechRequest.Builder.input(String)
instead.