Introduction
Introduction to RAG models
()
1. Conceptual Overview
Running your LLM from open source
()
Collecting data to generate our corpus
()
What are vector embeddings, and how are they generated?
()
Setting up a database and retrieving vectors and files
()
Vectorizing a query and finding relevant text
()
Prompt engineering and packaging pieces together
()
2. Preparing Your LLM and Data
Setting up a dev container
()
Setting up environment and installing Ollama
()
Creating a model file
()
Running Ollama programmatically through Python
()
Generating the corpus
()
Extract text from different local file formats with Docling
()
3. Setting Up a Database and Retrieving Vectors and Files
Vector embeddings and their implementation
()
Setting up your Postgres vector database
()
Setting up a simple database schema
()
Uploading vectors, text, and filenames to the database
()
Retrieving content from your database
()
4. Packaging Parts, Pipeline Engineering, and Prompt Engineering
Overview of the RAG pipeline
()
Preparing context, part 1
()
Preparing context, part 2
()
Prompt engineering
()
Putting it all together to generate a working RAG model
()
Conclusion
What's next?
()