Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.42
    Preparing search index...

    Heuristic-based multi-iteration analysis pipeline for deep political intelligence.

    Instantiate once per deep-inspection run; call analyze() to execute all passes. The number of iterations gates which passes run:

    • 1 iteration: Pass 1 only (classification + templated SWOT/implications/takeaways)
    • 2 iterations: Passes 1โ€“3 (adds per-document analysis + cross-document synthesis)
    • 3+ iterations (default): Passes 1โ€“4 (adds QA scoring with refinement on failure)
    Index

    Constructors

    Properties

    iterations: number
    qualityThreshold: number
    _deprecationWarned: boolean = false

    Class-level guard shared across all instances so deprecation warnings are emitted at most once per process.

    Methods

    • Parameters

      • classified: ClassifiedDocuments
      • focusTopic: string
      • lang: Language

      Returns string

      Since v3.0 โ€” Replace with AI prompt in workflow .md files. See analysis/methodologies/ai-driven-analysis-guide.md Rule 2.

    • Parameters

      • classified: ClassifiedDocuments
      • focusTopic: string
      • lang: Language

      Returns string[]

      Since v3.0 โ€” Replace with AI prompt in workflow .md files. See analysis/methodologies/ai-driven-analysis-guide.md Rule 2.