Тёмный

Why I Stopped Using LangChain 

Debug with Lewis
Подписаться 2 тыс.
Просмотров 3,8 тыс.
50% 1

Опубликовано:

 

31 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
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 :)
@BhaswataChoudhury-e2e
@BhaswataChoudhury-e2e 5 месяцев назад
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
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
Again, no disrespect to LangChain! It just wasn't for me.
@SalihSevgican
@SalihSevgican 5 месяцев назад
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
@fantinigerman 5 месяцев назад
why not CrewAI?
@BhaswataChoudhury-e2e
@BhaswataChoudhury-e2e 5 месяцев назад
@@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
@danielpaurat1783
@danielpaurat1783 5 месяцев назад
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...".
@8eck
@8eck 5 месяцев назад
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.
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
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.
@jefersonlemos4135
@jefersonlemos4135 20 дней назад
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
@umair_thakur
@umair_thakur 5 месяцев назад
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.
@queerhjhj
@queerhjhj 3 месяца назад
I agree with what you’re saying completely, but there are some good modules in deep in there. It’s helpful in RAG for hot swapping vector dbs.
@WMCBTech
@WMCBTech 5 месяцев назад
I was considering langchain, but after reading the docs, it already felt confusing to use despite it had rag and everything, it just feels so weird
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
My assumption is that the hard parts about RAG isn't in the AI part, it's the data collection.
@meloth01
@meloth01 5 месяцев назад
@@DebugWithLewis and also how to retrieve the relevant information especially if you have thousands of documents
@cocoasulphur
@cocoasulphur 5 месяцев назад
_Okay Lewis but they have an epic logo, which is far more important than if they're actually useful_
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
You make an excellent point
@jokmenen_
@jokmenen_ 5 месяцев назад
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
@picklenickil
@picklenickil 5 месяцев назад
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.. 😂😂
@aalonsolopez
@aalonsolopez 5 месяцев назад
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.
@ndamu-soft
@ndamu-soft 4 месяца назад
"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
@alessiotucci0
@alessiotucci0 5 месяцев назад
hey lewis, on this challen I expected 4 api in 40 minutes instead of 40 apis in 4 mintis ❤
@nicdemai
@nicdemai 5 месяцев назад
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.
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
Agreed, I feel like it had such a good start and I think the developers are great. Just LangChain isn't something that works well for me.
@8eck
@8eck 5 месяцев назад
Agree on documentation thou.
@filipmihajlovic7779
@filipmihajlovic7779 5 месяцев назад
So relieved to hear something I was also experiencing but no one was talking about. Its just bad..
@Tarun-et3mx
@Tarun-et3mx 5 месяцев назад
I love how you get direct to the point ... BOLD.. but stop tryna make videos shorter for viewers.. you should take time to explain smthngs smtimes
@8eck
@8eck 5 месяцев назад
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.
@tayyabalee7252
@tayyabalee7252 5 месяцев назад
Subscribed 🎉
@HarryDaDevSecond
@HarryDaDevSecond 5 месяцев назад
Yo? What's good?
@utalmighty
@utalmighty 5 месяцев назад
Chewkz?
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
whats good
@MavVRX
@MavVRX 5 месяцев назад
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.
@naromsky
@naromsky 5 месяцев назад
I do, and I agree with Lewis.
@Kishan31468
@Kishan31468 5 месяцев назад
Ohh boy LCEL is too frustrating 😮‍💨.
@picklenickil
@picklenickil 5 месяцев назад
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..
@bixen1807
@bixen1807 5 месяцев назад
Second?
@andrew.derevo
@andrew.derevo 4 месяца назад
If you check langchain 2.0 you will change your mind about 1.x branch, 2.0 is a real pice of 💩😅
@kasvith
@kasvith 5 месяцев назад
Yp most of the time langchain sucks, specially when comes to openai functions and other stuff...
@utalmighty
@utalmighty 5 месяцев назад
Hey Lewis, am I first here?
@Cyteon
@Cyteon 5 месяцев назад
i was here when it was unlisted
@lightningdev1
@lightningdev1 5 месяцев назад
i was here before it was recorded
@Cyteon
@Cyteon 5 месяцев назад
@@lightningdev1 damn how?
@DebugWithLewis
@DebugWithLewis 5 месяцев назад
@@Cyteon I was here before RU-vid
@Cyteon
@Cyteon 5 месяцев назад
​@@DebugWithLewis while the video was unlisted it was in a public playlist 🎉 so I saw it early today 🎉🎉🎉
@EchoPrograms
@EchoPrograms 5 месяцев назад
Sub 1k!
Далее
Самое большое защитное стекло
00:43
You don't understand AI until you watch this
37:22
Просмотров 767 тыс.
Why is everyone suddenly neurodivergent?
23:25
Просмотров 1,9 млн
I Tried Every AI Coding Assistant
24:50
Просмотров 838 тыс.
Is OpenAI's Realtime API REALLY Worth the Hype?
8:14
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,2 млн
This CHANGED the Way I Use Databases (Atlas)
10:27
Просмотров 2,3 тыс.
How is THIS Coding Assistant FREE?
5:19
Просмотров 149 тыс.