google-gemini / cookbook

Examples and guides for using the Gemini API
https://ai.google.dev/gemini-api/docs
Apache License 2.0
4.88k stars 694 forks source link

Example on handling concurrency and ratelimiting #18

Closed sayakpaul closed 3 weeks ago

sayakpaul commented 5 months ago

There should be an example that shows how to best handle concurrency and rate-limiting problems when using the Gemini API.

seidtgeist commented 3 months ago

A cookbook for this exists now: https://github.com/google-gemini/cookbook/blob/dc168d968b61b0f1603b743bc2deb73723a159f7/quickstarts/Error_handling.ipynb