Companion

object Companion

Properties

Link copied to clipboard

A pre-configured instance of OpenAIHost with the base URL set as https://api.openai.com/v1/.

Functions

Link copied to clipboard
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.