Langchain is a spaghetti rabbit hole. In our consultancy, we've basically switched entirely to Haystack, and keep the abstractions fairly light, really only use it to give the pipelines some structure that applies across projects. Very easy to add custom components with pretty straightforward interfaces. The way you assemble the components isn't everyone's cup of tea (string references), but it does make it very easy…
LangChain Is a Black Box
11–20 of 31 posts
Re: LangChain Is a Black Box
#12Re: LangChain Is a Black Box
#13Last I checked Langchain was just basically a pile of helpers? There isn't really a coherent model of anything that's presented to the user, just some light wrappers around stuff. I played around for a bit, it was fine, but I opted to write my own helpers in the end. Did I miss out on some major developments there? Because I don't see why it's a thing that's being talked about everywhere, when it's barely anything.
https://venturebeat.com/ai/langchain-lands-25m-round-launche...
Re: LangChain Is a Black Box
#14Re: LangChain Is a Black Box
#15Re: LangChain Is a Black Box
#16Re: LangChain Is a Black Box
#17Re: LangChain Is a Black Box
#18We're moving our entire codebase away from Langchain and related products (langgraph, langsmith). I originally thought the library had potential and just needed some polishing which would come with time, but it's just been getting worse and worse. LCEL is the weirdest half-baked idea; it's a nice gimmick that makes your code impossible to debug in a step through debugger. Random stuff breaks with every other release.…
Are you replacing LangGraph with something else? I've luckily avoided LangChain exactly because it's a black box, but been on the lookout for some kind of DAG visualization of LLM flows. LangGraph pops up first on any related searches.
Re: LangChain Is a Black Box
#19It is indeed a terrible library on multiple levels. Get rid of it. Just use the "native" Python SDK for the LLMs you are using for your POC.