Class SimplifiedStage
- java.lang.Object
-
- bg.codexio.ai.openai.api.sdk.voice.transcription.SimplifiedStage
-
- All Implemented Interfaces:
TerminalStage
public class SimplifiedStage extends Object implements TerminalStage
Simplifies configuration with already configured AI Model, temperature, language and output format;
-
-
Constructor Summary
Constructors Constructor Description SimplifiedStage(bg.codexio.ai.openai.api.payload.credentials.ApiCredentials credentials, File audioFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranscriptionRuntimeSelectionStageandRespond()Autoconfigures AI ModelWhisper10, temperatureTemperatureStage.deterministic(), languageLanguageStage.talkingInEnglish()and formatFormatStage.justText()
-
-
-
Constructor Detail
-
SimplifiedStage
public SimplifiedStage(bg.codexio.ai.openai.api.payload.credentials.ApiCredentials credentials, File audioFile)
-
-
Method Detail
-
andRespond
public TranscriptionRuntimeSelectionStage andRespond()
Autoconfigures AI ModelWhisper10, temperatureTemperatureStage.deterministic(), languageLanguageStage.talkingInEnglish()and formatFormatStage.justText()- Specified by:
andRespondin interfaceTerminalStage- Returns:
TranscriptionRuntimeSelectionStage
-
-