Skip to content

Beginners course module 3#2496

Open
manas95826 wants to merge 7 commits into
masterfrom
beginners-course-module-3
Open

Beginners course module 3#2496
manas95826 wants to merge 7 commits into
masterfrom
beginners-course-module-3

Conversation

@manas95826

@manas95826 manas95826 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

PREVIEW

This PR is still work in progress. Formatting and images will be added soon

Module 1-3 pages don't exist yet, so the syllabus links to them
were 404ing the lychee internal link checker.
@netlify

netlify Bot commented Jul 10, 2026

Copy link
Copy Markdown

Deploy Preview for condescending-goldwasser-91acf0 ready!

Name Link
🔨 Latest commit 89fddda
🔍 Latest deploy log https://app.netlify.com/projects/condescending-goldwasser-91acf0/deploys/6a53a9100c1c710008dafc19
😎 Deploy Preview https://deploy-preview-2496--condescending-goldwasser-91acf0.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kanungle kanungle added draft do not merge For release on a specified date labels Jul 10, 2026

@kanungle kanungle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks okay. More is needed on IVF, BM25, SPLADE, miniCOIL, as well as how sparse vectors are encoded differently: mostly zeros (only non-zero values are entered). I also think filtering needs to be broken out as a separate "optional" part of this. Filtering is applicable on dense and sparse retrieval too, not just hybrid.


# Sparse vs Dense vs Hybrid Search

Understand dense vs sparse search, when each fails, and how hybrid systems combine them.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with:

Understand dense versus sparse retrieval, their strengths, and how a hybrid approach can combine them.


## 1. Where We Left Off

In Module 2, you built a complete ingestion and retrieval pipeline: raw text → vector → store → top-K query. Dense-only search works well for natural language. It breaks immediately on structured identifiers.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dense-only search works well for natural language. It breaks immediately on structured identifiers.

Replace with:

Dense-only retrieval is best for semantic and contextual search. It struggles on structured identifiers.

Comment on lines +32 to +41
| Query | SKU-48291 |
|-------|-----------|
| **The user wants exactly this product. No synonyms. No paraphrasing.** | |

**Dense search returns**

| SKU-48292 | (0.91) | ← wrong |
|----------|--------|---------|
| SKU-48291 | (0.89) | ← correct |
| SKU-48290 | (0.87) | ← wrong |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thierry used to do an "iPhone" search example where the wrong model was retrieved for a ecommerce query. I think that works better than SKUs

Comment on lines +228 to +246
🖼️
**Images**
"red dress" → visually similar products
CLIP, SigLIP embed images and text into the same space

🎬
**Video**
"factory fire" → matching video scenes
Frames are sampled, embedded, stored as named vectors

🎧
**Audio**
Hum a melody → matching songs
Audio fingerprints or spectrogram embeddings

📝
**Text**
"cheap flights NYC" → semantic docs
Sentence transformers, OpenAI embeddings, etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want emojis

Comment on lines +349 to +354
Next, we'll explore:

- Real enterprise architectures - Tripadvisor, HubSpot, and OpenTable in depth
- Production patterns: multi-tenancy, agent memory, and RAG pipelines
- Deployment options: Cloud, Hybrid Cloud, Edge, and self-hosted
- Formula queries - when RRF and DBSF aren't enough

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use real customer use cases in the course

@manas95826 manas95826 requested a review from kanungle July 12, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge For release on a specified date draft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants