Pikaluku integrates the Google Gemini API to transform passive speed reading into an active cognitive game. While our RSVP engine drives the high-velocity visual input, Gemini serves as the "Game Master" that verifies actual comprehension. We utilize Gemini 3 Flash for its low latency and high throughput, which is critical for maintaining the game's fast-paced flow without interrupting the user's rhythm.

Gemini's primary role is semantic validation. After a player reads a Reddit post at speeds up to 1200 WPM, we send the post text to Gemini to generate a context-aware, open-ended comprehension question. Unlike rigid multiple-choice systems, our integration uses Gemini to grade the user's free-text response. This allows for nuanced, "fuzzy" matching—recognizing that "Bonaparte wasn't short" is semantically equivalent to "Napoleon was average height."

To handle API constraints robustly within the Devvit environment, we engineered a custom rate-limiting middleware backed by Redis, ensuring the AI features scale smoothly during high traffic. This integration effectively bridges the gap between raw processing speed and genuine cognitive retention.

Built With

Share this project:

Updates