Uses of Interface
bg.codexio.ai.openai.api.sdk.auth.SdkAuth
-
-
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk
Fields in bg.codexio.ai.openai.api.sdk with type parameters of type SdkAuth Modifier and Type Field Description static List<SdkAuth>Authenticator. DEFAULT_AUTHENTICATIONSAuthentication methods it will be tested against, when usingAuthenticator.autoAuthenticate(Function)()}.Method parameters in bg.codexio.ai.openai.api.sdk with type arguments of type SdkAuth Modifier and Type Method Description static <T> TAuthenticator. autoAuthenticate(Function<SdkAuth,T> authDelegate) -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.auth
Classes in bg.codexio.ai.openai.api.sdk.auth that implement SdkAuth Modifier and Type Class Description classFromDeveloperUse this for manually passing the credentials and still conforming theSdkAuthcontract.classFromEnvironmentWhen instantiated andFromEnvironment.credentials()is called, series of environment variables will be scanned to provide necessaryApiCredentials.classFromJsonWhen instantiated andFromJson.credentials()is called, already configured json file is scanned for credentials. -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.chat
Methods in bg.codexio.ai.openai.api.sdk.chat with parameters of type SdkAuth Modifier and Type Method Description static HttpBuilder<AIModelStage>Chat. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static ImmediateContextStageChat. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleGPT35TurboModelfor prompting.Constructors in bg.codexio.ai.openai.api.sdk.chat with parameters of type SdkAuth Constructor Description SimplifiedStage(SdkAuth auth) -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.images
Methods in bg.codexio.ai.openai.api.sdk.images with parameters of type SdkAuth Modifier and Type Method Description static <R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest>
HttpBuilder<ActionTypeStage<R>>Images. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static <R extends bg.codexio.ai.openai.api.payload.images.request.ImageRequest>
SimplifiedStage<R,PromptfulImagesRuntimeSelectionStage<bg.codexio.ai.openai.api.payload.images.request.CreateImageRequest>>Images. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleDallE30powered instance for creating images. -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.vision
Methods in bg.codexio.ai.openai.api.sdk.vision with parameters of type SdkAuth Modifier and Type Method Description static HttpBuilder<AIModelStage>Vision. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static SimplifiedStageVision. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleGPT40VisionPreviewModelfor prompting. -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.voice.speech
Methods in bg.codexio.ai.openai.api.sdk.voice.speech with parameters of type SdkAuth Modifier and Type Method Description static HttpBuilder<AIModelStage>Speech. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static SynchronousPromptStageSpeech. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleTTS1HDModelfor prompting. -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.voice.transcription
Methods in bg.codexio.ai.openai.api.sdk.voice.transcription with parameters of type SdkAuth Modifier and Type Method Description static HttpBuilder<AIModelStage>Transcription. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static PreSimplifiedStageTranscription. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleWhisper10for prompting. -
Uses of SdkAuth in bg.codexio.ai.openai.api.sdk.voice.translation
Methods in bg.codexio.ai.openai.api.sdk.voice.translation with parameters of type SdkAuth Modifier and Type Method Description static HttpBuilder<AIModelStage>Translation. authenticate(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuth.static PreSimplifiedStageTranslation. simply(SdkAuth auth)Authenticates against OpenAI API with an implementation ofSdkAuthand preconfigures simpleWhisper10for prompting.
-