Hacker News · AI·· 12 h agoAI score58
Cmpnd releases SideQuestions, a DSPy optimizer that improves decision models with side questions
Show HN: A decision model optimizer that climbs by asking side questions
AI summary
Cmpnd released SideQuestions, an open-source DSPy optimizer that reviews a decision model's traces and adds yes/no side questions whose answers feed a small regression model to produce the final output. On a fake hotel review benchmark, the optimized program reached 80% accuracy versus 57% for the base program, at about twice the cost per call and 1.0 to 1.2 times the latency. The package requires Python 3.11 or later and DSPy 3.5, and installs via pip install dspy-side-questions.
Source:Hacker News · AI · github.com