Welcome to the AI Foundation Workshop! This hands-on learning experience will teach you how to build real AI applications using Python and modern AI models.
Regional pricing is available for eligible learners, with discounts of up to 60% in supported regions. Start here: https://www.learnwithparam.com/ai-bootcamp
Through 6 interactive Jupyter notebooks, you'll master:
- ๐ฌ Text Generation - Build conversational AI and chatbots
- ๐ผ๏ธ Multimodal AI - Work with images and vision models
- ๐ Structured Outputs - Extract reliable data from text
- ๐ง Function Calling - Give AI access to custom tools
- ๐ Model Context Protocol (MCP) - Connect AI to standardized services
- ๐ง Reasoning Models - Solve complex problems step-by-step
- Python 3.10+
uv(will be installed automatically if usingmake setup)- API key (Google AI Studio recommended for beginners)
- Get your API key: Google AI Studio
- Setup & Run:
cd ai-foundation-workshop # One command to setup .env, install dependencies, and run! make dev
- Configure: The first time you run it, it will create
.env. Edit.envand add your API key, then runmake devagain. - Start Learning: Open
01-text-generation.ipynbat http://localhost:8888
Follow the notebooks in order - each builds on concepts from previous ones:
| Notebook | Topic | Time | What You'll Build |
|---|---|---|---|
| 01 | Text Generation | 45 min | Restaurant chatbot with personality |
| 02 | Multimodal AI | 45 min | Menu description generator from photos |
| 03 | Structured Outputs | 60 min | Resume parser and invoice processor |
| 04 | Function Calling | 60 min | Calculator agent and weather bot |
| 05 | MCP | 60 min | Travel assistant with real-time data |
| 06 | Reasoning Models | 45 min | Math tutor and code debugger |
Each notebook follows a consistent, beginner-friendly structure:
Every concept is introduced through real-world scenarios you can relate to.
Example: Instead of "learn about streaming," you'll build a chatbot where streaming makes responses feel instant.
- Working code examples you can run immediately
- Discussion questions to deepen understanding
- Challenge tasks to test your skills
- Real-world applications you can build
Look for these throughout each notebook:
- ๐ก Key Insight - Important concepts explained simply
- โ Discussion Question - Think critically about what you learned
- ๐ฏ Challenge Task - Apply your knowledge
โ ๏ธ Important Note - Critical information to remember
The notebooks work with multiple AI providers:
| Provider | Models | Cost | Best For |
|---|---|---|---|
| Google (Gemini) | gemini-2.0-flash-exp | Free tier! | Beginners, all notebooks |
| OpenAI | gpt-4o, gpt-4o-mini | Paid | Production apps |
| Anthropic | claude-3-5-sonnet | Paid | Advanced reasoning |
| OpenRouter | Multiple models | Varies | Model comparison |
- Google AI Studio (Recommended for beginners): https://aistudio.google.com/apikey
- OpenAI: https://platform.openai.com/api-keys
- Anthropic: https://console.anthropic.com/
- Notebooks 1, 3-6: Any model works
- Notebook 2 (Multimodal): Requires vision-enabled model
- โ
gemini/gemini-2.5-flash - โ
gpt-4o - โ
claude-3-5-sonnet-20241022
- โ
We provide a Makefile to make common tasks easy. Run make help to see all commands.
This automatically checks for uv (installing it if needed), creates a virtual environment, installs dependencies, and starts JupyterLab.
# 1. Setup & Install
make devNote: The first time you run this, it will create .env. You must edit .env and add your API key before the notebooks will work!
Manual Steps (if you prefer):
make setup # Create .env and install uv
make install # Install dependencies (uv sync)
make run # Start JupyterLab (uv run jupyter lab)Perfect for keeping your system clean or ensuring consistency.
make setup # Create .env (Edit to add API key)
make build # Build image
make up # Start container- Access: http://localhost:8888
- Stop:
make down - Logs:
make logs
- Upload notebook to Google Drive
- Open with Google Colab
- Recommended: Use Colab Secrets for API keys:
- Click the ๐ key icon in the left sidebar
- Add a new secret:
GOOGLE_API_KEY - Paste your API key as the value
- Uncomment the Colab secrets lines in the notebook:
from google.colab import userdata os.environ["GOOGLE_API_KEY"] = userdata.get('GOOGLE_API_KEY')
- Install the Jupyter extension
- Open the notebook
- Select Kernel -> Python Environments
- Run cells with the play button
- Start with Notebook 1 - Don't skip ahead!
- Read the scenarios - They make concepts relatable
- Run every code cell - Learning by doing is key
- Try the challenges - They solidify your understanding
- Ask questions - Use discussion questions to think deeper
- Skim the basics - But don't skip the "Key Insights"
- Focus on challenges - Test your understanding
- Experiment - Try different models and parameters
- Build real apps - Use the "Real-World Applications" as starting points
"Module not found" error
make install"RuntimeWarning: coroutine was never awaited" (Colab/Jupyter) This is already fixed in the notebooks! Each notebook includes a cell that enables async support. If you still see this error:
import nest_asyncio
nest_asyncio.apply()"API key not found" error
- Check your
.envfile exists - Verify the key is correct
- Make sure you're using the right key name (
GOOGLE_API_KEY, etc.)
"Model not found" error
- Check your
DEFAULT_MODELin.env - Verify you have the right API key for that model
- Try
gemini/gemini-2.5-flash(free tier)
After completing these notebooks, you'll be able to build:
- ๐ฌ Customer support chatbot
- ๐ง Email auto-responder
- ๐ Content summarizer
- ๐ผ๏ธ Image description generator
- ๐ Research assistant with web search
- ๐ Data extraction pipeline
- ๐งฎ Math tutoring bot
- ๐ Code review assistant
- ๐ค Multi-tool AI agent
- ๐ Business intelligence dashboard
- ๐ฏ Decision support system
- ๐ฌ Scientific research assistant
- LiteLLM Docs - Multi-provider AI library
- Google AI Studio - Test Gemini models
- OpenAI Docs - GPT models
- Anthropic Docs - Claude models
- OpenRouter Docs - OpenRouter models
- Share your projects and ask questions
- Connect with other learners
- Get help when stuck
After completing these notebooks:
- Build a real project using what you learned
- Explore advanced topics (RAG, agents, fine-tuning)
- Deploy your AI application to production
- Share your learnings with others!
Found a typo? Have a suggestion? Want to add an example?
- Open an issue
- Submit a pull request
- Share your feedback
- โ
make setup - โ
make dev - โ
Open
01-text-generation.ipynb - โ Start building!
Happy learning! ๐
Questions? Stuck on something? Remember: Every expert was once a beginner. Take your time, experiment, and enjoy the journey!