Sign in to view content

Sign in to view this lesson and continue learning.

Day 1 Lab: Auto Prompt Optimization with dspy

Module
60 mins
PythonNLPLLMsGit

Description

In this lab, Zach dives into analyzing code in a GitHub repository and discussed auto prompt optimization techniques, specifically focusing on two examples: the auto optimize candidates pool and counting.py. He guides through setting up their Python environment, generating a GitHub personal access token, and running the code to fetch repository contents. Zach emphasized the importance of structured data in prompt engineering and how to create effective prompts to ensure consistent JSON output.