gemini-api-quickstart icon indicating copy to clipboard operation
gemini-api-quickstart copied to clipboard

Get up and running in under 5 minutes with the Google AI Gemini API (in Python)

Results 5 gemini-api-quickstart issues
Sort by recently updated
recently updated
newest added

## Fix: - Add usage of GOOGLE_API_KEY environment variable during genai client configuration step. Fixes #2 ## Improvements - Refactor for better readability by [flake8](https://flake8.pycqa.org) linting standards - Refactor allowed_file...

Just a suggestion PR with the changes I made to pull the API key from the .env file! May make it a simpler for folks to run out-of-the-box once they...

In Line 17 of the `app.py` file, the `GOOGLE_API_KEY=""` has been hard coded with an empty string. https://github.com/logankilpatrick/gemini-api-quickstart/blob/2267a76121c691a1875a730764f8e1ff8b1e5000/app.py#L15-L17 In your `README.md`, you said `cp .env.example .env` to have a `.env`...

Hey hey! I am learning how to get more comfortable with github so I can actually do more stuff and be more useful. This was the perfect repo to try...

This commit attempts to update your application to use the new Google Gen AI SDK (`google-genai`) and the `gemini-2.0-flash` model. Here's what I've done so far: 1. **Initial Exploration:** I...