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

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