From the course: LLMOps in Practice: A Deep Dive
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
VectorDB: Hands-on use case - Python Tutorial
From the course: LLMOps in Practice: A Deep Dive
VectorDB: Hands-on use case
Okay. To get started with this section where we're going to be creating our first RAG by slicing up the PDF and putting it in the Chroma DB. Make sure you have your Chroma DB running, and we saw the steps for installing and running that in the previous video. And when you run it in a terminal, you'll see something like this. Once you have that going, leave that terminal alone. We won't touch that. We'll minimize that and we'll work in a different environment. So the environment that we're working in is going to be the first rag/start directory. And it's going to look a little bit like this. There's some files in here that I've already made for you. The most important one, and the one that you're going to be working on is the create_db.py. And we're going to edit that one so that we slice up the PDF. And we'll see there's that PDF space-cadets-2020-master. pdf is the actual book. So here's the create_db.py file that's available in the repo. And there's some of these functions. The code…
Contents
-
-
-
-
-
(Locked)
Retrieval augmented generation (RAG)8m 14s
-
(Locked)
Installing and setting up a VectorDB4m 50s
-
(Locked)
Create a VectorDB15m 2s
-
(Locked)
BYOD to a VectorDB6m 14s
-
(Locked)
VectorDB: Hands-on use case14m 10s
-
(Locked)
Querying the VectorDB3m 47s
-
(Locked)
Demonstration: Querying the VectorDB11m 33s
-
(Locked)
Extending your app with RAG5m 23s
-
(Locked)
RAG: Showing it in action9m 48s
-
(Locked)
Challenge: Complete RAG application1m 8s
-
(Locked)
Solution: Complete RAG application5m 16s
-
(Locked)
-
-