Skip to content

Rewrite the README around runnable examples - #18

Merged
VianneyMI merged 1 commit into
mainfrom
update-docs
Nov 11, 2026
Merged

VianneyMI merged 1 commit into
mainfrom
update-docs

Conversation

@VianneyMI

Copy link
Copy Markdown
Owner

Summary

The README now follows an overview → features → installation → usage → reference layout. It opens with three examples on the same invoice:

  1. Basic usage: text, date, number and list fields. The output includes a missing PO number with its p_null and guess.
  2. Estimates: a subclass adds days_to_pay (value 31, p10 24, p90 37).
  3. Plain values: values_as(Invoice) with the full output.

Every output shown replays the recorded invoice fixture, with an exact request match for each field.

Other changes

  • A "Reading answers" table replaces the bold-led bullets, plus a short p_null / guess example from a contact-details extraction.
  • The cost section gives real usage: 655 input tokens over 3 passes for the full invoice.
  • New "Preview status" section (preview model, weekly schema drift check, Find what triggers truncated: true #15) and a "Going further" list.
  • The CC BY 4.0 attribution is kept.

Checks

  • The usage examples pass pyright with 0 errors.
  • Documentation only: no code changes.

🤖 Generated with Claude Code

Overview, features, installation, then three usage examples built on
the recorded invoice call: basic extraction, an estimate field, and
values_as into a plain model. Reference sections are tightened, with a
reading-answers table, real token usage and a preview-status section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@VianneyMI
VianneyMI changed the base branch from v0.1 to main November 11, 2026 22:09
@VianneyMI VianneyMI self-assigned this Nov 11, 2026
@VianneyMI
VianneyMI merged commit 4e84f29 into main Nov 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant