from Hacker News

Hacking LangChain for fun and profit

by oldgun on 7/10/23, 5:37 PM with 24 comments

  • by collinc777 on 7/11/23, 10:30 PM

    There's a pretty steep learning curve to langchain. I recommend avoiding it if you don't need higher level of abstractions.
  • by yujian on 7/11/23, 9:59 PM

    Great conceptual explanation of the different primitives in LangChain. Some possible inspiration for your upcoming piece involving vector stores with LangChain - https://milvus.io/blog/conversational-memory-in-langchain.md
  • by fallingmeat on 7/11/23, 10:05 PM

    still not sure of the value of the langchain abstraction. does anyone use it in prod?
  • by flakiness on 7/12/23, 3:33 AM

    Although LangChain might not be great as a library/framework, it still could be a great starting point to learn about programming pattern for prompt/actor programming.

    They used to have a "concepts" page that links to relevant papers but it seems that the page is gone from the doc for some reason :-(

  • by tehsauce on 7/11/23, 10:57 PM

    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!