Veracity Assessment Prompt and Schema
The Veracity Engine compares the live webpage against cited grounded segments using a structured JSON schema to categorize claims into survived, lost, and distorted arrays, producing an exact fidelity score.
sequenceDiagram
autonumber
actor User
participant Veracity as Veracity Engine
participant Gemini as Gemini Search
participant TargetPage as Target URL
participant Evaluator as Veracity Evaluator
User->>Veracity: Submit query
Veracity->>Gemini: Run grounded search
Gemini-->>Veracity: Answer text + Grounding segments & URLs
Veracity->>TargetPage: Fetch full page via url_context
TargetPage-->>Veracity: Page content
Veracity->>Evaluator: Prompt with query, segments, & page content
Evaluator-->>Veracity: JSON (survived, lost, distortions)
Veracity->>User: Aggregate fidelity score & audit reportReferenced by
- Fidelity Score Mathematical Formulation
- Veracity Prompts and Schemas
- Assessment Prompt Structure
- Fidelity and Aggregate Scoring Formulation
- Role of url_context in Veracity
- Aggregate Fidelity Score Calculation
- Veracity Engine Architecture
- Veracity Engine Distortions
- Fact Extraction Pipeline
- Veracity Claim Extraction Mechanics
- Gemini url_context Tool
- url_context Fact Extraction
