Riksdagsmonitor Intelligence Platform โ€” API Documentation - v0.8.15
    Preparing search index...
    • Run multi-dimensional quality assessment on a generated article.

      The assessment performs two passes: Pass 1 โ€” compute all six dimension scores from the HTML content Pass 2 โ€” aggregate dimensions into a weighted overall score and build the issues list

      Always returns assessmentPasses >= 2.

      Parameters

      • html: string

        Full HTML content of the article

      • lang: string

        ISO 639-1 language code (e.g. "en")

      • sourceDocIds: readonly string[] = []

        Document IDs available in the source data for cross-checking

      • passThreshold: number = 60

        Minimum overall score to pass (0โ€“100, default 60)

      Returns MultiDimensionalQualityAssessment