googleExecutor

@Bean
@ConditionalOnProperty(prefix = "ai.koog", name = ["google.api-key"])
fun googleExecutor(properties: KoogProperties): SingleLLMPromptExecutor(source)

Provides a SingleLLMPromptExecutor bean configured with a GoogleLLMClient using the settings from the given KoogProperties. The bean is only created if the google.api-key property is set.

Return

A SingleLLMPromptExecutor instance configured with a GoogleLLMClient.

Parameters

properties

The configuration properties containing the googleClientProperties needed to create the client.