EU Parliament Monitor — API Documentation - v0.8.23
    Preparing search index...

    Module Generators/NewsEnhanced

    CLI orchestrator for European Parliament news generation.

    Coordinates the four-stage pipeline (fetch → analysis → generate → output) via dedicated pipeline-stage modules and a strategy registry. Each article type is handled by its own ArticleStrategy implementation.

    When the --analysis flag is supplied (all 9 agentic workflows do this), the analysis stage runs before article generation, producing structured political intelligence artifacts under analysis/daily/{date}/{article-type}/. These artifacts are committed to the repository for review and improvement.

    Pipeline stages:

    • module:Generators/Pipeline/FetchStage
    • module:Generators/Pipeline/AnalysisStage (political intelligence: classification, threat assessment, risk scoring)
    • module:Generators/Pipeline/GenerateStage
    • module:Generators/Pipeline/OutputStage

    Article strategies:

    • module:Generators/Strategies/WeekAheadStrategy
    • module:Generators/Strategies/MonthAheadStrategy
    • module:Generators/Strategies/BreakingNewsStrategy
    • module:Generators/Strategies/CommitteeReportsStrategy
    • module:Generators/Strategies/PropositionsStrategy
    • module:Generators/Strategies/MotionsStrategy
    • module:Generators/Strategies/WeeklyReviewStrategy
    • module:Generators/Strategies/MonthlyReviewStrategy

    Bounded-context content modules (re-exported for backward compatibility):

    • module:Generators/WeekAheadContent
    • module:Generators/BreakingContent
    • module:Generators/CommitteeHelpers
    • module:Generators/MotionsContent
    • module:Generators/PropositionsContent

    Functions

    parsePlenarySessions → parsePlenarySessions
    parseEPEvents → parseEPEvents
    parseCommitteeMeetings → parseCommitteeMeetings
    parseLegislativeDocuments → parseLegislativeDocuments
    parseLegislativePipeline → parseLegislativePipeline
    parseParliamentaryQuestions → parseParliamentaryQuestions
    buildWeekAheadContent → buildWeekAheadContent
    buildKeywords → buildKeywords
    buildWhatToWatchSection → buildWhatToWatchSection
    buildStakeholderImpactMatrix → buildStakeholderImpactMatrix
    computeWeekPoliticalTemperature → computeWeekPoliticalTemperature
    buildBreakingNewsContent → buildBreakingNewsContent
    scoreBreakingNewsSignificance → scoreBreakingNewsSignificance
    applyCommitteeInfo → applyCommitteeInfo
    applyDocuments → applyDocuments
    applyEffectiveness → applyEffectiveness
    getMotionsFallbackData → getMotionsFallbackData
    generateMotionsContent → generateMotionsContent
    buildPoliticalAlignmentSection → buildPoliticalAlignmentSection
    buildPropositionsContent → buildPropositionsContent

    Interfaces

    PipelineData → PipelineData

    Variables

    aiTitle
    aiDescription
    PLACEHOLDER_EVENTS → PLACEHOLDER_EVENTS
    SIGNIFICANCE_THRESHOLD → SIGNIFICANCE_THRESHOLD
    PLACEHOLDER_MARKER → PLACEHOLDER_MARKER