Share
Embed
Transcript
16 slides
-
From Idea to MVP How I Built My First AI
Powered Cloud App Over A Weekend Cloud•New Delhi -
Meet your Speaker Hitesh Das (HD) Associate Director of Engineering,
OLX India Cloud•New Delhi “ With over 15 years of work experience, I lead a cross-functional tech team at OLX India, driving impact across SEO, Ad Sales, Platform excellence and new initiatives. In this talk, I’ll walk you through My First hands-on AI GCP project and how you can build and deploy your AI-powered application using Google Cloud — without Breaking the Bank ” -
Meet “Baburao” Cloud•New Delhi Known for • Being hilariously cheap
(“25 din mein paisa double”) • Running his business without actually spending money • He’s frugal. And despite the madness — he gets things done. -
Baburao’s Vision So he started with: • Firebase for backend
• Gemini for brains • Free-tier for budget “What if I could build a GenAI app… without paying a rupee?” Just like: "What if I could eat at a 5-star buffet, using only free samples?" -
The Team Tool Role Real Life Vive Firebase Functions Reliable
Sidekick Like your younger sibling who’s always around Gemini Flash Brainiac Prodigy Smartest kid in school — when they reply VertexAI SDK Translator Like your techy cousin who speaks both Python and Grandma Cloud IAM Bouncer That strict guard outside VIP entry curl & Postman Gossipers “So, what did the server say this time?” Free Tier Sponsor The friend who says “Don’t worry, I got this” (but only once) -
What is Vertex AI (Really) Think of it as: “AI
School + AI Hosting + AI Butler” — all in one. • Lets you call powerful models like Gemini and other 3rd party models • No model training required • Handles infra, auth, access Just like: Image by Mohamed Hassan from Pixabay “You want a pizza. Vertex is Like the Restaurant. Gemini is the chef.” -
Meet flash Gemini Flash is like the smart, fast friend
who gets things done: • Summarizes text, analyzes input • Fast response time • No attitude, unlike its bigger Pro cousin Data Src -
Setting Up the Environment (CLI All the Way) > mkdir
gccd-demo && cd gccd-demo > npm init -y > npm install firebase-functions firebase-admin @google-cloud/aiplatform > firebase login > firebase init functions Select JavaScript Enable ESLint Choose existing Firebase project Init the Project Locally Firebase project setup -
Setting Up the Environment (CLI All the Way) > export
GOOGLE_CLOUD_PROJECT=<your-project-id> > gcloud auth application-default login > gcloud services enable aiplatform.googleapis.com > gcloud services enable cloudfunctions.googleapis.com Set Environment & Auth Enable Required APIs -
The Cloud Function Essentials const vertexAI = new VertexAI({ project,
location }); const model = vertexAI.getGenerativeModel({ model: 'gemini-2.5-flash' }); Setup Vertex AI SDK Select the Gemini Model -
parts: [{ text: `Summarize this in 2-3 lines in hindi:\n\n${text}`
}] const summary = result?.response?.candidates?.[0]?.content?.parts?.[0]?.text; Send a Structured Prompt Extract and Return Summary > firebase deploy --only functions Deploy The Cloud Function Essentials -
Finally, Curl me if you can curl -X POST https://<your-cloud-function-url>
\ -H "Content-Type: application/json" \ -d '{"text": "Google Cloud Platform is a suite of cloud services..."}' Fetch Call to Cloud Function -
Free Tier - Baburao’s Unsung Hero • Firebase: free function
invocations • Vertex AI: free LLM tokens • Hosting: also free But like: “Free gym trial: great till you forget to cancel.” Stay within limits… or get surprise billing email.