Hacker News new | ask | show | jobs
by tehsauce 1075 days ago
I’ll save yall some time. If you are familiar with concatenating strings in python, langchain is a library which does just that, only a little less cleanly. Hope this helps!
4 comments

"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

"Don't be snarky."

https://news.ycombinator.com/newsguidelines.html

That's a bit cynical. It does many other thing as well. For example, it exposes simple re-usable modules, also known as "functions" in Python. Sometimes it also uses Python "lists" by wrapping them into... classes.
> Sometimes it also uses Python "lists" by wrapping them into... classes.

Class incomprehension is the defining feature of LangChain!

I noticed there is a lot of negativity against langchain on HN. Is it because it's very popular? For example deeplearning.ai has courses on LangChain. You think someone like Andrew Ng will stand behind an overhyped tech?
It's worth cribbing ideas from. But most of what it does is simple enough and wrapped in enough abstraction that it's often easier to just take those ideas and apply them to your own code vs. using LangChain itself.
It inflates its promises and then grossly under delivers.
It’s only value is abstractions and it gets these wrong. That said I’m not against it and I hope it improves.
Do you have any thoughts on what the right abstractions are? Asking for a friend.
Absolutely Andrew NG would make questionable decisions imo. I was shocked to see him teach his classes with Matlab year over year when everyone and their mother was proficient in python.
Oh weird, I thought its basic concept was embezzling VC funding?