google-gemini / cookbook

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

Add an async quickstart #310

Closed markmcd closed 3 weeks ago

markmcd commented 1 month ago

This is a Python-only quickstart that shows how to use the SDK's async API.

I've included two examples, one as the "simplest possible" case that assumes the files are available locally and a more complex example that schedules in parallel and includes a download step using a shared HTTP session.

review-notebook-app[bot] commented 1 month ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB