Class AsyncPromptStage

    • Method Detail

      • describe

        public AsyncPromise describe​(String prompt)
        Sends request to the OpenAI API. Response will be received in the supplied callbacks from previous stage.
        Parameters:
        prompt - user supplied prompt
        Returns:
        AsyncPromise
      • describe

        public AsyncPromise describe()
        Sends request to the OpenAI API. Uses DEFAULT_PROMPT Response will be received in the supplied callbacks from previous stage.
        Returns:
        AsyncPromise