Skip to main content
Treat pipeline events as the canonical progress interface for dashboard and custom UI integrations. Do not derive progress from log text.
notewise emits typed events from the processing pipeline. The Rich dashboard and plain --no-ui output modes both subscribe to this stream.

Event object

PipelineEvent fields:

Identity

event_type, video_id, title

Progress

chapter_number, total_chapters, chunk_number, total_chunks

Outcome

error, output_path

All event types

Event typeMeaning
PIPELINE_STARTPipeline run started
PIPELINE_COMPLETEPipeline run finished
METADATA_STARTMetadata fetch started
METADATA_FETCHEDMetadata fetched successfully
TRANSCRIPT_FETCHINGTranscript retrieval started
TRANSCRIPT_FETCHEDTranscript retrieval complete
GENERATION_STARTFlat generation started
CHUNK_GENERATINGTranscript chunk generation in progress
GENERATION_COMBININGMulti-chunk combine stage
GENERATION_COMPLETEMain notes generation complete
CHAPTER_GENERATINGChapter generation started
CHAPTER_CHUNK_GENERATINGChapter chunk generation progress
CHAPTER_COMBININGChapter combine stage
CHAPTER_COMPLETEChapter generation complete
QUIZ_GENERATINGQuiz generation started
QUIZ_CHUNK_GENERATINGQuiz chunk generation progress
QUIZ_COMBININGQuiz combine stage
QUIZ_COMPLETEQuiz generation complete
VIDEO_SUCCESSVideo completed successfully
VIDEO_SKIPPEDVideo skipped due to cache/output checks
VIDEO_FAILEDVideo failed with error context

Typical event sequences

PIPELINE_START
METADATA_START → METADATA_FETCHED
TRANSCRIPT_FETCHING → TRANSCRIPT_FETCHED
GENERATION_START
CHUNK_GENERATING × n
GENERATION_COMBINING  (only if multi-chunk)
GENERATION_COMPLETE
VIDEO_SUCCESS
PIPELINE_COMPLETE

Integration guidance

  • Use events as the source of truth for progress UI.
  • For custom frontends, subscribe through the pipeline on_event callback and render by event_type.
  • Avoid deriving progress solely from log text — the event stream is the stable API.