Overview
Syllabus
- Introduction to using agents for document retrieval
- Three key insights about function calling and embeddings
- Explanation of traditional function calling approach
- Introduction to SmolAgents and code execution
- Discussion of HuggingFace's safe Python environment
- Demo of SmolAgents basic implementation
- Setup instructions for running the code
- Explanation of document preparation and Markdown conversion
- Discussion of table of contents generation
- Introduction to BM25 retrieval tool
- Implementation details of BM25 search
- Setup of document section reading tool
- Explanation of section retrieval implementation
- Demo of BM25 retriever tool
- Integration of section reading tool
- Demonstration of combined tools with Claude model
- Testing with different language models
- Summary and conclusion of tutorial
- Mention of future improvements needed for context management
Taught by
Trelis Research