Uses of Class
org.springframework.ai.openai.audio.speech.SpeechPrompt
Packages that use SpeechPrompt
-
Uses of SpeechPrompt in org.springframework.ai.openai
Methods in org.springframework.ai.openai with parameters of type SpeechPromptModifier 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
Methods in org.springframework.ai.openai.audio.speech with parameters of type SpeechPromptModifier 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.