Permission-aware RAG
RAG system ko aisa banao ki woh sirf wahi passages lautaye jo current user dekh sakta hai, har chunk ke saath access rights store karke, search ke andar filter karke aur rights ko source ke saath sync mein rakhkar.
Pro 1 · Quality engineerabout 4 hours7 sections
Seedha jawab
Permission-aware RAG store karta hai ki har chunk kaun dekh sakta hai aur search ke andar current user ke hisaab se filter karta hai, taaki model ko aisa passage kabhi mile hi nahi jo woh user padh nahi sakta.
Ye kyun zaroori hai
Enterprise AI project ko jaldi khatam karne ka sabse tez tareeka hai ki ek intern ke sawaal par CEO ka salary letter saamne aa jaaye. Mixed-sensitivity documents waala har client ise test karega, aur security teams ise launch condition bana deti hain.
Sign up free to read the whole lesson
The rest of this lesson: 7 parts, video lessons, the best course, practice and a quick check. It is free, takes a few seconds and needs no card.
Accounts are for learners aged 18 and over. Under 18? The quick answer and the first part of every lesson stay open: browse lessons by topic.
Lessons on Generative AI & LLM Engineer0 of 65 done
- 1What AI, machine learning and a language model are
- 2Use a chat assistant for a real task and check the answer
- 3Use AI safely at work
- 4Set up Python and run your first file
- 5Variables, loops and functions in Python
- 6Write your own functions
- 7Lists and dictionaries
- 8Files and errors
- 9The terminal and Git
- 10Packages and virtual environments
- 11Call a web API and read JSON
- 12Tables with pandas
- 13Call an LLM API from code
- 14System prompts and prompt design
- 15Tokens and the context window
- 16How a model picks its next word: temperature, top-p and top-k
- 17Get structured JSON output
- 18Errors, retries and cost
- 19How a chat model is made: pre-training, SFT and preference tuning
- 20AI in Indian languages: tokens, quality gaps and what to use
- 21Embeddings
- 22Chunk documents for retrieval
- 23Vector search
- 24Build a RAG app
- 25Check whether retrieval works
- 26Parsing documents and OCR
- 27Metadata that helps retrieval
- 28Hybrid search, reranking and filters
- 29Query rewriting, HyDE and parent-child chunks
- 30Grounding, citations and refusing to guess
- 31Long context or RAG
- 32Tool calling
- 33The agent loop
- 34Logs and traces for agents
- 35How agents fail
- 36Long documents without vectors
- 37Test sets and evals
- 38LLM judges and their limits
- 39Choosing a model: benchmarks, leaderboards and your own tests
- 40Scoring open-ended answers: exact checks, similarity and side-by-side comparison
- 41Catching hallucinations: why models make things up and how to detect it
- 42Regression tests for prompts
- 43Defend against prompt injection
- 44Reasoning models and test-time compute: when to let the model think longer
- 45Data pipelines for AI
- 46Permission-aware RAG
- 47Graph RAG
- 48Multimodal RAG
- 49How fine-tuning works: data, training and what can go wrong
- 50LoRA, QLoRA and the GPU memory maths
- 51Fine-tuning in practice: tools, settings and reading the loss curve
- 52Synthetic data and distillation: training with model-made data
- 53Building a training dataset: quality, coverage and quantity
- 54Deploy and monitor an LLM app
- 55Caching and speed
- 56Inside LLM inference: prefill, decode and the KV cache
- 57Grow an AI app in layers: context, guardrails, routing, caching and agents
- 58Advanced harness engineering
- 59Harnesses for long-running agents
- 60Cost control
- 61Security and privacy
- 62Prompting, RAG or fine-tuning
- 63Design an AI system
- 64Quality, cost and speed trade-offs
- 65The design interview
Related
On these roadmaps: Generative AI & LLM Engineer, Forward Deployed Engineer (FDE), AI Security Engineer
Retrieval and RAGPro 1: Quality engineerVideo lessonsPermission-aware RAGRole-based access controlMetadata filterSingle sign-on