snowby666 / poe-api-wrapper

👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀
https://pypi.org/project/poe-api-wrapper/
GNU General Public License v3.0
858 stars 99 forks source link

Add gemini pro in poe-api-wrapper #89

Closed hoangphu7122002 closed 9 months ago

hoangphu7122002 commented 9 months ago

Hi,

Can you please add Gemini Beta to the Available Default Bots list? It's already publicly available in the POE web interface.

Thank you, and I hope you can respond soon!

snowby666 commented 9 months ago

Hi, Its already there. You can pass its display name gemini-pro as the bot param.

client = PoeApi('Your_Token')
for chunk in client.send_message('gemini-pro', 'Nice to meet you.'):
          print(chunk['response'], end='', flush=True)

Since there're only some specific bots that require unique names when call them, so I listed them in the README.md Hope this helps