Module 1 cheat sheet: Introduction to the Program

The big picture of AI, the jobs it creates, your first deployed GenAI app, and a clean working setup.

All modulesπŸ“– Glossary

Key ideas

  • AI βŠƒ Machine Learning βŠƒ Deep Learning βŠƒ Generative AI. S1 β†’
  • ML learns rules from data; traditional code follows rules a person wrote. S1 β†’
  • NLP understands language, GenAI creates content, agents take actions with tools. S1 β†’
  • A GenAI app can be ~30 lines: Streamlit UI + one LLM API call. S2 β†’
  • One virtual environment per project; keys in .env, never in code. S3 β†’

Job roles

RoleFocus
GenAI EngineerLLM features: chatbots, RAG, summarisation
LLM Engineerfine-tuning, serving, optimisation
AI Product Engineerend-to-end AI products and UX
LLMOps Engineerdeploy, monitor, tracing, cost

Everyday commands

python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -r requirements.txt
git checkout -b my-feature
git add . && git commit -m "message" && git push
streamlit run app.py

Streamlit vs Gradio

StreamlitGradio
Stylescript reruns top to bottomwrap a function
Best fordashboards, data appsquick model demos, chat
Free hostingStreamlit Community CloudHugging Face Spaces

Common mistakes

  • Committing an API key or .env file to GitHub.
  • Installing everything into one global Python.
  • Deploying a public app with no spending limit on the API key.
  • Calling every chatbot an β€œagent”: agents use tools and act.

Created by Ajeetkumar Β· EasyLearnSpace