KoogProperties

@ConfigurationProperties(prefix = "ai.koog")
class KoogProperties(source)

Configuration properties for the Koog library used for integrating with various large language model (LLM) providers.

This class centralizes the configuration settings for multiple LLM providers, such as Anthropic, Google, Ollama, OpenAI, and OpenRouter, making them accessible via a unified configuration prefix. The properties for each provider are nested and configurable independently using specific keys.

The default base URLs and settings for the providers are preconfigured but can be overridden through application properties or environment variables.

Configuration prefix: "ai.koog"

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Companion object for the KoogProperties class, providing constant values and utilities associated with the configuration of Koog-related properties.

Properties

Link copied to clipboard
@NestedConfigurationProperty
var anthropicClientProperties: ProviderKoogProperties

Holds configuration properties specific to the Anthropic API client. This variable allows users to configure the API key and base URL for interacting with the Anthropic service.

Link copied to clipboard
@NestedConfigurationProperty
var googleClientProperties: ProviderKoogProperties

Configuration properties representing settings required for integration with Google's Generative Language API.

Link copied to clipboard
@NestedConfigurationProperty
var ollamaClientProperties: OllamaKoogProperties

Configuration properties for the Ollama LLM (Large Language Model) client. This property is used to define and manage settings specific to the Ollama client, including the base URL for API interactions.

Link copied to clipboard
@NestedConfigurationProperty
var openAIClientProperties: ProviderKoogProperties

Configuration properties for the OpenAI client.

Link copied to clipboard
@NestedConfigurationProperty
var openRouterClientProperties: ProviderKoogProperties

Represents the configuration properties for the OpenRouter LLM client integration.