Langchain Is Pointless
old.reddit.com
Langchain Is Pointless
1–10 of 192 posts
Re: Langchain Is Pointless
#2Re: Langchain Is Pointless
#3Sure, langchain has poor documentation and useless helper functions. That doesn't mean that it's pointless.
Re: Langchain Is Pointless
#4Re: Langchain Is Pointless
#5We need a lot of pluggability to support diff vendor LLMs and BYO LLMs in Louie.ai, so having langchain has been nice for helping code to interfaces vs vendor lockin. It definitely has growing pains - ex: sync & multithreading is important for us so we are generally coding around langchain while that smooths out. Likewise, we ended up building much of our conversational and multitool capabilities as custom libraries vs using theirs for similar quality reasons. We can't use any of the codegen capabilities because they are massive security holes so doing our own work there too.
If anyone is into that kind of work (backend, AI & web infra, ...), definitely hiring for core platform & cool customer projects here: louie.ai / Graphistry.com/careers
Re: Langchain Is Pointless
#61. Newbies that want to play with LLMs don’t know where to start or what the major building blocks even are. Despite the complaints here about documentation their getting started docs will walk you through the concepts. Going from total ignorance and confusion to now having a rough understanding of loading a prompt with chat history, using an embeddings database, calling a completions endpoint, etc. will make people feel accomplished. And then lang chain has earned some loyalty just because they were there for you first.
2. In the case that you don’t know which embedding db, AI host, or model you want to use you can quickly swap those in and out and measure the results. That means there’s little reason to complicate your back end code with lang chain (I’ve always just written my own abstraction layer to make this possible with very few lines of code). But for a python notebook it can make sense.
Re: Langchain Is Pointless
#7OpenAI's NPM is much easier to use. A lot of what langchain promised out of the box didn't work like caching. Anyways it's still beta i believe
Re: Langchain Is Pointless
#8Re: Langchain Is Pointless
#9Re: Langchain Is Pointless
#10It's easy to hate on langchain. Sure, the architecture isn't the best but it's where the crowd is so it's a safe bet