Deep Papers
Deep Papers
Arize AI
DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelines
33 minutes Posted Jul 23, 2024 at 11:00 pm.
0:00
33:57
Download MP3
Show notes
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 Assertions...