About the Rag Course
Program Highlights
Course Curriculum
Module 1: Module 1 – Environment & Dependencies Setup
- Create and activate a Python virtual environment
- Install LangChain, FAISS‑CPU, OpenAI, FastAPI and other required packages
- Configure a .env file with your OpenAI API key
Module 2: Module 2 – Document Ingestion & Embedding
- Load PDF/text files from a local ./docs/ folder
- Chunk documents into manageable 500‑token pieces
- Generate OpenAI embeddings and store them in a FAISS index
Module 3: Module 3 – Vector Store & Retrieval Function
- Initialize the FAISS vector store for fast similarity search
- Implement a retrieve(query) function using index.similarity_search
- Validate retrieval by printing sample chunks for test queries
Module 4: Module 4 – QA Chain Implementation
- Create a prompt template that injects retrieved context
- Connect the prompt to an LLMChain or RetrievalQA from LangChain
- Test end‑to‑end answers with multiple user questions
Module 5: Module 5 – API Endpoint & Minimal Interface
- Build a FastAPI app with a /qa POST endpoint
- Integrate retrieve() and the LLM chain inside the endpoint
- Validate the API using curl or Postman requests
Module 6: Module 6 – Testing, Debugging & Extensions
- Handle no‑result scenarios with friendly fallback messages
- Experiment with chunk sizes and k‑values for optimal retrieval
- Measure latency and apply performance optimizations
Tools, Techniques, or Platforms Covered
LangChain
FAISS
OpenAI
FastAPI
Uvicorn
dotenv
Bash
Real-World Applications
- Apply Hands skills directly to academic research, thesis work, and publications
- Build a professional portfolio showcasing practical AI competencies
- Solve industry-relevant problems using Hands methodologies and tools
- Contribute to open-source projects and collaborative research in AI
- Prepare for competitive examinations, interviews, and professional certifications in AI
Who Should Attend & Prerequisites
- Industry‑recognized e‑Certification + e‑Marksheet from NSTC
- Hands‑on training with practical projects and real‑world datasets
- Dedicated expert mentorship and doubt‑resolution throughout the day
Prerequisites:







