stanfordnlp / dspy

DSPy: The framework for programming—not prompting—language models
https://dspy.ai
MIT License
19.37k stars 1.47k forks source link

added deprecation warning #1575

Closed arnavsinghvi11 closed 1 month ago

okhat commented 1 month ago

Thanks @arnavsinghvi11 ! I think the notice should be directed at someone who is looking to build their own custom client. It should tell them that they probably don't need to if it's either supported in LiteLLM or if it has an OpenAI-compatible API endpoint. It should tell them to read the migration document. It should tell them that sub-classing dspy.LM (NOT dsp.LM as before) is also a good last resort.