LlamaVisionAssetAnalyzer#

class rapidtools.processing.LlamaVisionAssetAnalyzer(prompt: str | Path = '', model_id: str = 'meta-llama/Llama-3.2-11B-Vision-Instruct', device: str = 'auto', load_in_4bit: bool = True, temperature: float = 0.4, max_tokens: int = 512, max_images_per_asset: int = 2, image_filter: Callable[[ImageAsset], bool] | None = None, cancel_event: Event | None = None)[source]#

Bases: BaseLocalAssetAnalyzer

Deprecated: use AssetAnalyzer(load('llama', ...)). Prefix llama_.

ATTRIBUTE_PREFIX: str | None = 'llama'#

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