Skip to main content

AI Analysis

Overview

AI analysis is Evatar's core intelligence capability. Every uploaded screenshot automatically enters the analysis pipeline, where LLM performs multimodal analysis to extract structured information including app name, content category, user intent, summary, entities, and confidence.

Analysis Fields

FieldTypeDescriptionExample
app_nameStringScreenshot source app name"WeChat", "Alipay", "12306"
content_categoryStringContent category"chat", "webpage", "finance", "notification"
intentStringUser intent"reminder", "research", "reference", "note", "ignore"
relevanceStringRelevance level"high", "medium", "low"
summaryStringSummary (2-3 sentences)"User discussed tomorrow's meeting with Zhang San in WeChat"
entitiesArrayExtracted entity list[{"type":"name","value":"Zhang San"}]
confidenceFloatConfidence (0.0-1.0)0.85

Analysis Pipeline Flow

  1. Screenshot upload completes
  2. enqueue_analysis creates async task
  3. _safe_process with 3 retries (exponential backoff)
  4. process_photo() checks idempotency, encodes image, calls LLM
  5. Parses JSON response, saves Analysis record
  6. If relevance is not low and confidence >= 0.3, extracts memory
  7. Every 3 completed analyses triggers intent reasoning

Analysis Status Flow

StatusDescription
pendingWaiting for analysis
processingCurrently analyzing
doneAnalysis complete
errorAnalysis failed (retryable)