Gemma4AssetAnalyzer#

class rapidtools.processing.Gemma4AssetAnalyzer(prompt: str | Path = '', model_id: str = 'google/gemma-4-E2B-it', device: str = 'auto', temperature: float = 0.4, max_tokens: int = 512, max_images_per_asset: int = 2, batch_size: int = 4, image_filter: Callable[[ImageAsset], bool] | None = None, cancel_event: Event | None = None)[source]#

Bases: BaseLocalAssetAnalyzer

Deprecated: use AssetAnalyzer(load('gemma4', ...)). Prefix gemma4_.

ATTRIBUTE_PREFIX: str | None = 'gemma4'#

Default attribute prefix when neither the model nor the caller gives one.