Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...
    • Generate deep policy analysis for a single document entry. Only uses fullText / fullContent (enriched content fetched separately) as the passage source — summary/notis are already shown in the summary line above in structured views and must not be duplicated here. Falls back to generatePolicySignificance when no enriched text is available.

      Parameters

      • doc: RawDocument
      • lang: string
      • OptionalimpliedDoktyp: string

        document type inferred from the calling context ('mot', 'bet', 'prop', 'ip') when doc.doktyp / doc.documentType is absent.

      • maxPassageChars: number = 300

      Returns string