An open API service indexing awesome lists of open source software.

https://github.com/morellexf13/pygemini

✨ Python sample to use Google's Gemini AI models through Developer SDK
https://github.com/morellexf13/pygemini

ai gemini google in-portfolio

Last synced: over 1 year ago
JSON representation

✨ Python sample to use Google's Gemini AI models through Developer SDK

Awesome Lists containing this project

README

          







Gemini banner





Python sample to use Google's Gemini AI models through Developer SDK






# ✨ How to start?

### Local environment pre-requisites

1- Install Python 3.10

2- Execute the following command:
```
pip install -r requirements.txt
```

3- Create a .env file and add:
```
GOOGLE_API_KEY=****
GOOGLE_APPLICATION_CREDENTIALS==path_to_google_credentials.json
```
[How to obtain Google API Key?](https://makersuite.google.com/app/apikey)

4- Write your prompt and execute the code