google-gemini / cookbook

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

Simplify AIS template #303

Closed MarkDaoust closed 2 weeks ago

MarkDaoust commented 1 month ago

This is about the simplest I can make it. The many ways that AIS may send a file are the source of some of the complexity. A "no-files" version could simplify things a lot.

We loose three things if we do that:

  1. There's no "chat" (but we could split chat to it's own template).
  2. It's harder for users to tell what went wrong if something breaks.
  3. I removed the "show the conversation" code.
    • It's nice that it lets the user see what they're sending.
    • But it is long/complex.

WDYT?

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

MarkDaoust commented 1 month ago

I think this is ready to submit.