From the course: Building a RAG Solution from Scratch

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Solution: Deploying a functional chatbot

Solution: Deploying a functional chatbot

From the course: Building a RAG Solution from Scratch

Solution: Deploying a functional chatbot

(upbeat music) - [Instructor] And we got to the solution for this chapter's challenge. How did we find it? It was a little bit like the combination of what we have done in the previous demos, but for the PubMedQA dataset, so combination of what we did in the previous challenge and all this chapter. Again, as we are combining multiple concepts altogether, if you didn't get it all in once, don't worry. Just let's go through a solution, and then pause the video and try to do it again, okay? So we will start by doing the pip install, as always, and we will connect to a GPU, and I will get an A100. We will put log. There it is, and we got our GPU, and, now, it's installing everything, and, now, I'll go a little fast, but only because this is basically the same as combining everything we have done, right? So all the imports are the same as before. We are going to use numba as before. Notice that, again, we are going to upload already the faiss index and the chunked_documents for these…

Contents