Member-only story

Build an AI App with Python, Gemini and Vertex AI

Daniel Llewellyn
6 min readOct 4, 2024

--

This is part 1 in a series!

Show me the code:

https://github.com/dllewellyn/hello-gemini

Introduction

In this series of tutorials, we’re going to use a suite of google tools — AI, cloud and dev — in order to create and deploy an AI powered application. We’ll steer clear on chatbots, because they are a tedious in the extreme and focus on building something more interesting.

Creating a “Hello World” Flask Application with Google IDX and the Gemini API

To get started, we’re going to use the ‘hello world’ IDX — Gemini and flask application. This gives us a really quick way to get setup with some AI tooling.

Project Setup

  1. Navigate to Google IDX: Begin by accessing the Google IDX platform in your web browser.
  2. Select the Gemini API Template: From the IDX welcome screen, locate and click on the “Gemini API” template under the “Start something new with a template” section.
https://cdn-images-1.medium.com/max/800/1*3UbWMkF7ijeiRDG11z7KDw.png
  1. Configure New Workspace: A “New Workspace” window will appear.
  • Name your workspace: I’ve just called it “hello-gemini.”
  • Environment: Choose the “Python…

--

--

No responses yet