SlideShare a Scribd company logo
Build with
AI during
#BuildwithAI
Vibe coding with Firebase Studio
What is the vibes???
Editable Location
Editable University Name
Prepare and understand
Get on to Firebase Studio
Prompt our first app & enter API key
Get wowed , disappointed and remember that AI is a tool
Redo until it works (might be forever though)
Our todo list
Chapter One
Getting everything ready and set
Setting the vibes
right.
The general who wins the battle
makes many calculations in his
temple before the battle is fought.
The general who loses makes but few
calculations beforehand..
- Sun Tzu
Our Step 1
Understand
your
requirements
A very good
prompt
A fire playlist
Internet of
course
Patience
Step 1
Basic functionality Basic UI Some errors
Chapter Two
Let AI generate the vibes
Generating our
first web app
Every first draft is
perfect, because all a
first draft has to do is
exist.
- Jane Smiley
Chapter Three
Let us control the vibes
Making edits to
our web app
Some people call this artificial
intelligence, but the reality is this
technology will enhance us. So
instead of artificial intelligence, I think
we'll augment our intelligence
Ginni Rometty, Former
CEO of IBM
Inside the AI Lens:
How AI Sees, Understands,
and Edits the World
Harare
Michael Nyamande
Cameras can see, but they can’t understand.
AI changes that. It’s like giving a camera a brain
— one that doesn’t just look at the world, but
interprets it, reshapes it, and even imagines new
versions of it.
● Software Developer
About Me
● Community Builder
● Technical Writer
● Author
● AI Enthusiast
● Software Developer
About Me
● Community Builder
● Technical Writer
● Author
● AI Enthusiast
Zim Tech Community
● Software Developer
About Me
● Community Builder
● Technical Writer
● Author
● AI Enthusiast
● Software Developer
About Me
● Community Builder
● Technical Writer
● Author
● AI Enthusiast
In this session, we’ll
walk through how AI
models like Imagen 3
and Gemini 2.5 enable
us to perform Virtual
Try-On
What we’ll build
Key concepts
Think of it as teaching AI to spot things in an image —
“this is a person”, “that’s a chair”, “this is a shoe”. It's
like giving eyes to a computer.
🔍 Object Detection
While object detection finds where an object is,
segmentation goes deeper — it outlines the exact shape of
that object, pixel by pixel. It's like cutting out the object with
precision scissors.
🧩 Image Segmentation
Once we know where the object is, we create a mask —
like a stencil — so the model knows which parts of the
image to protect, edit, or replace.
🎭 Masking
Ever used the healing brush in Photoshop? Inpainting is
the AI version — it fills in or redraws parts of an image,
using surrounding context. Want to remove a shirt and
replace it with a hoodie? That’s inpainting.
🎨 Inpainting
💡 Beyond Try-On: Real-World Use Cases
The same building blocks behind this — segmentation, object
detection, masking, and inpainting — power a wide range of
image editing applications across industries.
What use cases can you think of ?
Source: xxxxx
Visualizing furniture
placement, room layout
changes.
Segmenting organs in
medical scans for diagnosis
and surgery planning.
🎨 Design & Architecture 🏥 Healthcare
Real-time segmentation to
detect pedestrians, roads,
and obstacles.
🚗 Self-driving Cars
Background editing, scene
enhancement, and CGI
support.
Restoring old, damaged
photos using AI inpainting.
🎬 Film & Gaming 📰 Journalism & History
Segmenting crops vs weeds,
land mapping via drones
🌱 Agriculture
DEMO TIME 🔥
Embedding & LLM
Inference in Enterprise
Systems
Build With AI Workshop - 10/05/2025
Harare
Your Big
Idea Needs
A Business
Use Case.
Hi, I am Ruvimbo Delia Hakata
an AI Engineer.
Which languages power
business core systems?
Harare
9.31%
Java maintains strong
global presence over C#
which is at 4.22%.
Based on the TIOBE Index May, 2025
Learnings - Languages
used Enterprise core
Systems
Java's strong presence in Africa reflects
the continent's mobile-first approach to
technology adoption, where Android
dominates the smartphone market. Java's
role in developing mobile applications
makes it particularly valuable in the
African context.
What is LLM
Inference ?
Chapter One
How is it used in enterprise.
At its core, LLM Inference is the process where a trained Large
Language Model (LLM) actually uses its knowledge to generate a
response or make a prediction based on new input it receives .Think
of an LLM as a very advanced AI system that has been "trained" on a
massive amount of text and code. This training allows it to understand
patterns, grammar, context, facts, and even some reasoning abilities
related to human language.
Inference is what happens after the model is trained. It's the "live"
phase where the model applies its learned knowledge. It's like the
trained student now taking an exam or answering questions in the real
world.
LLM Inference Is
● When you give an LLM a prompt (like asking a question, giving it
an instruction, or starting a sentence), the inference process
begins.
● The LLM takes your input. {Say Gemini 2.0}
● It processes this input through its complex network of "neurons"
and "parameters"
● It then generates an output, typically word by word or "token by
token" . It predicts the most probable next token, then the next,
and so on, to form a coherent and contextually relevant
response.
● The goal is to produce text that is helpful, informative, creative,
or whatever the specific task requires, based on the input
prompt.
The Inference Process
Chapter Two
What are
Embeddings ?
Embeddings are
the LLM's way of translating words and
phrases into a numerical language it
understands – a language where
distance means similarity in meaning. The magic of closeness
allows them to perform all sorts of
intelligent tasks by navigating this rich
'meaning map'.
LLM Embedding
Let’s Get Into The
Demo !
Harare
An Attendee Asked
As a programmer what is the system
that i can generate for supermarket like
Food lovers to help it using AI?
I asked them
Which part of their business are we
helping them with?
They said to create promotions
Back Story - From The Crowd
The Problem
Making fresh promo stuff for
supermarkets like Food Lovers can be a
real headache and super
time-consuming. As a programmer, I'm
thinking there has to be a smarter,
quicker way to get those deals
advertised. It's just tough to keep up
and make ads that really grab attention
with the usual grind.
Solution
Imagine an AI sidekick that helps Food
Lovers (and us programmers!) whip up
cool promotional material easily. AI could
dream up catchy ad text, suggest
designs, or even pick out hot products to
feature. This means awesome, targeted
promos without all the usual fuss, making
marketing way smoother.
code_slides.txt
// A couple more notes on what we are doing:
// We simulate the data in the database with the hard coded Json
// We call LLM API
// We are using Ollama for offline access {because businesses like
to keep their data private}
// We demo with Ollama on my localhost and the cloud
Code can be
found on GDG
Harare Repo
code_slides.txt
String promptText = basePrompt + dataArray.toString(2);
// Connect to local LLM inference endpoint
URL url = new URL("http://localhost:11434/api/generate");
HttpURLConnection conn = (HttpURLConnection)
url.openConnection();
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type", "application/json;
utf-8");
conn.setDoOutput(true);
Use this
template for
code snippets
longer than
6 lines
Build prompt by
combining your
base template with
the JSON-encoded
sales data
code_slides.txt
String promptText = basePrompt + dataArray.toString(2);
// Connect to local LLM inference endpoint
URL url = new URL("http://localhost:11434/api/generate");
HttpURLConnection conn = (HttpURLConnection)
url.openConnection();
conn.setRequestMethod("POST");
conn.setRequestProperty("Content-Type", "application/json;
utf-8");
conn.setDoOutput(true);
POST your prompt
to the local LLM
endpoint
code_slides.txt
Read the JSON
response,
extract and
display the
response field
Key Observations:
1. Item Pricing and Currency:
○ Sadza+Chicken: $2 USD (highest price).
○ Sadza+Beef Bones: $1 USD (lowest price
in USD).
○ Coleslaw: 1 ZWG (Zimbabwean Dollar, but
no exchange rate provided).
2. Potential Gaps:
○ Crucially, there's no data on sales volume
(e.g., units sold, frequency), which is
essential to understand item popularity
and demand.
○ The Coleslaw is priced in ZWG, potentially
indicating a different regional market or a
data entry issue (e.g., "ZWG" might be a
typo for "ZAR" or "USD").
Recommendation:
Promote "Sadza+Chicken" (priced at $2 USD).
Code_slides.txt
// The Input Data and the output

More Related Content

PPTX
Cloud AI GenAI Overview.pptx
PDF
Adapt or Die: Keynote with Anant Jhingran
PDF
MongoDB World 2018: Building Intelligent Apps with MongoDB & Google Cloud
PPTX
unleshing the the Power Azure Open AI - MCT Summit middle east 2024 Riyhad.pptx
DOCX
Top 5 recent research courses on machine learning- simpliv
PDF
Demystifying Machine Learning - How to give your business superpowers.
PDF
Generative AI & Large Language Models Agents
PDF
Developer's Introduction to Machine Learning
Cloud AI GenAI Overview.pptx
Adapt or Die: Keynote with Anant Jhingran
MongoDB World 2018: Building Intelligent Apps with MongoDB & Google Cloud
unleshing the the Power Azure Open AI - MCT Summit middle east 2024 Riyhad.pptx
Top 5 recent research courses on machine learning- simpliv
Demystifying Machine Learning - How to give your business superpowers.
Generative AI & Large Language Models Agents
Developer's Introduction to Machine Learning

Similar to Build With AI - In Person Session Slides.pdf (20)

PDF
Advanced Virtual Assistant Based on Speech Processing Oriented Technology on ...
PDF
AC Atlassian Coimbatore Session Slides( 22/06/2024)
PDF
Machine Learning vs. Deep Learning in Mobile App Development: Understanding t...
PDF
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
PDF
Google Analytics Konferenz 2018_Machine Learning / AI mit Google_Lukman Ramse...
PDF
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf
PDF
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
PPTX
Panacea - Augmented Reality
PDF
Cognitive Automation - Your AI Coworker
PDF
Understanding Artificial Intelligence - Major concepts for enterprise applica...
PDF
Unlocking Generative AI in your Web Apps
PDF
Artificial intelligence in practice- part-1
PPTX
The implementation of Big Data and AI on Digital Marketing
PPTX
The Project Compass - GDG on Campus MSIT
PPTX
Practical uses of AI in retail
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
PPTX
Deep Learning is a type of Artificial Intelligence (AI) where computers learn...
PDF
Building intelligent applications with Large Language Models
DOC
Final Report_213110090
PPT
Why You Shouldn't Worry About Artificial Intelligence...Until You Have To
 
Advanced Virtual Assistant Based on Speech Processing Oriented Technology on ...
AC Atlassian Coimbatore Session Slides( 22/06/2024)
Machine Learning vs. Deep Learning in Mobile App Development: Understanding t...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
Google Analytics Konferenz 2018_Machine Learning / AI mit Google_Lukman Ramse...
Realizing_the_real_business_impact_of_gen_AI_white_paper.pdf
Generative AI for Trailblazers_ Unlock the Future of AI.pdf
Panacea - Augmented Reality
Cognitive Automation - Your AI Coworker
Understanding Artificial Intelligence - Major concepts for enterprise applica...
Unlocking Generative AI in your Web Apps
Artificial intelligence in practice- part-1
The implementation of Big Data and AI on Digital Marketing
The Project Compass - GDG on Campus MSIT
Practical uses of AI in retail
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
Deep Learning is a type of Artificial Intelligence (AI) where computers learn...
Building intelligent applications with Large Language Models
Final Report_213110090
Why You Shouldn't Worry About Artificial Intelligence...Until You Have To
 
Ad

Recently uploaded (20)

PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Big Data Technologies - Introduction.pptx
PDF
Approach and Philosophy of On baking technology
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Assigned Numbers - 2025 - Bluetooth® Document
Programs and apps: productivity, graphics, security and other tools
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Big Data Technologies - Introduction.pptx
Approach and Philosophy of On baking technology
A comparative analysis of optical character recognition models for extracting...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
cuic standard and advanced reporting.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
MIND Revenue Release Quarter 2 2025 Press Release
Ad

Build With AI - In Person Session Slides.pdf

  • 1. Build with AI during #BuildwithAI Vibe coding with Firebase Studio
  • 2. What is the vibes??? Editable Location
  • 3. Editable University Name Prepare and understand Get on to Firebase Studio Prompt our first app & enter API key Get wowed , disappointed and remember that AI is a tool Redo until it works (might be forever though) Our todo list
  • 4. Chapter One Getting everything ready and set Setting the vibes right.
  • 5. The general who wins the battle makes many calculations in his temple before the battle is fought. The general who loses makes but few calculations beforehand.. - Sun Tzu
  • 6. Our Step 1 Understand your requirements A very good prompt A fire playlist Internet of course Patience Step 1 Basic functionality Basic UI Some errors
  • 7. Chapter Two Let AI generate the vibes Generating our first web app
  • 8. Every first draft is perfect, because all a first draft has to do is exist. - Jane Smiley
  • 9. Chapter Three Let us control the vibes Making edits to our web app
  • 10. Some people call this artificial intelligence, but the reality is this technology will enhance us. So instead of artificial intelligence, I think we'll augment our intelligence Ginni Rometty, Former CEO of IBM
  • 11. Inside the AI Lens: How AI Sees, Understands, and Edits the World Harare Michael Nyamande
  • 12. Cameras can see, but they can’t understand. AI changes that. It’s like giving a camera a brain — one that doesn’t just look at the world, but interprets it, reshapes it, and even imagines new versions of it.
  • 13. ● Software Developer About Me ● Community Builder ● Technical Writer ● Author ● AI Enthusiast
  • 14. ● Software Developer About Me ● Community Builder ● Technical Writer ● Author ● AI Enthusiast Zim Tech Community
  • 15. ● Software Developer About Me ● Community Builder ● Technical Writer ● Author ● AI Enthusiast
  • 16. ● Software Developer About Me ● Community Builder ● Technical Writer ● Author ● AI Enthusiast
  • 17. In this session, we’ll walk through how AI models like Imagen 3 and Gemini 2.5 enable us to perform Virtual Try-On What we’ll build
  • 19. Think of it as teaching AI to spot things in an image — “this is a person”, “that’s a chair”, “this is a shoe”. It's like giving eyes to a computer. 🔍 Object Detection
  • 20. While object detection finds where an object is, segmentation goes deeper — it outlines the exact shape of that object, pixel by pixel. It's like cutting out the object with precision scissors. 🧩 Image Segmentation
  • 21. Once we know where the object is, we create a mask — like a stencil — so the model knows which parts of the image to protect, edit, or replace. 🎭 Masking
  • 22. Ever used the healing brush in Photoshop? Inpainting is the AI version — it fills in or redraws parts of an image, using surrounding context. Want to remove a shirt and replace it with a hoodie? That’s inpainting. 🎨 Inpainting
  • 23. 💡 Beyond Try-On: Real-World Use Cases The same building blocks behind this — segmentation, object detection, masking, and inpainting — power a wide range of image editing applications across industries. What use cases can you think of ?
  • 24. Source: xxxxx Visualizing furniture placement, room layout changes. Segmenting organs in medical scans for diagnosis and surgery planning. 🎨 Design & Architecture 🏥 Healthcare Real-time segmentation to detect pedestrians, roads, and obstacles. 🚗 Self-driving Cars Background editing, scene enhancement, and CGI support. Restoring old, damaged photos using AI inpainting. 🎬 Film & Gaming 📰 Journalism & History Segmenting crops vs weeds, land mapping via drones 🌱 Agriculture
  • 26. Embedding & LLM Inference in Enterprise Systems Build With AI Workshop - 10/05/2025 Harare
  • 27. Your Big Idea Needs A Business Use Case. Hi, I am Ruvimbo Delia Hakata an AI Engineer.
  • 28. Which languages power business core systems? Harare
  • 29. 9.31% Java maintains strong global presence over C# which is at 4.22%. Based on the TIOBE Index May, 2025 Learnings - Languages used Enterprise core Systems Java's strong presence in Africa reflects the continent's mobile-first approach to technology adoption, where Android dominates the smartphone market. Java's role in developing mobile applications makes it particularly valuable in the African context.
  • 30. What is LLM Inference ? Chapter One How is it used in enterprise.
  • 31. At its core, LLM Inference is the process where a trained Large Language Model (LLM) actually uses its knowledge to generate a response or make a prediction based on new input it receives .Think of an LLM as a very advanced AI system that has been "trained" on a massive amount of text and code. This training allows it to understand patterns, grammar, context, facts, and even some reasoning abilities related to human language. Inference is what happens after the model is trained. It's the "live" phase where the model applies its learned knowledge. It's like the trained student now taking an exam or answering questions in the real world. LLM Inference Is
  • 32. ● When you give an LLM a prompt (like asking a question, giving it an instruction, or starting a sentence), the inference process begins. ● The LLM takes your input. {Say Gemini 2.0} ● It processes this input through its complex network of "neurons" and "parameters" ● It then generates an output, typically word by word or "token by token" . It predicts the most probable next token, then the next, and so on, to form a coherent and contextually relevant response. ● The goal is to produce text that is helpful, informative, creative, or whatever the specific task requires, based on the input prompt. The Inference Process
  • 34. Embeddings are the LLM's way of translating words and phrases into a numerical language it understands – a language where distance means similarity in meaning. The magic of closeness allows them to perform all sorts of intelligent tasks by navigating this rich 'meaning map'. LLM Embedding
  • 35. Let’s Get Into The Demo ! Harare
  • 36. An Attendee Asked As a programmer what is the system that i can generate for supermarket like Food lovers to help it using AI? I asked them Which part of their business are we helping them with? They said to create promotions Back Story - From The Crowd
  • 37. The Problem Making fresh promo stuff for supermarkets like Food Lovers can be a real headache and super time-consuming. As a programmer, I'm thinking there has to be a smarter, quicker way to get those deals advertised. It's just tough to keep up and make ads that really grab attention with the usual grind. Solution Imagine an AI sidekick that helps Food Lovers (and us programmers!) whip up cool promotional material easily. AI could dream up catchy ad text, suggest designs, or even pick out hot products to feature. This means awesome, targeted promos without all the usual fuss, making marketing way smoother.
  • 38. code_slides.txt // A couple more notes on what we are doing: // We simulate the data in the database with the hard coded Json // We call LLM API // We are using Ollama for offline access {because businesses like to keep their data private} // We demo with Ollama on my localhost and the cloud Code can be found on GDG Harare Repo
  • 39. code_slides.txt String promptText = basePrompt + dataArray.toString(2); // Connect to local LLM inference endpoint URL url = new URL("http://localhost:11434/api/generate"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("POST"); conn.setRequestProperty("Content-Type", "application/json; utf-8"); conn.setDoOutput(true); Use this template for code snippets longer than 6 lines Build prompt by combining your base template with the JSON-encoded sales data
  • 40. code_slides.txt String promptText = basePrompt + dataArray.toString(2); // Connect to local LLM inference endpoint URL url = new URL("http://localhost:11434/api/generate"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestMethod("POST"); conn.setRequestProperty("Content-Type", "application/json; utf-8"); conn.setDoOutput(true); POST your prompt to the local LLM endpoint
  • 41. code_slides.txt Read the JSON response, extract and display the response field
  • 42. Key Observations: 1. Item Pricing and Currency: ○ Sadza+Chicken: $2 USD (highest price). ○ Sadza+Beef Bones: $1 USD (lowest price in USD). ○ Coleslaw: 1 ZWG (Zimbabwean Dollar, but no exchange rate provided). 2. Potential Gaps: ○ Crucially, there's no data on sales volume (e.g., units sold, frequency), which is essential to understand item popularity and demand. ○ The Coleslaw is priced in ZWG, potentially indicating a different regional market or a data entry issue (e.g., "ZWG" might be a typo for "ZAR" or "USD"). Recommendation: Promote "Sadza+Chicken" (priced at $2 USD). Code_slides.txt // The Input Data and the output