Manning Early Access Program (MEAP)
Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
Retrieval Augmented Generation—RAG—is now the standard way to improve LLM accuracy and relevance. But building production-grade RAG systems requires far more than connecting an LLM to a vector database. In Build an Advanced RAG Application (From Scratch), you’ll learn RAG from first principles by creating a complete portfolio of end-to-end applications. You’ll build each component of the pipeline, ensuring full control over every part of the stack.
Written by former Google research scientist Hamza Farooq, this hands-on guide takes you from LLM and transformer fundamentals through keyword search and semantic retrieval to production RAG systems. You’ll build a hotel search engine with semantic ranking, implement semantic caching for cost-effective production deployments, develop autonomous AI agents powered by RAG context, and deploy optimized open-source LLMs. Through under-the-hood experience, you’ll master embeddings, chunking, reranking, vector databases, evaluation frameworks, fine-tuning, and more.
what's inside
Design and implement efficient search algorithms for LLM applications
Master deep customization techniques for every RAG pipeline component
Model fine-tuning techniques for task-specific and domain adaptation
Deploy quantized versions of open-source LLMs using vLLMs and Ollama
about the reader
For Python developers with NLP basics, who are ready to move beyond framework abstractions and build RAG systems optimized for their specific constraints.
about the author
Hamza Farooq is the founder and CEO of Traversaal.ai, and a seasoned AI expert. His experience includes roles as both a research scientist at Google and a distinguished adjunct professor at leading institutions like Stanford UCLA and University of Minnesota.
eBook
pdf, ePub, online
$47.99
$23.99
you save $24.00 (50%)
print
includes eBook
$59.99
$29.99
you save $30.00 (50%)
with subscription
free or 50% off
$24.99
pro $24.99 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!