Uses of Class
org.springframework.ai.openai.audio.speech.SpeechPrompt
-
Uses of SpeechPrompt in org.springframework.ai.openai
Modifier and TypeMethodDescriptionOpenAiAudioSpeechModel.call
(SpeechPrompt speechPrompt) reactor.core.publisher.Flux<SpeechResponse>
OpenAiAudioSpeechModel.stream
(SpeechPrompt speechPrompt) Streams the audio response for the given speech prompt. -
Uses of SpeechPrompt 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.reactor.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.