Package-level declarations

Types

Link copied to clipboard
class GoogleClientSettings(val baseUrl: String = "https://generativelanguage.googleapis.com", val timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig())

Configuration settings for the Google AI client.

Link copied to clipboard
open class GoogleLLMClient(apiKey: String, settings: GoogleClientSettings = GoogleClientSettings(), baseClient: HttpClient = HttpClient(), clock: Clock = Clock.System) : LLMClient

Implementation of LLMClient for Google's Gemini API.

Link copied to clipboard

Google Gemini models and their capabilities. See https://ai.google.dev/gemini-api/docs for more information.

Link copied to clipboard
class GoogleParams(temperature: Double? = null, maxTokens: Int? = null, numberOfChoices: Int? = null, speculation: String? = null, schema: LLMParams.Schema? = null, toolChoice: LLMParams.ToolChoice? = null, user: String? = null, additionalProperties: Map<String, JsonElement>? = null, val topP: Double? = null, val topK: Int? = null, val thinkingConfig: GoogleThinkingConfig? = null) : LLMParams

Google Generate API parameters layered on top of LLMParams.