Uses of Package
bg.codexio.ai.openai.api.sdk.auth
-
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.auth Class Description FromDeveloper Use this for manually passing the credentials and still conforming theSdkAuthcontract.FromEnvironment When instantiated andFromEnvironment.credentials()is called, series of environment variables will be scanned to provide necessaryApiCredentials.FromJson When instantiated andFromJson.credentials()is called, already configured json file is scanned for credentials.FromJson.AvailableKeys SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.chat Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.images Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.vision Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.voice.speech Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.voice.transcription Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of -
Classes in bg.codexio.ai.openai.api.sdk.auth used by bg.codexio.ai.openai.api.sdk.voice.translation Class Description SdkAuth This interface provider an instance ofApiCredentials
It can have multiple implementations according to the way the api key is provided to the application
As easy for implementation it is, this library provides the following default implementation for immediate usage:FromDeveloperFromEnvironmentFromJsonAs this is aFunctionalInterfaceit can also be implemented as a lambda (supplier) in the notation of