dspy icon indicating copy to clipboard operation
dspy copied to clipboard

`lm.py` does too much special casing based on `self.provider`

Open thomasahle opened this issue 11 months ago • 2 comments

dsp.modules.lm is nearly all special cases:

Screenshot 2024-03-20 at 4 06 54 PM Screenshot 2024-03-20 at 4 07 18 PM

We should think about how to move those decisions into the LM subclasses instead.

Maybe this is already happening in the backend refactor @KCaverly ?

thomasahle avatar Mar 20 '24 23:03 thomasahle