AzureOpenAIClientSettings
fun AzureOpenAIClientSettings(resourceName: String, deploymentName: String, version: AzureOpenAIServiceVersion, timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig()): OpenAIClientSettings(source)
Creates an instance of OpenAIClientSettings for Azure OpenAI client configuration.
Parameters
resourceName
The name of the Azure OpenAI resource.
deploymentName
The name of the deployment within the Azure OpenAI resource.
version
The version of the Azure OpenAI Service to use.
timeoutConfig
Configuration for connection timeouts, including request, connect, and socket timeouts.
fun AzureOpenAIClientSettings(baseUrl: String, version: AzureOpenAIServiceVersion, timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig()): OpenAIClientSettings(source)
Creates an instance of OpenAIClientSettings for Azure OpenAI client configuration.
This function is a convenience method that allows you to specify the base URL directly, along with the Azure OpenAI service version and connection timeout configuration.
Parameters
baseUrl
The base URL for the Azure OpenAI service.
version
The version of the Azure OpenAI Service to use.
timeoutConfig
Configuration for connection timeouts, including request, connect, and socket timeouts.