May 2026
Intermediate
640 pages
16h 47m
English
Customizing retrieval-augmented generation (RAG) components and optimizing performance is critical to building robust, production-ready applications with LlamaIndex. In this chapter, we explore additional methods for leveraging open source models with a local-first setup, switching between local runtimes such as Ollama and LM Studio, and using routing patterns and community-built modules to increase flexibility and cost-effectiveness. We then shift focus to deployment, using Streamlit and Streamlit Community Cloud to package and share our Contract Review Expert application. At this point in the book, you have a working RAG application, but it's locked to a single runtime, a single model, and ...
Read now
Unlock full access