struct
AI::Google::ProviderSettings
- AI::Google::ProviderSettings
- Struct
- Value
- Object
Overview
Provider settings.
Defined in:
ai/google/google_provider.crConstructors
Instance Method Summary
-
#api_key : String | Nil
API key (defaults to GOOGLE_GENERATIVE_AI_API_KEY env var).
-
#base_url : String | Nil
Base URL for API calls.
-
#headers : Hash(String, String) | Nil
Custom headers.
-
#name : String | Nil
Custom provider name.
Constructor Detail
def self.new(base_url : String | Nil = nil, api_key : String | Nil = nil, headers : Hash(String, String) | Nil = nil, name : String | Nil = nil)
#