| 📰 Session Sheet | ⏺️ Recording | 🖼️ Slides | 👨💻 Repo | 📝 Homework | 📁 Feedback |
|---|---|---|---|---|---|
| Advanced Retrievers | Recording! passcode: ?aLJ0gG^ |
Session 11 Slides | You are here! | Session 11 Assignment: Adv. Retrievers | Feedback 2/17 |
Create a .env file in this directory with your API keys:
OPENAI_API_KEY=your_openai_api_key_here
COHERE_API_KEY=your_cohere_api_key_here
- Run
uv syncto install dependencies.
Run the notebook and complete the following:
- 🤝 Breakout Room Part #1
- Task 1: Getting Dependencies!
- Task 2: Data Collection and Preparation
- Task 3: Setting Up QDrant!
- Tasks 4-10: Retrieval Strategies
- Naive RAG Chain
- Best-Matching 25 (BM25)
- Contextual Compression (Using Reranking)
- Multi-Query
- Parent Document
- Ensemble
- Semantic Chunking
- 🤝 Breakout Room Part #2
- Activity: Evaluate with Ragas
🚧 Advanced Build 🚧 (OPTIONAL - open this section for the requirements)
NOTE: This can be done in place of the Main Assignment
Implement RAG-Fusion using the LangChain ecosystem.
When submitting, provide:
- Your Loom video link demonstrating the semantic chunking implementation
- The GitHub URL to your completed Advanced Build
Have fun!
- The completed notebook.
- 5min. Loom Video
- Walk through your notebook and explain what you've completed in the Loom video
- Make a social media post about your final application and tag @AIMakerspace
- Share 3 lessons learned
- Share 3 lessons not learned
Follow these steps to prepare and submit your homework:
- Pull the latest updates from upstream into the main branch of your AIE9 repo:
- (You should have completed this process already.) For your initial repo setup, see Initial_Setup
- To get the latest updates from AI Makerspace into your own AIE9 repo, run the following commands:
git checkout main git pull upstream main git push origin main - IMPORTANT: Start Cursor from the
11_Advanced_Retrievalfolder (you can also use the File -> Open Folder menu option of an existing Cursor window) - Answer Questions 1 - 3 using the
##### Answer:markdown cell below them inAdvanced_Retrieval_with_LangChain_Assignment.ipynb - Complete Activity #1 in
Advanced_Retrieval_with_LangChain_Assignment.ipynb - Add, commit and push your modified notebooks to your GitHub repository.
When submitting your homework, provide:
- Your Loom video link
- The GitHub URL to the
11_Advanced_Retrievalfolder on your assignment branch
