News for hackers. Stuff that matters.
Re:Re-implementing LangChain in 100 lines of code by okhat on Thursday May 04, 2023 @09:59PM (#35824459)
There’s always DSP for those who need a lightweight but powerful programming model — not a library of predefined prompts and integrations.

It’s a very different experience from the hand-holding of LangChain, but it packs reusable magic in generic constructs like annotate, compile, etc that work with arbitrary programs.

https://github.com/stanfordnlp/dsp/

Re:Re-implementing LangChain in 100 lines of code by barking_biscuit on Thursday May 04, 2023 @11:16PM (#35824831)
Didn't know about this. Looks promising!