Deep Papers
Deep Papers
Arize AI
Jul 23, 2024 · 33 min

DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelines

MP3
Chaining language model (LM) calls as composable modules is fueling a new way of programming, but ensuring LMs adhere to important constraints requires heuristic “prompt engineering.” The paper this week introduces LM Assertions, a programming construct for expressing computational constraints that LMs should satisfy. The researchers integrated their constructs into the recent DSPy programming model for LMs and present new strategies that allow DSPy to compile programs with LM Assertio...

This podcast uses Buzzsprout for stats. What this means Episodes play from the podcast's own servers, unmodified. Not affiliated with Podbay.