Interface TextToAudioService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTextToAudioService.BuilderBuilder for the TextToAudioService.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static TextToAudioService.Builderbuilder()Gets the builder for the TextToAudioService.reactor.core.publisher.Mono<AudioContent>getAudioContentAsync(String sampleText, TextToAudioExecutionSettings executionSettings)Get audio content from text.-
Methods inherited from interface com.microsoft.semantickernel.services.AIService
getModelId, getServiceId
-
-
-
-
Method Detail
-
getAudioContentAsync
reactor.core.publisher.Mono<AudioContent> getAudioContentAsync(String sampleText, TextToAudioExecutionSettings executionSettings)
Get audio content from text.- Parameters:
sampleText- The sample text.executionSettings- The AI execution settings.- Returns:
- Audio content from text.
-
builder
static TextToAudioService.Builder builder()
Gets the builder for the TextToAudioService.- Returns:
- The builder.
-
-