Uses of Class
org.springframework.ai.openai.audio.speech.SpeechResponse
-
Uses of SpeechResponse in org.springframework.ai.openai
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<SpeechResponse>
OpenAiAudioSpeechModel.stream
(SpeechPrompt speechPrompt) Streams the audio response for the given speech prompt. -
Uses of SpeechResponse in org.springframework.ai.openai.audio.speech
Modifier and TypeMethodDescriptionSpeechModel.call
(SpeechPrompt request) Sends a speech request to the OpenAI TTS API and returns the resulting speech response.Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<SpeechResponse>
StreamingSpeechModel.stream
(SpeechPrompt prompt) Sends a speech request to the OpenAI TTS API and returns a stream of the resulting speech responses.