Class AudioResponse

java.lang.Object
com.intellijava.core.model.BaseRemoteModel
com.intellijava.core.model.AudioResponse

public class AudioResponse extends BaseRemoteModel
AudioResponse represents the response from the speech API that contains the audio content.
Author:
github.com/Barqawiz
  • Constructor Details

    • AudioResponse

      public AudioResponse()
      Default AudioResponse constructor.
  • Method Details

    • getAudioContent

      public String getAudioContent()
      Gets the audio content generated from a text.
      Returns:
      audio content as a base64 string.
    • setAudioContent

      public void setAudioContent(String audioContent)
      Sets the audio content generated from a text.
      Parameters:
      audioContent - audio content as a base64 string.