Class AsyncPromptStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.vision.VisionConfigurationStage
bg.codexio.ai.openai.api.sdk.vision.AsyncPromptStage
- All Implemented Interfaces:
RuntimeExecutor
Sends calls to OpenAI API
with the already defined
callbacks, and possibly
with prompt.
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.vision.VisionConfigurationStage
executor, requestContext -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Sends request to the OpenAI API.Sends request to the OpenAI API.
-
Method Details
-
describe
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
Sends request to the OpenAI API. UsesDEFAULT_PROMPTResponse will be received in the supplied callbacks from previous stage.- Returns:
AsyncPromise
-