My Name is Linda Lawton I am a AI/ML GDE. I have been working with AI studio Gemini since 2023 when it was called bard or Palm api.
I am slowing adding all of my samples here.
This sample code uses the Python SDK to connect to AI studio gemini or gemini api.
These samples are not intended to work with Vertex AI version of gemini.
I am here to help with these samples but if you need general help with Gemini there are sevral places you can go.
- Build with Google AI forum
- Discord google-dev-community the Gemini-api channel.
- StackOverflow Google-Gemini Tag
This file needs to contain your settings
Your api key from AI studio
API_KEY=[Redacted]
Model List input must contain Audio, images, videos, and text.
MODEL_NAME=gemini-1.5-flash-latest
EMBEDDING_MODEL_NAME=models/embedding-001