Package-level declarations

Functions

Link copied to clipboard
fun simpleAnthropicExecutor(apiKey: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with an AnthropicLLMClient.

fun simpleAnthropicExecutor(apiKey: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.

Link copied to clipboard
fun simpleAzureOpenAIExecutor(baseUrl: String, version: AzureOpenAIServiceVersion, apiToken: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor
fun simpleAzureOpenAIExecutor(resourceName: String, deploymentName: String, version: AzureOpenAIServiceVersion, apiToken: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

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

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

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.

Link copied to clipboard
fun simpleBedrockExecutor(awsAccessKeyId: String, awsSecretAccessKey: String, awsSessionToken: String? = null, settings: BedrockClientSettings = BedrockClientSettings()): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with a BedrockLLMClient.

Link copied to clipboard
fun simpleBedrockExecutorWithBearerToken(bedrockApiKey: String, settings: BedrockClientSettings = BedrockClientSettings()): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with a BedrockLLMClient. Uses the provided Bedrock API key to create a aws.smithy.kotlin.runtime.http.auth.BearerTokenProvider.

Link copied to clipboard
fun simpleGoogleAIExecutor(apiKey: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with an GoogleLLMClient.

fun simpleGoogleAIExecutor(apiKey: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.

Link copied to clipboard
fun simpleMistralAIExecutor(apiKey: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with a MistralAILLMClient.

fun simpleMistralAIExecutor(apiKey: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.

Link copied to clipboard
fun simpleOllamaAIExecutor(baseUrl: String = "http://localhost:11434", httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with an OllamaClient.

fun simpleOllamaAIExecutor(baseUrl: String = "http://localhost:11434"): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.

Link copied to clipboard
fun simpleOpenAIExecutor(apiToken: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates a MultiLLMPromptExecutor instance configured to use the OpenAI client.

fun simpleOpenAIExecutor(apiToken: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.

Link copied to clipboard
fun simpleOpenRouterExecutor(apiKey: String, httpClientFactory: KoogHttpClient.Factory): MultiLLMPromptExecutor

Creates an instance of MultiLLMPromptExecutor with an OpenRouterLLMClient.

fun simpleOpenRouterExecutor(apiKey: String): ERROR CLASS: Symbol not found for MultiLLMPromptExecutor

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.