Getting Started with ReAct AI agents work using langchain

Поделиться
HTML-код
  • Опубликовано: 14 апр 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/chrishayuk/how-rea...
  • НаукаНаука

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

  • @joebarhouch2742
    @joebarhouch2742 2 месяца назад +4

    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  2 месяца назад +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

  • @simon_greig
    @simon_greig 2 месяца назад +3

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

    • @chrishayuk
      @chrishayuk  2 месяца назад +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

  • @ruslankhomenko2586
    @ruslankhomenko2586 2 месяца назад +3

    the best video on the topic

    • @chrishayuk
      @chrishayuk  2 месяца назад

      very kind of you to say

  • @xiaoyuyang4017
    @xiaoyuyang4017 Месяц назад +1

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

    • @chrishayuk
      @chrishayuk  Месяц назад

      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

  • @nikolatanev3293
    @nikolatanev3293 2 месяца назад +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  2 месяца назад

      yeah, that's the actual trick

  • @sumandawnmobile
    @sumandawnmobile 2 месяца назад +1

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

  • @maizizhamdo
    @maizizhamdo 2 месяца назад +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  2 месяца назад +1

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

    • @maizizhamdo
      @maizizhamdo 2 месяца назад +1

      @@chrishayuk using ollama with langchain in place of openai

    • @chrishayuk
      @chrishayuk  2 месяца назад +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 2 месяца назад

      @@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"

  • @stanTrX
    @stanTrX Месяц назад +1

    Very good, very clear 👍

  • @matthewmolinar220
    @matthewmolinar220 Месяц назад

    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?

  • @IdPreferNot1
    @IdPreferNot1 2 месяца назад +1

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

    • @chrishayuk
      @chrishayuk  2 месяца назад +1

      Examples are in GitHub.com/chrishayuk

    • @chrishayuk
      @chrishayuk  2 месяца назад

      And super glad it was useful

  • @HistorIAsImposibles776AC
    @HistorIAsImposibles776AC 2 месяца назад +1

    Wooowowwwowo

  • @federicoottomano8619
    @federicoottomano8619 2 месяца назад +1

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

    • @chrishayuk
      @chrishayuk  2 месяца назад +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 2 месяца назад +1

      @@chrishayuk thanks Chris! Looking forward to it!

    • @chrishayuk
      @chrishayuk  2 месяца назад +2

      @@federicoottomano8619 and recorded