Skip main navigation

Simple RAG – Homework Exercise

Jupyter notebook with another flow of a RAG application with a few cells missing as homework exercises.

Homework Instructions:

In this exercise, you will implement a simple RAG system to find and recommend old movies based on a dataset with 5,000 movies. You will practice loading a dataset, creating an encoder, uploading the documents into a vector database, and searching the index with a filter on the years. The exercise includes a notebook with some of the code missing. Complete the code based on the instructions in the notebook, and answer the questions below with the output cells’ data after the code completion.

The notebook (“/exercise/01_simple_rag_exercise.ipynb”) is under the folder in the GitHub repository and here.

This article is from the free online

Advanced Retrieval-Augmented Generation (RAG) for Large Language Models

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now