Let me know what you think of this style of content! A lot of people wanted me to go more in depth with my stuff, so this is my way of trying to do so :)
I agree with certain things, and disagree with most. Documentation for langchain is aweful. LCEL and chains make no sense. Memory management is a headache. But what i love about langchain is thats its very easy to build and prototype agents and multi agentic workflows. It took me too much time to learn LCEL but once i got the hang of it, along with langgraph, langsmith, langchain is unbeatable
I absolutely agree, the comparisons that are given at the end of the video and the purpose of the langchain is completely different. There are tons of helper tool startups coming up to the world of llm. Many of them you can try and integrate in langchain very quickly. Also agreeing with the difficulties mentioned in the video however clearly the point of the langchain ecosystem is quite different, I think Lewis is missing that.
@@fantinigerman very little low level control. Good for existing apps and features but to define anything important, implement custom logic, functions, anything, very little customisability. For control freaks like me, I like implementing everything from scratch and langchain is a good platform
Man, your video really resonates with me. Ten layers of useless abstraction around a prompt augmenation like "...answer in json fomat, according to the following schema...".
Langchain is open source, you can always check the source code. No one is stopping you from doing that, to understand how it is working under the hood. Abstractions are good, if you know how they are working. So I encourage you to do so.
Of course! That's why I said it's no disrespect whatsoever. The abstractions mixed with the poor documentation is what made me not use it anymore. Other libraries make it easier.
I wish I would find that video earlier, it would have saved me at least a couple of days and then something that was a problem for me is about the fragility of the offered solutions, a gazilion ways of doing something just so that when you need to add something more to your project it will fail, which then leads to you wasting time on the things you just learned. If you are trying to develop incrementally, as usual, it can get really bad
I had the exact same points and was very concerned as I felt that this way of coding is very unnecessary but didn't have the guts to speak up thinking am I the only one who has such thoughts or may this thing is something way advance that I am not able to get so speaking up might make me sound stupid. Thanks for bringing this up.
I also hate that the api documentation is seperate from the documentation you showed. It took me months to find out it even existed because it is barely linked to from the 'main' docs. Gives me a headache
I have rarely returned for for a second comment but I have an interesting story to share.. One of my PMs was worried about our project reaching Xlines of code already? Even after using langchain.. Turns out it was because a team had USED langchain, that the codebase exploded.. and no cap.. she went on to replace so much stuff with ternaries, f string, and simple try, except finally.. and legit the code base was like 60% of what it was, and most commits looked like -xyz removed 45 lines of code- "optimized suboptimal code".. and I was legit lmao.. 😂😂
I enjoy more this kind of content which has more detail than a "understandable for all" content. Don't get mi wrong, your main content is super good too, but as a Engineer I found this more interesting.
"Lanchain is trying to teach you langchain..." I think for me this is the biggest let down of it all. when I use Langchain I always feel as if programming is regressing to old ways which is a shame because LLMs are supposed to be removing the budden of coding. I feel sad and awful for commenting badly about Lanchain becuase I think they had good intesions. But I keep thinking that they make things look way harder and complicated than they need to be with all the abstractions. And I agree with your sentiments towards the docs, having worked with native SDKs for OpenAI, Anthropic etc. It was never this 'complicated;, I think their problem was trying to do too much in one library, and now they cant stop due to compatibility considerations, its sad
I’d rather use the first party solutions or manually chug on the requests package. LangChain always felt like the tech bros jumping on the ai hype train. Which is different from the crypto bros ofc.
Dude, Langchain is not only about calling different LLM apis... It is about chains, hence the name tell is tall Lang-chain. You can place any logic in-between.
You ever use anything other than simple prompts? Agents, rag, function calling, tool calling? If not, then you don't need langchain. Don't bash something because you didn't take the time to understand it.
Same.. tried to use it 5 times, broke it 5 times in production. It's like what I call 'junior dev baity" vibes.. Edit: this content is so much fun... I'll help you shit on some more dumb techs lu.. Go for vector databases next... They can be replaced by sqllite and simple hashing.legot no cap... anecdotal but true agein.. calling yourself production ready don't make one.. production ready .. Then you can go on for the new "agentic" frameworks.. Stitching two llms half-heartedly and running semicooked daemon threads don't make you "intelligent".. (hello autogpt) .. or faking your vids (hello Devin).. I had to literally invent a language just to get a simple internal audit tool working with 3 instances of gpt4 working and then too half of the time it's blah!(According to auditors).. so no job replacements there .. at least.. one would think, auditors would be the first to get replaced because all they do is HUMAN RAG... And that came from top ISO 9001 auditor in Norway..