Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    The complete multi-perspective analysis result for a single parliamentary document. This is the primary output of analyzeDocument() in the framework orchestrator.

    interface DocumentAnalysisResult {
        document: RawDocument;
        overallSignificance: number;
        perspectives: PerspectiveAnalysis[];
        crossDocumentLinks: DocumentLink[];
        keyInsights: string[];
        confidenceScore: number;
    }
    Index

    Properties

    document: RawDocument

    The source document

    overallSignificance: number

    Political significance score (1–10). Drives article focus and newsworthiness prioritization.

    perspectives: PerspectiveAnalysis[]

    All six perspective analyses. Always contains exactly one entry per AnalysisLens value.

    crossDocumentLinks: DocumentLink[]

    Cross-document relationships detected in the batch context

    keyInsights: string[]

    Top-level insights synthesised across all perspectives (3–5 items)

    confidenceScore: number

    Overall confidence in the combined analysis (0–100). Computed as the arithmetic mean of per-perspective confidence scores.