Skip to content

Dashboard: detailed extraction view with per-record reasoning chain #5

Description

@TKasperczyk

Problem

The extraction detail view shows a summary of extracted records (type, snippet, ID) but provides no insight into WHY the LLM extracted each record. When reviewing extraction quality, you need to understand the reasoning: what transcript evidence prompted each record, why certain fields were chosen, whether the LLM correctly identified the final state vs intermediate attempts.

Proposal

Enhance the extraction detail view with richer information:

  • Per-record reasoning: Store and display the LLM's reasoning for each extracted record. This could be done by adding a chain-of-thought step before the tool call, or by requesting a reasoning field per record in the extraction schema.
  • Source excerpt highlighting: Show the sourceExcerpt for each record with a link/expand to view it in context of the surrounding transcript.
  • Transcript viewer: Embed a scrollable transcript view in the extraction detail page, with extracted records annotated inline (highlighted regions showing where each record came from).
  • Dedup decisions: Show which records were deduped (matched existing), which were inserted fresh, and what the similarity score was for dedup matches.
  • Token breakdown: Per-extraction-call token usage (not just aggregate), including cache hit rates.

The goal is to make extraction review a first-class workflow where you can quickly assess quality and spot issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions