yera.models.gemini_lookup
Capability lookup for Gemini models.
Symbols
GeminiCapabilitySpec
Capabilities that cannot be determined from Gemini model metadata.
Fields
structured_outputs
type: bool = False
tools
type: bool = False
tool_choice
type: bool = False
supports_vision
type: bool = False
supports_pdf
type: bool = False
supports_sampling_parameters
type: bool = False
Methods
__init__ —
GeminiCapabilitySpec.__init__
__init__(
structured_outputs: bool = False,
tools: bool = False,
tool_choice: bool = False,
supports_vision: bool = False,
supports_pdf: bool = False,
supports_sampling_parameters: bool = False,
) → Nonelook_up_gemini_capabilities
look_up_gemini_capabilities(
model_id: str,
) → GeminiCapabilitySpecLook up capabilities unavailable from the Gemini catalogue.
Parameters
model_id
type: str
The provider-side Gemini model identifier.
Returns
type: GeminiCapabilitySpec
The matching capability specification, or conservative defaults.