rag
10 tutorials tagged “rag”.
- Answers with SourcesMake RAG answers show their sources and admit when they don't know: numbered passages, structured citations, checked in code, and a score threshold.
- Building a RAG PipelineBuild a working RAG pipeline in Python: load documents, split them into chunks, embed and retrieve the best passages, and have a model answer from them.
- Advanced RAG PatternsProduction RAG beyond the basics: access control, fresh documents, multi-document answers, citations, abstaining, and diagnosing failures by stage.
- Intermediate AI ProjectsFive intermediate projects in code, each with a measured result. Build a support ticket classifier with a precision and recall report.
- Chunking DocumentsChunking splits documents into passages for retrieval. See with real output how chunk size and overlap change whether the right answer is found.
- What Is Fine-TuningFine-tuning continues training a pretrained model on your examples. Learn what it changes, what it does not, and when it beats prompting or RAG.
- Measuring RAG and Agents ProperlySeparate retrieval from answer quality, put confidence intervals on small evaluations, and compare versions fairly, with real Campus Helper numbers.
- RAG vs Fine-Tuning vs Long ContextThree ways to give a model your knowledge: retrieve passages, train it further, or send whole documents. Compare them and choose by size, change and cost.
- Retrieval Quality and RerankingMeasure retrieval with a small test set, then compare keyword, semantic, hybrid search and reranking. Real results show why you must measure, not assume.
- What Is RAGRetrieval-augmented generation finds the right passages in your documents and gives them to a model, so answers come from your sources, with citations.