azure

fun azure(resourceName: String, deploymentId: String, apiVersion: String): OpenAIHost

Creates an instance of OpenAIHost configured for Azure hosting with the given resource name, deployment ID, and API version.

Parameters

resourceName

The name of your Azure OpenAI Resource.

deploymentId

The name of your model deployment.

apiVersion

The API version to use for this operation. This parameter should follow the YYYY-MM-DD format.