News for hackers. Stuff that matters.
Re:Re-implementing LangChain in 100 lines of code by nestorD on Friday May 05, 2023 @01:46AM (#35825624)
For me Langchain is glue code between a lot of commonly used LLM building blocks and prompts.

It is great to get a prototype 80% of the way there fast in order to validate an idea or run something short lived.

I suspect that, if you want to go further (simpler code, better control message length, reliability, etc), you will be better served by implementing the functionality you need yourself.

Re:Re-implementing LangChain in 100 lines of code by crazyedgar on Friday May 05, 2023 @01:48AM (#35825628)
There's no suspicion. Our experience shows that for the remaining 20% of work, LangChain actually gets in the way and must eventually be removed.