filmov
tv
DSPy Tutorial | Build AI Agents with Python (Fundamentals)

Показать описание
Complete introduction to the simplest, most efficient, and yet most powerful way I’ve found to create AI agents, AI workflows, and AI programs in Python. Instead of manual prompting, we use automatic prompt optimization with DSPy and its concept of signatures.
Timestamps / Outline:
00:00 How to Call LLMs from Python, the Simple Way
0:21 Declare Your First AI Program (in 1 LOC)
2:24 Setting Up Your Large Language Model Backend
6:10 Program 2: Processing Images
9:14 Deeper Dive into Signatures
14:01 Program 3: Processing Entities from Paragraphs
19:19 Fetching text from wikipedia with Attachments
20:39 Setting Up a DataFrame
22:22 Apply Gemini Flash lite to each paragraph
23:02 Creating a Synthetic Gold Set
24:35 Quick Baseline Evaluation
25:11 Creating DSPy Examples
25:55 Evaluation Metric
26:10 Prompt Optimization with DSPy
29:10 Final Evaluation
Follow Max:
Links to Relevant Repositories:
Docs:
If you’re new to my channel, my name is Maxime Rivest. I’m an Applied AI Engineer and Data Engineer. I like to educate people on the best tools in Data Analytics and AI Engineering.
Max
Timestamps / Outline:
00:00 How to Call LLMs from Python, the Simple Way
0:21 Declare Your First AI Program (in 1 LOC)
2:24 Setting Up Your Large Language Model Backend
6:10 Program 2: Processing Images
9:14 Deeper Dive into Signatures
14:01 Program 3: Processing Entities from Paragraphs
19:19 Fetching text from wikipedia with Attachments
20:39 Setting Up a DataFrame
22:22 Apply Gemini Flash lite to each paragraph
23:02 Creating a Synthetic Gold Set
24:35 Quick Baseline Evaluation
25:11 Creating DSPy Examples
25:55 Evaluation Metric
26:10 Prompt Optimization with DSPy
29:10 Final Evaluation
Follow Max:
Links to Relevant Repositories:
Docs:
If you’re new to my channel, my name is Maxime Rivest. I’m an Applied AI Engineer and Data Engineer. I like to educate people on the best tools in Data Analytics and AI Engineering.
Max
DSPy Tutorial | Build AI Agents with Python (Fundamentals)
Complete DSPy Tutorial - Master LLM Prompt Programming in 8 amazing examples!
Build Self-Improving AI Agents with DSPy | Relevance AI (No Code)
Stop Prompt Engineering! Program Your LLMs with DSPy
Prompt Engineering is Dead; Build LLM Applications with DSPy Framework
DsPy Tutorial - optimize your LLM pipelines with DsPy (Part 1)
DSPy Explained!
Stop Learning Prompt Engineering... Do This Instead
RAG(Retrieval Augmented Generation) on Complex Financial Documents
DSPy: MOST Advanced AI RAG Framework with Auto Reasoning and Prompting
Getting started with DSPy tutorial
A Gentle Introduction to DSPy in Python Part 1
DSPy prompt optimization - deep tutorial on custom dataset
Bay.Area.AI: DSPy: Prompt Optimization for LM Programs, Michael Ryan
How to Build an MCP Server for LLM Agents: Simplify AI Integration
Getting Started with RAG in DSPy!
DSPy tutorial for beginners: Generative AI without prompt engineering
Agent Development Kit (ADK) Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro)
How DSPy Simplifies Building AI-Powered Software Features
DSPy - going from prompting to programming
From DSPy to NEW 'CoT Encyclopedia' (explain)
Why Agent Frameworks Will Fail (and what to use instead)
Using Stanford DSPy Framework To Train A LLM Model To Reason
Topology DSPy: Prompting the Swarm (Multi-Agents)
Комментарии