Class SynchronousPromptStage

    • Method Detail

      • guide

        public bg.codexio.ai.openai.api.payload.voice.response.SpeechTextResponse guide​(String prompt)
        Guides the translation with additional prompt
        Returns:
        SpeechTextResponse the response from the API in the configured format
      • unguided

        public bg.codexio.ai.openai.api.payload.voice.response.SpeechTextResponse unguided()
        Sends request to OpenAI API without additional prompt
        Returns:
        SpeechTextResponse the response from the API in the configured format