Getting Started with ReAct AI agents work using langchain
Vložit
- čas přidán 22. 08. 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...
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!!
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
Awesome video Chris. Really clear and easy to follow. I also understand Langchain a lot more than I did 45 mins ago 🙂
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
the best video on the topic
very kind of you to say
Great explanation, great content. Keep doing a good work, your channel's worth much more reach and subs :)
very kind but I’m actually kinda cool with the reach
The most useful and informative video I saw on this topic. Appreciate❤
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
Tremendous explanation. Thank you so much Chris!
This is epic. You got a sub!
very kind
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.
yeah, that's the actual trick
"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!"
are you meaning as in finetuning your own model and getting it to run in ollama?
@@chrishayuk using ollama with langchain in place of openai
@@maizizhamdo yes that's part of the video of the video on using opensource models that i've prepared but yet to record.
@@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"
This is an amazing video Chris :) Thanks for the tutorial
thank you
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!
The less powerful models can loop. More guidance on the patterns usually fixes it
Very good, very clear 👍
Glad it was helpful!
Thank you Chris. Could you show us how to create a ReAct agent using langgrahp?
Excellent explanation as you go along. Providing a github would perfect it, thx!
Examples are in GitHub.com/chrishayuk
And super glad it was useful
Tremendous video. Thank you very much!
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?
I guess it is pretty straightforward using another (eventually open source) LLM instead of GPT, like LlaMa, in your examples?
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
@@chrishayuk thanks Chris! Looking forward to it!
@@federicoottomano8619 and recorded
Wooowowwwowo
lol