← All projects
Project record1 mention
Originally shared on Hacker News

Big-gulp-read

A Pi extension that lets Pi read much larger chunks than its default: it quadruples the overly conservative 50.0kb default chunk limit, and on many modern models that support inputs up to 131k tokens it can be set up to 12x higher (600kb).

Last shared
01 / The problem

What it addresses

Pi's default chunk size is overly conservative, limiting how much text can be fed to modern models.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Big-gulp-read

    A Pi extension that lets Pi read much larger chunks than its default: it quadruples the overly conservative 50.0kb default chunk limit, and on many modern models that support inputs up to 131k tokens it can be set up to 12x higher (600kb).

    Problem: Pi's default chunk size is overly conservative, limiting how much text can be fed to modern models.

    Posted by @taylorsatula · Original source ↗

    Story title · @taylorsatula · · Source ↗

    Show HN: Big-gulp-read – Pi extension for reading much larger chunks

    Submitted URL · @taylorsatula · · Source ↗

    https://pi.dev/packages/big-gulp-reads

    Source text · @taylorsatula · · Source ↗

    Modern models support inputs up to 131k tokens in many cases. Pi default is overly conservative.

    Source text · @taylorsatula · · Source ↗

    This quadruples it but on many modern models you can set it up to 12x higher than the 50.0kb default (600kb).