DSPy Nodes for ComfyUI.
For a finished product, consider using Langwatch. It offers DSPy LLM program optimization, has tons of features and a great UI. After seeing it, I decided to stop working on dspy_nodes.
This is an attempt to make all DSPy features available in ComfyUI. Using an UI to devlop DSPy programs should be way faster since it makes it easier to see what is happening and allows to quickly iterate on the DSPy program structure.
Clone this repository into your ComfyUI custom_nodes
folder.
git clone https://github.com/tom-doerr/dspy_nodes.git
You can add DSPy nodes by doing <right click>
-> Add Node
-> DSPy
-> Node Name
Feel free to open an issue if you have any questions or suggestions or contact me:
E-mail: tomdoerr96@gmail.com
Twitter: @tom_doerr