DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build a retrieval corpus from the freight case study with AI Engineering Lab

Use the Week 1 seeded freight data as the retrieval corpus for a RAG exercise.

Short answer: Run git clone https://github.com/zorost/AI-Engineering-Lab.git; then run cd AI-Engineering-Lab; run python -m pip install -r requirements.txt. All steps.

  • Research
  • Intermediate
  • 120 minutes
  • From the README
  • Any agent

Who it is forAn analyst or engineer on a team preparing for retrieval augmented generation work, triggered by needing a realistic, shared dataset to practice on.

The problemRetrieval exercises are hard to learn on toy text, and separate datasets for each lesson make it hard to see how skills connect.

The outcomeA working retrieval step over the ZoroLogistics dataset, with a metric and an error note as the course requires from Week 3 on.

What you need first

  • A computer you can install software on
  • Git installed, to run the clone command
  • Python installed, with pip available
  • About ten hours a week and basic computer literacy
  • No prior Python, GPU, or paid API key is required

Steps

  1. Run git clone https://github.com/zorost/AI-Engineering-Lab.git
  2. Run cd AI-Engineering-Lab
  3. Run python -m pip install -r requirements.txt
  4. Complete Week 1 to generate the dataset, then open the Week 7 folder under curriculum/
  5. Build a small retrieval index over the generated tables and record one metric and one error note (inferred, check the README)

Prompt for your agent

In the AI-Engineering-Lab repo, complete curriculum/week-01 to generate the freight dataset under data/, then build a small retrieval index over it for the Week 7 exercise. Return the retrieval query you tested, the metric you chose, and one error note.

Caveat. The README names Week 7 as the retrieval corpus step, but the retrieval library and method are described in the week folder, not in the README.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for zorost/AI-Engineering-Lab and "Build a retrieval corpus from the freight case study"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer