Module model_name

Module model_name 

Source
Expand description

Model name parsing helpers.

Functionsยง

extract_model_name
Extract simple model name from a fully-qualified resource path.
is_gemini1_model
Returns true if the model is a Gemini 1.x model (name starts with "gemini-1").
is_gemini2_or_above
Returns true if the model is Gemini 2.x or above.
is_gemini_model
Returns true if the model name starts with "gemini-".