Automated Prompt Engineering with DSPy - A Comprehensive Tutorial
Offered By: Trelis Research via YouTube
Course Description
Overview
Explore automated prompt engineering techniques using DSPy in this 46-minute video tutorial. Learn how to leverage structured prompt generation for improved AI model performance. Dive into topics like simple prompting, chain of thought, vector search retrieval, few-shot examples, multi-hop queries, and result optimization. Gain hands-on experience with practical notebooks, installation guidance, and step-by-step demonstrations. Discover how to enhance answer quality control using DSPy assertions and compare overall results across different approaches. Access additional resources, including slides, notebooks, and timestamps for easy navigation through the content.
Syllabus
Introduction to structured/automated prompt generation
Video Overview
Why is DSPy useful?
Q&A and Retrieval Databases hotpotqa and wikipedia
Notebooks - DSPy and Trelis
Installation and Setup
Step 1: Simple Prompting and Benchmarking
Step 2: Adding Chain of Thought
Step 3: Add vector search retrieval
Step 4: Add random few shot examples
Step 5: Optimally choosing few shot examples
Step 6: Add multi-hop search/queries Baleen / Perplexity-style
Step 7: Multi-hop search WITH optimally chosen few shot examples
Overall Results Comparison!
DSPy assertions - for further answer quality control
Video resources
Taught by
Trelis Research
Related Courses
Semantic Web TechnologiesopenHPI أساسيات استرجاع المعلومات
Rwaq (رواق) 《gacco特別企画》Evernoteで広がるgaccoの学びスタイル (ga038)
University of Tokyo via gacco La Web Semántica: Herramientas para la publicación y extracción efectiva de información en la Web
Pontificia Universidad Católica de Chile via Coursera 快速学习
University of Science and Technology of China via Coursera