Class SynchronousPromptStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.transcription.TranscriptionConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.transcription.SynchronousPromptStage
- All Implemented Interfaces:
RuntimeExecutor
public class SynchronousPromptStage
extends TranscriptionConfigurationStage
implements RuntimeExecutor
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.transcription.TranscriptionConfigurationStage
executor, requestBuilder -
Method Summary
Modifier and TypeMethodDescriptionbg.codexio.ai.openai.api.payload.voice.response.SpeechTextResponseGuides the transcription with additional promptbg.codexio.ai.openai.api.payload.voice.response.SpeechTextResponseunguided()Sends request to OpenAI API without additional prompt
-
Method Details
-
guide
Guides the transcription with additional prompt- Returns:
SpeechTextResponsethe 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:
SpeechTextResponsethe response from the API in the configured format
-