Why I actually HATE LangChain (and why I love LangGraph)

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 22

  • @johannes-johannsen
    @johannes-johannsen 18 дней назад +2

    very nice -- that translation from LCEL to LangGraph makes it really clear what LCEL is doing. I'm never quite sure what data is passed over that LCEL pipe character. With the langgraph example, it's obvious what is passed, it's right there in the node.

  • @JoergSky
    @JoergSky 19 дней назад +4

    The testing aspect is huge! Thanks for pointing this out, really useful :-)

  • @vijaysgill
    @vijaysgill 5 дней назад

    Thank you so much!
    Watched this video today and I am a new convert!
    I am not turning my back on langgraph now. I love the clear code.
    langchain => POC stuff only.
    langgraph => everything beyond POC.

  • @yazanrisheh5127
    @yazanrisheh5127 18 дней назад

    Do you use FAISS for production as your vector store or what do you use and based on how do you use it? One of the things I'm working on right now which I am sort of consfused on how to approach it is role based.
    1) split each user based on email
    2) Each user will have a role
    3) Each role will have list of documents to do RAG on
    4) Specific roles will be able to delete or add documents from specific roles such as CEO can remove a doc for the Intern Role
    5) Specific roles can add/remove roles but the documents do not get deleted. Just that the role doesn't exist anymore

  • @marckeelingiv9405
    @marckeelingiv9405 17 дней назад +1

    I don't see this notebook committed to the repo yet. just going to Rewind and FastForward a lot for now.

    • @codingcrashcourses8533
      @codingcrashcourses8533  16 дней назад +1

      sorry it seems i lost it somewhere in the process. I was not able to find it somewhere :(

  • @alsonyang230
    @alsonyang230 19 дней назад +2

    The gold question is, do I need to learn LangChain first before learning LangGraph tho? Will I miss anything by directly jumping onto LangGraph?

    • @codingcrashcourses8533
      @codingcrashcourses8533  19 дней назад +1

      You probably should learn LangChain first. Without that knowledge, you can not build LLM based apps.

    • @alsonyang230
      @alsonyang230 19 дней назад +1

      @@codingcrashcourses8533 Thanks for the tips. Can you please elaborate what kind of knowledge are you referring to? Is it the LangChain Ecosystem knowledge or the general LLM App knowledge? I got a decent understanding of general LLM App knowledge like RAG, vector Store, Flow engineering etc, but dont have much LangChain Ecosystem knowledge. Do I still need to learn LangChain first?

    • @codingcrashcourses8533
      @codingcrashcourses8533  19 дней назад +2

      @@alsonyang230 No, you can use any other library or framework too. There is no "have to", but these frameworks bring their own ideas which you might like or dislike. I can´t say "do this, 100%"

  • @sempercrescere6274
    @sempercrescere6274 19 дней назад +1

    Great video as always, thanks a lot! Could you please upload the notebook? I took a look at the repository and I think this latest notebook is not there yet...

  • @saurabhjain507
    @saurabhjain507 19 дней назад

    Same thoughts on langchain now. When I was a beginner, I used Langchain because of strick timeliness of the deliverables and lc made it quite easy to do things. Now I just want to get rid of langchain and implement using the LLM api available.

    • @codingcrashcourses8533
      @codingcrashcourses8533  19 дней назад +1

      Yes, like I said some of the abstraction is awesome. Retrievers, templates, Chat classes - all great. But LCEL for complex workflows. Hello no!

    • @tombuckley91
      @tombuckley91 19 дней назад

      @@codingcrashcourses8533just working through your RAG Udemy course, my main ambition is more complicated production environments, what do you recommend in place of Langchain/Langraph?

  • @hassanjaved4091
    @hassanjaved4091 18 дней назад

    This found me at just the right time. Day 3 of sitting down with langchain and absolutely hate the inconsistency, verbosity and lack of standardized documentation. Above all the breaking changes, every other release. LangGraph is shit as well. Haystack seems way better though and will probably catch up with langchain in features soon.

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 19 дней назад

    How about Swarm AI in comparison?

  • @micbab-vg2mu
    @micbab-vg2mu 19 дней назад

    I try to keep things simple; I do not use LangChain.