Commit d0ffbcb
committed
Merge Section 2 & 2.5: Unified Retrieved Context Engineering
Major restructuring of Section 2 to consolidate RAG fundamentals and context quality engineering:
## Changes
### New Section 2 Structure (2 notebooks, 2.5-3 hours)
- **Notebook 1**: RAG Fundamentals and Implementation (45-50 min)
- Vector embeddings and semantic search basics
- Building first RAG system with Redis
- Added Part 4: Context Quality Matters (preview)
- **Notebook 2**: Engineering Context for Production (90-105 min)
- Data engineering pipelines for context
- Chunking strategies with LangChain (4 strategies)
- Three engineering approaches (RAG, Structured Views, Hybrid)
- Production pipeline architectures
- Added Part 6: Quality Optimization
### Deleted
- Old Section 2 notebook (01_engineering_retrieved_context_with_rag.ipynb)
- Section 2.5 directory (merged into Section 2)
### Updated
- Section 1 NB2: Updated "What's Next" to reference new Section 2 structure
- README.md: Updated course overview, duration (13-18 hours), and Section 2 description
- COURSE_SUMMARY.md: Updated Section 2 details and course stats
- .gitignore: Added course_catalog_section2.json
### Documentation
- Added SECTION_2_MERGE_ANALYSIS.md with detailed merge rationale
## Results
- Before: 3 notebooks across 2 sections (Section 2 + Section 2.5)
- After: 2 notebooks in 1 unified section
- Clear progression: RAG Basics → Production Engineering
- Zero redundancy, smooth transitions
- Both notebooks fully tested and executed successfully
## Testing
- ✅ Notebook 1 executed successfully (all cells pass)
- ✅ Notebook 2 executed successfully (all cells pass)
- ✅ All outputs verified and saved
- ✅ Course navigation updated and verified1 parent 8647c22 commit d0ffbcb
File tree
8 files changed
+3166
-758
lines changed- python-recipes/context-engineering
- notebooks
- section-1-context-engineering-foundations
- section-2-retrieved-context-engineering
8 files changed
+3166
-758
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
| |||
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 191 | | |
281 | 192 | | |
282 | 193 | | |
| |||
647 | 558 | | |
648 | 559 | | |
649 | 560 | | |
650 | | - | |
| 561 | + | |
651 | 562 | | |
652 | 563 | | |
653 | 564 | | |
654 | | - | |
655 | 565 | | |
656 | | - | |
| 566 | + | |
657 | 567 | | |
658 | 568 | | |
659 | 569 | | |
660 | 570 | | |
661 | 571 | | |
662 | | - | |
663 | | - | |
664 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
665 | 575 | | |
666 | 576 | | |
667 | 577 | | |
| |||
805 | 715 | | |
806 | 716 | | |
807 | 717 | | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
813 | 723 | | |
814 | 724 | | |
815 | 725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 155 | | |
182 | 156 | | |
183 | 157 | | |
| |||
195 | 169 | | |
196 | 170 | | |
197 | 171 | | |
198 | | - | |
199 | | - | |
| 172 | + | |
200 | 173 | | |
201 | 174 | | |
202 | 175 | | |
| |||
452 | 425 | | |
453 | 426 | | |
454 | 427 | | |
455 | | - | |
| 428 | + | |
456 | 429 | | |
457 | 430 | | |
458 | 431 | | |
459 | 432 | | |
460 | | - | |
461 | 433 | | |
462 | 434 | | |
463 | | - | |
| 435 | + | |
464 | 436 | | |
465 | 437 | | |
466 | 438 | | |
467 | 439 | | |
468 | 440 | | |
469 | 441 | | |
470 | 442 | | |
471 | | - | |
472 | | - | |
473 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
474 | 446 | | |
475 | 447 | | |
476 | 448 | | |
| |||
495 | 467 | | |
496 | 468 | | |
497 | 469 | | |
| 470 | + | |
| 471 | + | |
498 | 472 | | |
499 | 473 | | |
500 | 474 | | |
| |||
506 | 480 | | |
507 | 481 | | |
508 | 482 | | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | 483 | | |
515 | 484 | | |
516 | 485 | | |
| |||
660 | 629 | | |
661 | 630 | | |
662 | 631 | | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
668 | 637 | | |
669 | 638 | | |
670 | 639 | | |
| |||
0 commit comments