Getting Started with ReAct AI agents work using langchain

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • How to create AI ReAct agents using Langchain. In this video chris breaks down exactly how Reasoning and Action (ReAct) agents work both by using the out of the box agent framework in Langchain and by building up the agents from scratch. By doing this we can see exactly how this works, step by step.
    At the end of this tutorial you'll understand how to use langchain, how ai agents work, how they use reasoning and actions, and how to build AI agents and custom tools for the agent. You will even be able to manually build your own agent
    Github is here:
    github.com/chr...

КОМЕНТАРІ • 41

  • @KhushalPS-n6b
    @KhushalPS-n6b Місяць тому +1

    Excellent explanation of the full ReAct mechanism. Many thanks 🙏

  • @joebarhouch2742
    @joebarhouch2742 5 місяців тому +5

    Thank you for providing such a clear explanation!!! No BS, no following the tutorials given in the documentation blatantly, but actually carefully crafted
    tutorial with explanation of what's going on. Hats off!!

    • @chrishayuk
      @chrishayuk  5 місяців тому +1

      Thank you, glad it was useful. Thanks for calling out “carefully crafted”. Most of the time is spent figuring out the narrative. Very kind of you

  • @debapriyadas5422
    @debapriyadas5422 7 днів тому

    This is by far the best explanation
    Thank a lot ❤

  • @xiaoyuyang4017
    @xiaoyuyang4017 3 місяці тому +1

    The most useful and informative video I saw on this topic. Appreciate❤

    • @chrishayuk
      @chrishayuk  3 місяці тому

      Very kind, I felt ReAct was a little magical, so thought it’d be good to show how it really works. Glad it was useful

  • @iliuqian
    @iliuqian Місяць тому

    Thank you Chris. Could you show us how to create a ReAct agent using langgrahp?

  • @srirammanda9697
    @srirammanda9697 2 місяці тому +1

    Thanks for making this video, wonderful explanation 👏
    I followed your step in my case the react agent going into loop and timeout.
    kindly let me know how to handle this case of looping.
    Thanks in Advance!

    • @chrishayuk
      @chrishayuk  2 місяці тому

      The less powerful models can loop. More guidance on the patterns usually fixes it

  • @QrzejProductions
    @QrzejProductions Місяць тому +1

    Great explanation, great content. Keep doing a good work, your channel's worth much more reach and subs :)

    • @chrishayuk
      @chrishayuk  Місяць тому

      very kind but I’m actually kinda cool with the reach

  • @matthewmolinar
    @matthewmolinar 4 місяці тому

    Hey man! Super helpful. Do you have any thoughts on how this can be useful for agents that need to create code and ensure it works?

  • @simon_greig
    @simon_greig 5 місяців тому +4

    Awesome video Chris. Really clear and easy to follow. I also understand Langchain a lot more than I did 45 mins ago 🙂

    • @chrishayuk
      @chrishayuk  5 місяців тому +1

      Thanks Simon, appreciate it. It wasn’t really meant to teach langchain originally, but it’s kinda hard to talk about the ReAct pattern without covering the basics of langchain. Glad it was useful

  • @arindam1
    @arindam1 Місяць тому +1

    This is epic. You got a sub!

  • @sunilsurendrasingh7736
    @sunilsurendrasingh7736 9 днів тому

    Superb video presentation where code is overlayed when you are presenting in background. Its so unique and cool. Wonder how did you do it .. great job. Cheers 👍👊

  • @ruslankhomenko2586
    @ruslankhomenko2586 4 місяці тому +3

    the best video on the topic

    • @chrishayuk
      @chrishayuk  4 місяці тому

      very kind of you to say

  • @nikolatanev3293
    @nikolatanev3293 5 місяців тому +1

    Thank you !!! A good video is when you have a take-away. Mine is the possibility to assign stop keywords, the only missing link on how actually React works in practice.

    • @chrishayuk
      @chrishayuk  4 місяці тому

      yeah, that's the actual trick

  • @sumandawnmobile
    @sumandawnmobile 5 місяців тому +1

    This is an amazing video Chris :) Thanks for the tutorial

  • @federicoottomano8619
    @federicoottomano8619 5 місяців тому +1

    I guess it is pretty straightforward using another (eventually open source) LLM instead of GPT, like LlaMa, in your examples?

    • @chrishayuk
      @chrishayuk  4 місяці тому +1

      i have a follow up video in the pipe on this very thing, i'm hoping to record this weekend, i prepped it a few weeks ago, it's actually a pretty interesting topic

    • @federicoottomano8619
      @federicoottomano8619 4 місяці тому +1

      @@chrishayuk thanks Chris! Looking forward to it!

    • @chrishayuk
      @chrishayuk  4 місяці тому +2

      @@federicoottomano8619 and recorded

  • @IdPreferNot1
    @IdPreferNot1 5 місяців тому +1

    Excellent explanation as you go along. Providing a github would perfect it, thx!

    • @chrishayuk
      @chrishayuk  5 місяців тому +1

      Examples are in GitHub.com/chrishayuk

    • @chrishayuk
      @chrishayuk  5 місяців тому

      And super glad it was useful

  • @tiympc
    @tiympc Місяць тому

    Tremendous explanation. Thank you so much Chris!

  • @maizizhamdo
    @maizizhamdo 4 місяці тому +1

    "Hey boss chris , I just wanted to say that your tutorial on creating an AI agent was super helpful and easy
    to follow! I'm not tech-savvy at all, but even I was able to understand the steps. Would you consider doing
    another tutorial using local OLLAMa models? That would be really cool and something I'd definitely want to learn
    more about. Thanks for sharing your knowledge with us!"

    • @chrishayuk
      @chrishayuk  4 місяці тому +1

      are you meaning as in finetuning your own model and getting it to run in ollama?

    • @maizizhamdo
      @maizizhamdo 4 місяці тому +1

      @@chrishayuk using ollama with langchain in place of openai

    • @chrishayuk
      @chrishayuk  4 місяці тому +1

      @@maizizhamdo yes that's part of the video of the video on using opensource models that i've prepared but yet to record.

    • @maizizhamdo
      @maizizhamdo 4 місяці тому

      @@chrishayuk "Ahaha, no worries! I'm glad you're planning on recording a video on using open-source models. Looking forward to
      seeing it when you're done recording! Thanks for the update"

  • @HistorIAsImposibles776AC
    @HistorIAsImposibles776AC 4 місяці тому +1

    Wooowowwwowo

  • @joseluisbeltramone599
    @joseluisbeltramone599 2 місяці тому

    Tremendous video. Thank you very much!

  • @stanTrX
    @stanTrX 4 місяці тому +1

    Very good, very clear 👍

    • @chrishayuk
      @chrishayuk  4 місяці тому +1

      Glad it was helpful!