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
- Host: GitHub
- URL: https://github.com/morellexf13/pygemini
- Owner: morellexf13
- Created: 2024-02-03T13:16:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-21T16:33:00.000Z (almost 2 years ago)
- Last Synced: 2025-01-23T13:18:18.000Z (over 1 year ago)
- Topics: ai, gemini, google, in-portfolio
- Language: Python
- Homepage:
- Size: 48.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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