Skip to content

Viewer

Transcript Viewer

Browse saved transcripts with an interactive web interface featuring rollbacks and multiple views.

Quick Start

petri view --dir ./outputs

This starts a local web server and opens the transcript viewer in your browser.

Options

petri view --help
Option Default Description
--dir ./outputs Directory containing transcript files
--host 127.0.0.1 Host to bind the server to
--port 5173 Port to run the server on
--rebuild false Force rebuild of the viewer app

Examples

View transcripts in the default outputs directory:

petri view

View transcripts from a specific directory:

petri view --dir /path/to/transcripts

Run on a different port:

petri view --port 8080

Make the server accessible on your network:

petri view --host 0.0.0.0 --port 8080

Requirements

The viewer requires Node.js to be installed on your system. On first run, it will automatically install dependencies and build the viewer application.

Features

  • Transcript browsing: Navigate through all saved transcripts
  • Branching visualization: View conversation branches and rollbacks
  • Score display: See evaluation scores and metadata
  • Search and filter: Find specific transcripts quickly
  • Multiple views: Switch between different visualization modes