Welcome to Gen AI Beginner Projectsπ - a hands-on learning repository designed to help you understand the fundamentals of Generative AI by building real-world projects using Python and modern LLMs.
This repository focuses on practical implementation of concepts like:
- Prompt Engineering
- LLM APIs (like OpenAI API)
- Embeddings
- Vector Databases
- RAG (Retrieval-Augmented Generation)
- AI Agents
Instead of just learning theory, this repo emphasizes learning by building.
If youβve ever wondered:
- How does ChatGPT actually work?
- How can I build my own AI-powered app?
- How do companies use Generative AI in real products?
This repository is the practical answer to those questions.
This repository contains small, focused Gen AI projects, each living in its own folder, designed to:
- π To build strong foundational knowledge in Generative AI
- π οΈ To create practical, portfolio-ready projects
- π To document experiments and learnings
- π To transition from beginner to intermediate level in Gen AI
- πΌ To prepare for AI/ML/LLM-based roles
- π§ To build intuition before production-grade systems
Each project is intentionally designed to focus on one or two core concepts to avoid overwhelming complexity.
By going through these projects, you will learn:
- Prompt Engineering
- Zero Shot, Few Shot, Chain-of-Thought Prompting
- System vs User Prompts
- Temperature, Top-p tuning
- Output Structuring (JSON, Markdown)
- Working with LLM APIs
- Making API calls
- Handling tokens & rate limits
- Streaming response
- Error Handling
- Embeddings & Semantic Search
- What embeddings are
- Converting text -> vectors
- Cosine similarity
- Semantic retrieval
- Vector Databases
- Indexing embeddings
- Storing & quering vectors
- Similarity search
- RAG (Retrieval-Agumented Generation)
- Chunking strategies
- Context injections
- Reducing hallucinations
- Knowledge-grounded response
- AI Agents
- Tool usage
- Task planning
- Multi-step reasoning
- Basic agent workflows
This repository is perfect for:
- π§βπ Students learning Generative AI
- π¨βπ» Developers transitioning into AI
- π Professionals switching to AI/ML roles
- π Anyone who wants to build an AI portfolio
- π§ Curious minds who want to understand how modern AI works
If you are at beginner level and want structured, practical learning β this repo is for you.
graph TD
A[Start: Generative AI Basics] --> B[Prompt Engineering]
B --> C[LLM APIs]
C --> D[Build Simple Apps<br/>Summarizer / Email Generator]
D --> E[Embeddings]
E --> F[Semantic Search]
F --> G[Vector Databases]
G --> H[RAG - Retrieval Augmented Generation]
H --> I[Build Chat with PDF / Knowledge Bot]
I --> J[AI Agents Basics]
J --> K[Tool Calling]
K --> L[Multi-step Reasoning Apps]
L --> M[Intermediate Gen AI Projects]
gen-ai-beginner-projects/
β
βββ ai-text-summarizer-gemini-python/
β βββ gemini-text-summarizer.py
β βββ READEME.md
β
βββ ai-email-writer-gemini-python/
β βββ gemini-email-writer.py
β βββ READEME.md
β
βββ ...
β
βββ requirements.txt
βββ .env.example
βββ .gitignore
βββ README.md
Common stack used across experiments:
- Language: Python 3.10+
- LLMs: Google Gemini
- Frameworks: langchain
- Env Management: python-dotenv
- IDE: VS Code (recommended)
git clone https://github.com/pankaj-kaushik/gen-ai-beginner-projects.git
cd gen-ai-beginner-projectspython -m venv .venvActivate it:
Windows (PowerShell):
.venv\Scripts\Activate.ps1Mac/Linux:
source .venv/bin/activateCreate a .env file at the root
GEMINI_API_KEY="your_api_key_here"
OPENAI_API_KEY="your_api_key_here"
π Refer to .env.example
π Never commit .env to GitHub
pip install -r requirements.textEach project follows the same basic flow.
cd ai-text-summarizer-gemini-pythonpython gemini-text-summarizer.pyFollow this standard structure:
project-name/
βββ app.py
βββ requirements.txt (if any)
βββ README.md
βββ assets/ (optional)
Best practices:
- Focus on one GenAI concept
- Keep code minimal & readable
- Document:
- what the experiment does
- what you will learn
- how to run it
Some experiments you may find or add
- Study Buddy / Concept Explainer
- Email / Message Writer
- Chat with PDF
- Resume Analyzer
- Prompt Comparison Lab
- Embeddings Search Demo
- RAG (Retrieval Augmented Generation)
- Simple AI Agent
- Interview Question Generator
- Career Coach For S/W Engineers
- Bug Root Cause Analyzer
- Teacher for kids (Math/Logic)
- Google Gemini Documentation
- Prompt Engineering Guide
- Understanding Temperature & Top-P
- Python Best Practices
- LLM APIs may incur cost
- Outputs may vary due to model randomness
- This repo is for learning & experimentation only
- Google Gemini LLM
- Open-source Python community
π‘ If you found this helpful...
- β Star the repo
- π΄ Fork it
- π Build on top of it & submit pull request
- π’ Share your AI story platform
Happy Hacking π§ͺπ