network admin. 11-years Googler, passionate about Reliability, SRE, DevOps, Maths, yellow, 🎹 piano, triathlons 🏃, caipirinhas and Amarone. As a Developer🥑Advocate for Google Cloud, I preach SRE, DevOps, the Google Way of doing things to various audiences. About me
export GOOGLE_API_KEY='your-api-key' Gemini Developer API on Vertex AI export GOOGLE_GENAI_USE_VERTEXAI=true export GOOGLE_CLOUD_PROJECT='your-project-id' export GOOGLE_CLOUD_LOCATION='us-central1' client = genai.Client() Common client initialization
Returns the current weather. Args: location: The city and state, e.g. San Francisco, CA """ weather_map: dict[str, str] = { "Barcelona": "sunny", "Paris": "foggy", "Milan": "raining", "Rome": "hot", "London, UK": "rainy and dark", } return weather_map.get(location, "unknown")
– for real-time interaction • Memory – model remembers the session • Tools – Function calling, code execution, and Google search Multimodal Live API–key capabilities
doing an Ironman in Japan: Shrek is cycling in a trisuite while Fiona is getting out of the water right now. The camera fades out, then the view goes to above. On a distance, donkey is taking pictures of the green couple, on top of his big red dragon.“
the screen. p5js scene, no HTML. I like pixelated red dragons and dungeon-like backgrounds. Oh wow this is amazing! Now please change the code in two ways: When you start you can choose among 4 named characters: a red dragon ("Ale"), a giraffe ("Seby"), a puffin ("Papino") or a waffle ("waffle"). Less pixelated than it is now please. with SPACE you have single/double jump - as it is with letter "f/F" you spit fire on obstacles and destroy them with a mini explosion effect. This gives you five points
this: Make me a captivating endless runner game. Key instructions on the screen. p5js scene, no HTML. I like pixelated red dragons , ogres, gelatinous cubes, goblins. zombies and dungeon-like backgrounds. Try on both 2.5flash and 2.5pro then https://editor.p5js.org/