Class ReactiveDownloadStage

java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.speech.ReactiveDownloadStage

public class ReactiveDownloadStage extends SpeechConfigurationStage
Configures target folder
  • Method Details

    • downloadTo

      public reactor.core.publisher.Mono<File> downloadTo(File targetFolder)
      Configures target folder to download to
      Parameters:
      targetFolder - File folder where to download the produced audio file
      Returns:
      reactor.core.publisher.Mono<File> to subscribe when the file is downloaded