This is the code repository for Building Data-Driven Applications with LlamaIndex, published by Packt.
A practical guide to retrieval augmented generation (RAG) for Enhancing LLM Applications
Generative AI, such as Large Language Models (LLMs) possess immense potential. These models simplify problems but have limitations, including contextual memory constraints, prompt size issues, real-time data gaps, and occasional "hallucinations."
This book covers the following exciting features:
- Understand the LlamaIndex ecosystem and common use cases
- Master techniques to ingest and parse data from various sources into LlamaIndex
- Discover how to create optimized indexes tailored to your use cases
- Understand how to query LlamaIndex effectively and interpret responses
- Build an end-to-end interactive web application with LlamaIndex, Python and, Streamlit
- Customize a LlamaIndex configuration based on your project needs
- Predict costs and deal with potential privacy issues
- Deploy LlamaIndex applications that others can use
If you feel this book is for you, get your copy today!
This repository contains the code and resources for the book "Build Data-Driven LLM Applications with LlamaIndex: A Practical Guide to LlamaIndex for Python Developers".
The project is built using LlamaIndex and Streamlit as the core technologies and offers the following features:
-
Learning Objective Definition: Define your learning goals and upload your own study materials in various formats including PDF, DOC and TXT.
-
Knowledge Assessment Quiz: Take a quiz to measure your current understanding of the subject, storing your responses as a baseline for your learning journey.
-
Custom Learning Material: PITS creates personalized educational content, including slides, narration and tests, all tailored to your level of expertise.
-
Modular Learning Blocks: The course is broken down into easily digestible modules, allowing you to progress at a pace that suits you.
-
Question Tracking: Keep track of all your interactions with the assistant and receive summary recaps whenever you return after 24 hours or upon request.
-
Clone this repository to your local machine.
git clone https://github.com/PacktPublishing/Building-Data-Driven-LLM-Applications-with-LlamaIndex
-
Navigate to the project directory.
cd PITS_APP
-
Install the required packages.
pip install -r requirements.txt
After installation, you can run the Streamlit app using the following command:
streamlit run app.py
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
Andrei Gheorghiu is an experienced IT consultant and trainer with over 20 years of experience in the IT industry. Holding prestigious certifications such as ITIL Master, CISA, ISO 27001 Lead Auditor and CISSP, he has enriched over 15,000 students with knowledge in IT Service Management, Information Security, IT Governance and Audit. Driven by a passion for groundbreaking innovations with transformative potential, he taps into his vast experience, offering practical advice on harnessing technology to solve real-life challenges.
For any questions, feel free to reach out at andrei.gheorghiu@gmail.com