GoogleLLMClient
Implementation of LLMClient for Google's Gemini API.
This client supports both standard and streaming text generation with optional tool calling capabilities.
Parameters
Custom client settings, defaults to standard API endpoint and timeouts
A preconfigured Koog HTTP client used for API calls. Must have authentication and other request defaults already embedded. To create a client with standard defaults, use the secondary constructor that accepts an API key and a KoogHttpClient.Factory.
Clock instance used for tracking response metadata timestamps.
Constructors
Secondary constructor for creating a GoogleLLMClient backed by an HTTP client factory.
Properties
Functions
Moderates the given prompt using the specified language model. This method is not supported by the Google API and will throw an exception when invoked.