Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# LocalContextRouter

![When your Mac can already read an image, why send it to an LLM?](docs/hero.png)

Decide locally how each page of a document should reach a multimodal model:
as extracted text, on-device OCR, or a rendered image. That keeps you from
paying for vision tokens on pages that are only text.
Expand Down Expand Up @@ -46,6 +48,8 @@ localctx invoice.pdf --json
localctx scan.png
```

![Terminal output of localctx report.pdf: page 1 text, page 2 vision, page 3 ocr, with tokens saved](docs/see-it-run.png)

`localctx invoice.pdf` prints each page, the source chosen for it, and the
tokens saved:

Expand Down
Binary file added docs/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/see-it-run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading