Homework 1/2: RAG

Deadline: 27 April 2026 (Mon), 23:59
Shown in your timezone.
Correct answers are available below

This homework has already been scored. Log in to view your own submission, score, and feedback.

Log in to view my results

Correct answers

1. How many lines are in the extracted content from the "Think Python" book after converting to markdown? (1 point)

2. How many chunks are produced for the "Think Python" book with size=100 and step=50? (1 point)

3. How many documents (chunks) did you index in total from all books? (1 point)

4. When searching for "python function definition", which book did the top result come from? (1 point)

5. How many input tokens did we use for the RAG query "python function definition"? (1 point)

6. How many MORE input tokens does the structured output version use compared to the unstructured version? (1 point)