Re-implementing LangChain in 100 lines of code
blog.scottlogic.com
Re-implementing LangChain in 100 lines of code
1–10 of 85 posts
Re: Re-implementing LangChain in 100 lines of code
#2Still, I would like to understand $200 million valuation of langchain.ai.
Re: Re-implementing LangChain in 100 lines of code
#3Given that the company has $200 million valuation, that is $2 million per line of code! just kidding. Still, I would like to understand $200 million valuation of langchain.ai.
Re: Re-implementing LangChain in 100 lines of code
#4Re: Re-implementing LangChain in 100 lines of code
#5The magic in LangChain, though, is the ecosystem. I.e. they have integrations with tons of indexes, they have many tool implementations, etc. This is the real value of LangChain. The core ReAct loop is quite trivial (as this article demonstrates).
Re: Re-implementing LangChain in 100 lines of code
#6Re: Re-implementing LangChain in 100 lines of code
#7Re: Re-implementing LangChain in 100 lines of code
#8Am I the only one who is not convinced by the value proposition of langchain? 99% of it are interface definitions and implementations for external tools, most of which are super straightforward. I can write integrations for what my app needs in less than an hour myself, why bring in a heavily opinionated external framework? It kind of feels like the npm "left-pad" to me. Everyone just uses it because it seems popular…
Or just ask ChatGPT to do it...
Joking aside, I think 'npm "left-pad"' describes it perfectly.
Re: Re-implementing LangChain in 100 lines of code
#9Am I the only one who is not convinced by the value proposition of langchain? 99% of it are interface definitions and implementations for external tools, most of which are super straightforward. I can write integrations for what my app needs in less than an hour myself, why bring in a heavily opinionated external framework? It kind of feels like the npm "left-pad" to me. Everyone just uses it because it seems popular…
It's probably the best on-ramp for "practical uses of llms" because it scratches just the right developer itch.