Session

Learn to Program Not Write Prompts with DSPy

Overview

ExperienceIn Person
TypeLightning Talk
TrackArtificial Intelligence
IndustryEnterprise Technology, Professional Services
TechnologiesMLFlow, DSPy, Mosaic AI
Skill LevelBeginner
Duration20 min

Writing prompts for our GenAI applications is long, tedious, and unmaintainable. A proper software development lifecycle requires proper testing and maintenance, something incredibly difficult to do on a block of text. Our current prompt engineering best practices have largely been manual trial and error, testing which of our prompts work well in certain situations. This process worsens as our prompts become more complex, adding multiple tasks and functionality within one long singular prompt.

 

Enter DSPy, your PROGRAMATIC way of building GenAI Applications. Learn how DSPy allows you to modularize your prompt into modules and enforce typing through signatures. Then, utilize state of the art algorithms to optimize the prompts and weights against your evaluation datasets, just like machine learning! We will compare DSPy to a restaurant to help illustrate and demo DSPy’s capabilities. It's time to start programming, rather than prompting, again!

Session Speakers

Austin Choi

/Delivery Solutions Architect
Databricks