Skip to Content
WidgetsTranscriptView

TranscriptView

TranscriptView is the lower-level transcript renderer.

TranscriptView
TranscriptView terminal preview
Terminal preview of TranscriptView

Smallest example

let entries = vec![ TranscriptEntry::new(TranscriptRole::User, "hello"), TranscriptEntry::new(TranscriptRole::Assistant, "hi"), ]; let view = TranscriptView::new(entries).build();

Use TranscriptView when

  • you already have structured entries
  • you do not need intro or empty-state orchestration
Last updated on