How sumit-exe/building-ai-agents-and-rag works
This repository is a hands-on agentic-AI course, not one integrated application. Its documented learning path moves from basic LLM calls through retrieval and agent patterns to safety, evaluation, and two end-to-end projects. The shopping project handles text/image product discovery, ratings, and confirmed checkout; the telecom project answers support questions using FAQ, ticket, and guide retrieval. Relationships within those projects are grounded in excerpts. Other tutorial folders are represented as capabilities, without inferring calls between independent examples.
Main entry points: README.md Course Guide · shopping_agent.py Shopping Agent · rag_chain.py Answer Chain · func_eval.py Evaluation Runner
Components 25
LLM Foundations
- LLM Calls
1_simple_llm_calling/call_llm.ipynb - Health Analysis
2_health_analysis/streamlit_app/app.py - Vector Databases
3_vector_db/vector_db_basics.ipynb - RAG Basics
4_rag_basics/rag_demo.ipynb
Agent Patterns
- Single Agent
5_single_agent/product_query_agent.ipynb - Agent Memory
6_memory/product_query_agent_with_memory.ipynb - Multimodal Agent
7_multimodal/multimodal_demo.ipynb
Safety and Evaluation
- Guardrails
8_guardrails/guardrails.py - Inventory Agent
9_eval/inventory_agent.py - Evaluation Runner
9_eval/func_eval.py - Semantic Similarity
9_eval/utils.py
Shopping Project
- Shopping Interface
10_project_shopping_agent/app.py - Shopping Agent
10_project_shopping_agent/shopping_agent.py - Product Ratings
10_project_shopping_agent/reviews_api.py - Store Database
10_project_shopping_agent/store.db
Telecom Project
- Support Interface
11_project_telecom_chatbot/app.py - CLI Entry
11_project_telecom_chatbot/main.py - Answer Chain
11_project_telecom_chatbot/rag_chain.py - Merged Retriever
11_project_telecom_chatbot/retriever.py - FAQ Ingestion
11_project_telecom_chatbot/ingest_faq.py - Ticket Ingestion
11_project_telecom_chatbot/ingest_tickets.py - Guide Ingestion
11_project_telecom_chatbot/ingest_pdf.py - Chroma Collections
Other components
- Learner
- Course Guide
README.md
Connections 23
- Learner → Course Guide: follows
README.md - Course Guide → LLM Calls: starts with
README.md - Course Guide → Health Analysis: covers
README.md - Course Guide → Vector Databases: covers
README.md - Course Guide → RAG Basics: covers
README.md - Course Guide → Single Agent: covers
README.md - Course Guide → Agent Memory: covers
README.md - Course Guide → Multimodal Agent: covers
README.md - Course Guide → Guardrails: covers
README.md - Course Guide → Inventory Agent: covers
README.md - Shopping Interface → Shopping Agent: invokes
10_project_shopping_agent/app.py - Shopping Agent → Product Ratings: queries
10_project_shopping_agent/shopping_agent.py - Shopping Agent → Store Database: searches and orders
10_project_shopping_agent/shopping_agent.py - Product Ratings → Store Database: reads reviews
10_project_shopping_agent/reviews_api.py - Evaluation Runner → Inventory Agent: evaluates
9_eval/func_eval.py - Evaluation Runner → Semantic Similarity: scores answers
9_eval/func_eval.py - Support Interface → Answer Chain: streams answers
11_project_telecom_chatbot/app.py - CLI Entry → Answer Chain: streams answers
11_project_telecom_chatbot/main.py - Answer Chain → Merged Retriever: retrieves context
11_project_telecom_chatbot/rag_chain.py - Merged Retriever → Chroma Collections: queries collections
11_project_telecom_chatbot/retriever.py - FAQ Ingestion → Chroma Collections: populates FAQ
- Ticket Ingestion → Chroma Collections: populates tickets
- Guide Ingestion → Chroma Collections: populates guide