Merry Christmas!

I took a day off on this Christmas day, and I got inspired to revive this blog by reading Simon Willison’s “approach to running a link blog”. I like his blog to keep updated about the new models’ capabilities and developments in the AI world in general. He makes small experiments to put the models into practice, with a good dose of enthusiasm, and I want to follow a similar approach for this blog: sharing interesting articles I read, and some of my daily programming experiments, while “trying to add something extra”. ...

December 25, 2024 · 2 min · 295 words · Jerome Marhic

Rate Limit

In this post, we’ll discuss various common ways of handling API rate limits, and I’ll introduce a new tool I’ve been working on called MeterFlow. Most APIs have rate limits, usually counted in requests per minute, but other resources can be limited as well (for instance, the number of characters you can translate with the Google Translate API, or the number of tokens you can generate with some LLM API). When you exceed the rate limit, the API will return a 429 status code, telling you to slow down. There are various ways of dealing with API rate limits in your code. ...

October 26, 2024 · 4 min · 662 words · Jerome Marhic