How to Track Token Usage in Python Chatbot Applications
· Learning · 4 min read
A practical guide to monitoring prompt and response token counts in Python AI chatbots using Gemini API metadata.
What I'm learning, what I'm building, and the mistakes that taught me the most.
· Learning · 4 min read
A practical guide to monitoring prompt and response token counts in Python AI chatbots using Gemini API metadata.
· Projects · 5 min read
A step-by-step guide on how I built a simple Python script to export chatbot conversation logs from Supabase into formatted Markdown files.
· Learning · 5 min read
Learn how to handle HTTP 429 rate limit errors in your Python AI chatbot using simple exponential backoff retry logic and smart request management.
· Projects · 5 min read
A practical guide on how I store, fetch, and summarize chat history in Python using Gemini and Supabase without exceeding token limits.
· Projects · 6 min read
I walk through how I gave my Python chatbot a practical to‑do list feature using Gemini for natural‑language parsing and Supabase for storage – all on a free tier.
· AI · 5 min read
I share my simple, honest method for using Gemini to review Python code in VS Code, focusing on specific prompts and keeping the final decisions in my hands.
· Projects · 4 min read
I walk through how I added on‑the‑fly image generation to my Python chatbot using Gemini, Supabase storage, and a few simple libraries.
· Projects · 5 min read
A step‑by‑step look at how I gave my Python chatbot the ability to listen, using Whisper, Gemini and Supabase – all on a free tier.
· Learning · 5 min read
A step‑by‑step guide on how I taught my Python chatbot to read PDFs, turn the pages into embeddings with Gemini, and retrieve answers in real time.
· Learning · 5 min read
A quick guide to building a searchable personal knowledge base with Gemini embeddings, Supabase, and a simple Python CLI.
· Learning · 4 min read
I walk through how I added real‑time sentiment detection to my Python chatbot using Gemini, why it matters, and the simple code I use.
· Learning · 4 min read
I walk through how I gave my Python chatbot live‑typing responses using Supabase Realtime, what worked, what didn’t, and tips for beginners.
· Learning · 5 min read
I walk through what Supabase Edge Functions are, how to set them up for a Python project, and how I tied them into my chatbot – all with honest notes on what worked and what didn’t.
· Learning · 4 min read
I walk through how I set up a cheap, reproducible Python AI development environment using VS Code, Claude Code, Supabase, and Gemini. Perfect for beginners in Pundri or anywhere.
· Projects · 4 min read
I walk through how I added email notifications to a Python chatbot using Supabase Edge Functions, Gemini, and a few simple libraries.
· Projects · 4 min read
I walk through how I added vector search to my Python chatbot using Supabase, Gemini embeddings, and a few simple code tweaks.
· Projects · 5 min read
I added Supabase authentication to my Python chatbot and discovered a quick, secure way to let users sign up and keep their data private—all without writing security code from scratch.
· Projects · 4 min read
I share how I turned my Memory Match web game into a free Android app, deployed it on Vercel, wrapped it with Bubblewrap, and navigated the Play Console without spending a rupee.
· Journey · 5 min read
I share the honest reasons I swapped a traditional resume for a 3‑D animated portfolio site, how I built it with Claude Code and Supabase, and what I learned along the way.
· AI · 5 min read
I built a cheap pipeline that drafts three blog posts each week using GitHub Actions, Supabase, Gemini and Groq – all on free tiers.
· Projects · 4 min read
I share how I built Yojana Saathi, a free assistant that matches people with Indian government schemes, using VS Code, Claude Code and Supabase.
· Projects · 4 min read
I built JARVIS, a free‑tool Python voice assistant that can chat, listen, and search the web. Here’s how I did it step by step, using VS Code, Claude, Supabase and Gemini.
· Journey · 1 min read
No coding classes, no tech background in Pundri. Just curiosity, a laptop, and a lot of late nights.
· Learning · 1 min read
Three languages, three different ways of thinking. Here is what I took from each.
· Projects · 1 min read
A simple card game is a great way to learn how state changes and events work together.
· AI · 1 min read
AI can speed me up, but only if I stay the one who understands the code.
· Marketing · 1 min read
Finishing a Digital Marketing with AI certification changed how I think about the things I build.