Package org.springframework.ai.audio.tts
Class TextToSpeechPrompt
java.lang.Object
org.springframework.ai.audio.tts.TextToSpeechPrompt
- All Implemented Interfaces:
ModelRequest<TextToSpeechMessage>
Implementation of the
ModelRequest interface for the text to speech prompt.- Author:
- Alexandros Pappas
-
Constructor Summary
ConstructorsConstructorDescriptionTextToSpeechPrompt(String text) TextToSpeechPrompt(String text, TextToSpeechOptions options) TextToSpeechPrompt(TextToSpeechMessage message) TextToSpeechPrompt(TextToSpeechMessage message, TextToSpeechOptions options) -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the instructions or input required by the AI model.Retrieves the customizable options for AI model interactions.inthashCode()voidsetOptions(TextToSpeechOptions options) toString()
-
Constructor Details
-
TextToSpeechPrompt
-
TextToSpeechPrompt
-
TextToSpeechPrompt
-
TextToSpeechPrompt
-
-
Method Details
-
getInstructions
Description copied from interface:ModelRequestRetrieves the instructions or input required by the AI model.- Specified by:
getInstructionsin interfaceModelRequest<TextToSpeechMessage>- Returns:
- the instructions or input required by the AI model
-
getOptions
Description copied from interface:ModelRequestRetrieves the customizable options for AI model interactions.- Specified by:
getOptionsin interfaceModelRequest<TextToSpeechMessage>- Returns:
- the customizable options for AI model interactions
-
setOptions
-
equals
-
hashCode
public int hashCode() -
toString
-