yera.models.gemini_lookup

Capability lookup for Gemini models.

Symbols

class GeminiCapabilitySpec — Capabilities that cannot be determined from Gemini model metadata.
def look_up_gemini_capabilities — Look up capabilities unavailable from the Gemini catalogue.

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


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,
) → None

look_up_gemini_capabilities

look_up_gemini_capabilities(
    model_id: str,
) → GeminiCapabilitySpec

Look 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.