Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
VisionAgent: Analyzing screenshots and charts
Run
from pydantic import BaseModel from praisonai import Agent class ChartKPI(BaseModel): metric: str value: str alert: bool parser = Agent(instructions='Extract metric, value, and alert boolean from the vision note.') kpi = parser.chat('Chart shows Error Rate spiked to 4.8% in red.', output_pydantic=ChartKPI) print('Extracted KPI:', kpi.model_dump())
Press Run. The result appears here.
Esc
Search in
All
Docs
University