HanaokaYuzu / Gemini-API

✨ Elegant async Python API for Google Gemini web app
https://pypi.org/project/gemini-webapi/
GNU Affero General Public License v3.0
160 stars 20 forks source link

[feature request] webapi change :D #19

Closed 0wwafa closed 4 months ago

0wwafa commented 4 months ago

I think that the webapi at https://aistudio.google.com/app/prompts/new_chat is way better. for text generation it's the best, expecially if you use the flash model and not the "pro".

Or perhaps I have not understood the purpose of this repository.. in that case I apologize.

HanaokaYuzu commented 4 months ago

As you may realized, Gemini web app and Gemini in Google AI studio are two independent projects, and this repository is built on the former one.

For the one you used in AI studio, Google has an official api and python SDK which you can found here.

0wwafa commented 3 months ago

As you may realized, Gemini web app and Gemini in Google AI studio are two independent projects, and this repository is built on the former one.

For the one you used in AI studio, Google has an official api and python SDK which you can found here.

I know that. So what is exactly the purpose of this project?

HanaokaYuzu commented 3 months ago

This is just a python wrapper. It allows you to interact with the web app in any python environment instead of in browser only.

0wwafa commented 3 months ago

This is just a python wrapper. It allows you to interact with the web app in any python environment instead of in browser only.

This is just a python wrapper. It allows you to interact with the web app in any python environment instead of in browser only.

This is just a python wrapper. It allows you to interact with the web app in any python environment instead of in browser only.

I understand.. and what the advantage compared of using the official api and python SDK?

HanaokaYuzu commented 3 months ago

No you don't. The official SDK is for the model in AI studio, while this repo is for the web app. They are for different purposes.

0wwafa commented 3 months ago

No you don't. The official SDK is for the model in AI studio, while this repo is for the web app. They are for different purposes.

can you explain me the "different purposes" ? I still don't get it.