GenAI Course · Module 1 · Session 2

Careers, Roadmap & Your First GenAI App

⏱ 13 min read🎯 Beginner friendly🖼 2 diagrams🧪 2 live demos🐍 Python code

Where can this course take you, and what will you build along the way? In this session we look at the main GenAI job roles, walk through the course roadmap, and then build and deploy your first GenAI app in about 30 lines of Python.

In this session

  • Four career paths and the skills each needs
  • The 10-module roadmap and what to expect
  • Hands-on: a working GenAI web app with Streamlit
  • Deploying it to the cloud with a public link

01Career paths and job roles

GenAI jobs have names that overlap, and companies use them differently. Here is what each role usually means:

RoleWhat you doKey skills
GenAI EngineerBuilds LLM features into products: chatbots, RAG, summarisationPython, APIs, prompting, RAG, LangChain, evaluation
LLM EngineerWorks closer to the model: fine-tuning, serving, optimisationPyTorch, Hugging Face, PEFT/LoRA, quantization, GPUs
AI Product EngineerTurns AI into a usable product end to endFull-stack web, UX, prompting, quick prototyping
LLMOps EngineerKeeps LLM apps running in production: deploy, monitor, costDocker, cloud, CI/CD, tracing, guardrails, cost control
Demo · Which role fits you?
Tip: every role values a portfolio. Put each project from this course on GitHub with a short README and a live demo link.

02The course roadmap

The course moves from foundations to building real systems. Each module builds on the one before:

1 · Introlandscape, setup2 · NLP basicstokens, TF-IDF, embeddings3 · Deep learningneural networks4 · SequencesRNN, LSTM, seq2seq5 · Attentionself-attention6 · Transformerarchitecture7 · LLMsHugging Face, decoding8 · PromptingLangChain9 · RAGLangGraph10 · Fine-tuningLoRA, QLoRA
Modules 1–4 build foundations, 5–7 explain transformers and LLMs, 8–10 build real applications.

03Hands-on: your first GenAI app

Let us build “Explain Like I’m 10”: type any topic, pick a level, and an LLM explains it. We use Streamlit, which turns a Python script into a web page (Session 3 covers it in more detail).

Browseruser types a topicStreamlit appapp.pyLLM APIgpt-4o-miniAnswershown on the page
The whole app: the page sends your text to an LLM API and shows the reply.
app.py
# app.py: a tiny GenAI app.  Run:  streamlit run app.py
import os
import streamlit as st
from openai import OpenAI

st.set_page_config(page_title="Explain Like I'm 10", page_icon="💡")
st.title("💡 Explain Like I'm 10")

def get_key():
    if os.getenv("OPENAI_API_KEY"):              # local: from your .env / environment
        return os.getenv("OPENAI_API_KEY")
    try:
        return st.secrets["OPENAI_API_KEY"]      # cloud: from Streamlit secrets
    except Exception:
        return ""

api_key = get_key()
if not api_key:
    st.warning("Add OPENAI_API_KEY to your environment or to Streamlit secrets.")
    st.stop()
client = OpenAI(api_key=api_key)

topic = st.text_input("What should I explain?", placeholder="e.g. How does UPI work?")
level = st.select_slider("Level", ["Child", "Student", "Professional"], value="Student")

if st.button("Explain") and topic:
    with st.spinner("Thinking..."):
        reply = client.chat.completions.create(
            model="gpt-4o-mini",
            temperature=0.3,
            messages=[
                {"role": "system", "content": f"Explain topics simply for a {level.lower()}. Max 120 words."},
                {"role": "user", "content": topic},
            ],
        )
    st.write(reply.choices[0].message.content)

Install and run it:

terminal
pip install streamlit openai
export OPENAI_API_KEY="sk-..."      # Windows PowerShell:  $env:OPENAI_API_KEY="sk-..."
streamlit run app.py
No API key yet? Create one at platform.openai.com (it needs a small prepaid balance). Many providers, such as Google Gemini or Groq, also offer free tiers with OpenAI-style APIs. Session 3 shows how to keep keys safe.

04Deploying to the cloud

An app on your laptop helps only you. Let us put it online, for free, with Streamlit Community Cloud:

Demo · Deploy in six steps
PlatformGood forFree tier
Streamlit Community CloudStreamlit apps straight from GitHubYes, public apps
Hugging Face SpacesGradio apps and ML demosYes, CPU
Render / RailwayAny Python web app or APILimited
AWS / Azure / GCPCompany production appsFree credits for new accounts
Security: a public app with your key can be used by anyone, and you pay for it. Set a monthly spending limit in your API provider’s dashboard.

05Summary

06Quick quiz

1. Who mostly works on fine-tuning and serving models?

2. What does Streamlit do?

3. In app.py, what is the system message for?

4. Where should the API key go when deploying?

5. Why set a spending limit on your API account?

07References

Created by Ajeetkumar