News for hackers. Stuff that matters.
Re:We no longer use LangChain for building our AI agents by chatmasta on Thursday June 20, 2024 @08:49PM (#40745080)
It was the first pass at solving the common problems when building with LLMs. People jumped on it because it was trendy and popular.

But it quickly became obvious that LangChain would be better named LangSpaghetti.

That’s nothing against the authors. What are the chances the first attempt at solving a problem is successful? They should be commended for shipping quickly and raising money on top of it to keep iterating.

The mistake of LangChain is that they doubled down on the bad abstraction. They should have been iterating by exploring different approaches to solving the problem, not by adding even more complexity to their first attempt.

Re:We no longer use LangChain for building our AI agents by jhoechtl on Thursday June 20, 2024 @11:53PM (#40745989)
Doesn't langchain provide useful functionality when it comes to RAG? Here it seems it does considerably more but being a mere shim abstraction?
Re:We no longer use LangChain for building our AI agents by seanhunter on Friday June 21, 2024 @12:53AM (#40746258)
Not really. It's pretty much the same for RAG as it is for everything else - just a thin additional abstraction on top of apis that are easy to call on their own.
Re:We no longer use LangChain for building our AI agents by dongobread on Thursday June 20, 2024 @09:49PM (#40745397)
Langchain feels very much like shovelware that was created for the sole purpose of parting VCs of their money. At one point the codebase had a "prompt template" class that literally just called Python's f-string.
Re:We no longer use LangChain for building our AI agents by __loam on Friday June 21, 2024 @12:03AM (#40746031)
Good thing they didn't raise money to develop this piece of crap.

https://blog.langchain.dev/announcing-our-10m-seed-round-led...