DSPy seems to be a capable but complex ai system that feels under the radar (considering the problem it aims to solve). it’d be interesting and relevant for me to know what it is and try it out, since my terminus is building on-device ai systems.
steps to build a new system with dspy:
- define my task: what are the inputs and outputs?
- define initial program. start simple
- what is a “program” in dspy?
- define 20-30 i/o examples and try program
- define one or few initial metric and run zero-shot evals
- compile with a dspy optimizer
- use (or transform) existing datasets to match your task
- iterate!