simpleAzureOpenAIExecutor

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

Creates an instance of SingleLLMPromptExecutor with an OpenAILLMClient configured 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): SingleLLMPromptExecutor(source)

Creates an instance of SingleLLMPromptExecutor with an OpenAILLMClient configured 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 SingleLLMPromptExecutor(source)
fun simpleAzureOpenAIExecutor(baseUrl: String, version: ERROR CLASS: Symbol not found for AzureOpenAIServiceVersion, apiToken: String): ERROR CLASS: Symbol not found for SingleLLMPromptExecutor(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