Recent submissions

Comment · 2 years ago
You can actually get solid performance with pretrained chat models: https://raw.sh/posts/chess_puzzles

On lichess puzzles gpt4o with the compiled prompt is around 70%, I think the 270M transformer is around 95%

Comment · 2 years ago
Comment · 2 years ago
I built a web version with WASM at https://pdfgrep.com a few years ago in case it’s helpful to anyone
Comment · 2 years ago
https://github.com/VikParuchuri/marker is solid, but slow and needs gpu(s) to be practical
Comment · 3 years ago
Is it possible to use this for hybrid search in combination with pg_embedding? My understanding is that hybrid search currently requires syncing with Postgres
Comment · 3 years ago
Documents actually never get uploaded! PDF text extraction happens on the client using a web worker and MuPDF compiled to WASM.

1. PDF parsed and chunked on the client

2. Sparse vectors are regenerated for the entire document corpus and the existing vectors are updated

3. Dense vectors are generated for the new text and upserted along with the new sparse values

The original documents stay on your device.

Comment · 3 years ago
Nope, it’s a serious project; I mostly made it for personal use during my last semester of college. I rewrote it a few times and packaged it up because I think it’s genuinely useful. Langchain gets you 80% of the way there but you run into issues with it very quickly.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton