Class TextToSpeechModelObservationContext.Builder
java.lang.Object
org.springframework.ai.audio.tts.observation.TextToSpeechModelObservationContext.Builder
- Enclosing class:
- TextToSpeechModelObservationContext
-
Method Summary
Modifier and TypeMethodDescriptionbuild()prompt(TextToSpeechPrompt prompt) streaming(boolean streaming) Marks the request as made in streaming mode.
-
Method Details
-
prompt
-
provider
-
streaming
Marks the request as made in streaming mode. Defaults tofalse.- Parameters:
streaming- whether the request is astream()call- Returns:
- this builder
-
build
-