TranscriptionLogObserver

class pipecat.observers.loggers.transcription_log_observer.TranscriptionLogObserver(*, name=None)[source]

Bases: BaseObserver

Observer to log transcription activity to the console.

Logs all frame instances (only from STT service) of:

  • TranscriptionFrame

  • InterimTranscriptionFrame

This allows you to track when the LLM starts responding, what it generates, and when it finishes.

Parameters:

name (str | None)

async on_push_frame(data)[source]

Handle the event when a frame is pushed from one processor to another.

This method should be implemented by subclasses to define specific behavior (e.g., logging, monitoring, debugging) when a frame is transferred through the pipeline.

Parameters:

data (FramePushed) – The event data containing details about the frame transfer.