simpleAzureOpenAIExecutor

fun simpleAzureOpenAIExecutor(resourceName: String, deploymentName: String, version: AzureOpenAIServiceVersion, apiToken: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor(source)

Creates an instance of MultiLLMPromptExecutor with an OpenAILLMClient configured for Azure OpenAI.

Return

A new instance of MultiLLMPromptExecutor configured with the OpenAILLMClient for Azure OpenAI.

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.

apiToken

The API token used for authentication with the Azure OpenAI service.

httpClientFactory

Factory used to create the underlying HTTP client.


fun simpleAzureOpenAIExecutor(baseUrl: String, version: AzureOpenAIServiceVersion, apiToken: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor(source)

Creates an instance of MultiLLMPromptExecutor with an OpenAILLMClient configured for Azure OpenAI.

Return

A new instance of MultiLLMPromptExecutor configured with the OpenAILLMClient for Azure OpenAI.

Parameters

baseUrl

The base URL for the Azure OpenAI service.

version

The version of the Azure OpenAI Service to use.

apiToken

The API token used for authentication with the Azure OpenAI service.

httpClientFactory

Factory used to create the underlying HTTP client.

fun simpleAzureOpenAIExecutor(resourceName: String, deploymentName: String, version: ERROR CLASS: Symbol not found for AzureOpenAIServiceVersion, apiToken: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor(source)
fun simpleAzureOpenAIExecutor(baseUrl: String, version: ERROR CLASS: Symbol not found for AzureOpenAIServiceVersion, apiToken: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor(source)

Convenience overload that constructs the underlying client via its JVM no-factory entry point (resolves the default ai.koog.http.client.KoogHttpClient.Factory at call time). JVM and Android only.

See also