LangChain Crash Course For Beginners | LangChain Tutorial

  Рет қаралды 233,714

codebasics

codebasics

Күн бұрын

LangChain is an open-source framework that allows you to build applications using LLMs (Large Language Models). In this crash course for LangChain, we are going to cover the following topics,
00:00 Introduction
00:22 What is Langchain?
04:38 Langchain installation and setup
06:28 LLMs, Prompt Templates
10:12 Chains
11:57 Simple Sequential Chain
15:30 Sequential Chain
18:00 Build Streamlit App
27:40 Agents
37:24 Memory
Link to the source code: codebasics.io/resources/langc...
Langchain tutorial playlist: • LangChain Tutorials Pl...
Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
Need help building software or data analytics/AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
🎥 Codebasics Hindi channel: / @codebasicshindi
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Dhaval's Personal Instagram: / dhavalsays
📸 Codebasics Instagram: / codebasicshub
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin (Personal): / dhavalsays
📝 Linkedin (Codebasics): / codebasics
🔗 Patreon: www.patreon.com/codebasics?fa...

Пікірлер: 245
@codebasics
@codebasics 10 ай бұрын
CLARIFICATION: OPENAI recently released openai functions that allows you to query external data source such as the database of your organization. In the initial slides i explained 3 reasona of using langchain out of which the first one is still valid (cost effectiveness ny using open source models such as hugging face bloom) but the other two reasons are something that can't be achieved using plain chat completion api but can be achieved using openai functions and future apis that they release. The summary of benefits of using langchain woule be as follows, 1) ability to plug in any type of model (openai gpt4 vs open source model such as hugging face bloom) 2) abstraction that makes development faster. E.g. prompt templates
@PubgSpeed-wl8yo
@PubgSpeed-wl8yo 5 ай бұрын
Haha bro, don't worry about showing the key, you can remove it after the end of the video tutorial, shoot with the key and don't worry.
Сағат бұрын
Hi! I'm watching this from Pitalito (Colombia 🇨🇴) while waiting my dinner 🍽️. Thanks for this learning material; it's great! Bye.
@The7MinuteLife
@The7MinuteLife 8 ай бұрын
Very helpful. I especially appreciated seeing the details and use cases you showed and explained. I am new to these concepts, so having you explain the basics is invaluable. For example, one of my favorite sections was understanding the concept of how LLMs combine “reasoning” and “knowledge.” And, having you then walk through the actual examples is what makes this video one of the best I have watched. Thanks so much!
@illiteratenerd
@illiteratenerd 2 ай бұрын
I've been watching tutorials from past 10 months and This is the best tutorial to understand some of the foundation concepts of how langchain works.
@HarshShah465
@HarshShah465 10 ай бұрын
Thank you dhaval for providing easily understandable content.Waiting eagerly for this series on end to end llm applications.
@abdulshaikh2401
@abdulshaikh2401 8 ай бұрын
probably the best video i've seen on langchain you presented this booming topic in a very easy and understanding way....Thankyou so much dude you just gained one sub! ❤
@AashishPrajapati-nr2ox
@AashishPrajapati-nr2ox 2 ай бұрын
I didnot expect to learn about so many different things in addition to langchain. Thank you.
@mattsavage3258
@mattsavage3258 8 ай бұрын
Excellent video! I'm a longtime software developer, but found this useful as an intro to langchain. Thank you!
@eyadaiman1559
@eyadaiman1559 11 ай бұрын
Sir you are my hero thank u so much I have improved a lot in deep learning and you are one of the reasons I trully don't know how to thank u, you are literally a legend
@wong4359
@wong4359 8 ай бұрын
I've spent two days poring over the langchain docs without much clarity. However, your video provided the insights I was seeking and greatly enhanced my understanding. Thank you for the invaluable content!
@WanderWarick
@WanderWarick 3 ай бұрын
So, to be honest its one of the best video on llm i have came across . even with little or no knowledge of nlp or dl i have understood the topic explained by u.. thnk u so much Dhaval sir for making these helpful videos that too free of cost
@agerman77
@agerman77 6 ай бұрын
Impressive course. You are an extremely wonderful instructor.
@abhirupdas808
@abhirupdas808 10 ай бұрын
As usual, HIGH quality lecture.❤
@SamirPatel-dv8xm
@SamirPatel-dv8xm 6 ай бұрын
Good Job Dhaval, you made life easy for many Sr Software Eng. Keep it Up.
@dileepb5181
@dileepb5181 9 ай бұрын
Loved the explanation. Thank you for taking time to make such informative videos.
@user-wj6gd6kq6e
@user-wj6gd6kq6e 2 ай бұрын
You made my day, the way you demonstrated is mind blowing
@vijay_khanna
@vijay_khanna 10 ай бұрын
Respected Dhaval Sir, This is one of the best training content i have seen. Your efforts (especially the Hindi courses) are accelerating India's pace to become a developed nation. Hats off to your Enthusiasm, and Commitment.
@codebasics
@codebasics 8 ай бұрын
I am adding more videos in this langchain series (including end to end industry projects). Check this playlist: kzbin.info/aero/PLeo1K3hjS3uu0N_0W6giDXzZIcB07Ng_F
@leamon9024
@leamon9024 7 ай бұрын
Thanks man. Looking forward to the introduction about agent in the future videos.
@EduljiBharucha
@EduljiBharucha 9 ай бұрын
Excellent tutorial! You sir were born to be an educator. I have watched a few tutorials on this topic. IMO this ~45m video trumps all of them. Thank you.
@codebasics
@codebasics 9 ай бұрын
Glad you enjoyed it! 👍
@chongdashu
@chongdashu 2 ай бұрын
Thanks so much for this. I've made an updated version following along this course and also tried using an alternative framework (Gradio) for the front end app.
@saranyanedumaran57
@saranyanedumaran57 8 ай бұрын
Great explanation to understand the concepts easily. Thank you
@lalofuentes3381
@lalofuentes3381 7 ай бұрын
Best tutorial about building apps using AI models I have found on KZbin!! I'm looking for a framework/tools that allow me to build my own specialized model and Langchain is probably the tool I need. There are still a lot of questions to answer, I wonder if I could use the Google AI API instead of the ChatGPT?? or how I could include my own knowledge and reasoning ?? I hope I can find the answers in your videos. Thank you very much for your work!!!
@rohitpolasani7821
@rohitpolasani7821 11 ай бұрын
This is what i have been waiting for . please make more tutorials on langchain
@codebasics
@codebasics 11 ай бұрын
yes more tutorials including end to end projects on langchain and openai api are coming up! stay tuned!
@dinispaes
@dinispaes 7 ай бұрын
Great introduction video. Really good work. Thanks!
@balrajvishnu
@balrajvishnu 8 ай бұрын
Enjoyed the entire training throughly
@ralf.s
@ralf.s 10 ай бұрын
Excellent introduction, thank you!
@sakshambhardwaj_dance
@sakshambhardwaj_dance 16 күн бұрын
This video is so good. Very informative. Thank you.
@rashmikiranpandit3411
@rashmikiranpandit3411 7 ай бұрын
This really helped get me clear understanding amidst all the jargon on the web! Thanks!
@codebasics
@codebasics 7 ай бұрын
Yay! That's awesome to hear! 😄
@atchutram9894
@atchutram9894 8 ай бұрын
Well done brother. You made it easy.
@tarasankarbanerjee
@tarasankarbanerjee 6 ай бұрын
Liked it a lot!! LangChain mystery unveiled!! 😊.. I'll definitely like to come back for more contents like this..
@kunalmehta4051
@kunalmehta4051 Ай бұрын
Superb explanation, made it as simple as possible
@user-ht9zz9do9z
@user-ht9zz9do9z 7 ай бұрын
Your explanation is so good. Please do the videos on Langchain models like Langflow and Flowise. It will be very helpful.
@maheshk4071
@maheshk4071 9 ай бұрын
Hi Dhaval Sir, The more i see your videos the more i like the way you teach. You make so easy to understand. And yes as you say i will not only see your videos but also do practice with it. Thank you vey much
@codebasics
@codebasics 8 ай бұрын
Good luck mahesh for your leaning journey 👍🏼
@shivrajpatil791
@shivrajpatil791 10 ай бұрын
How can someone be so good at explaining??... Hatsoff sir...🙌🙌
@codebasics
@codebasics 8 ай бұрын
Thanks. I am adding more videos (including end to end projects) for this series, check this list: kzbin.info/aero/PLeo1K3hjS3uu0N_0W6giDXzZIcB07Ng_F.
@BiranchiNarayanNayak
@BiranchiNarayanNayak 10 ай бұрын
Excellent tutorial, very well explained in step by step manner. I love it.
@codebasics
@codebasics 10 ай бұрын
Glad it was helpful!
@nareshkumarsiriveri3458
@nareshkumarsiriveri3458 10 ай бұрын
Excellent one. got a basic idea how to proceed with my AI project.
@pythonantole9892
@pythonantole9892 6 ай бұрын
Best intro i have seen so far.
@herval
@herval 7 ай бұрын
Great intro 👍 thanks for putting this together
@sidharthpadhi2368
@sidharthpadhi2368 11 ай бұрын
Very Informative Session , I code along with you and learned a lot about langchain and LLM . bring more videos on how to connect with databases, other data sources so it can be more beneficial.
@codebasics
@codebasics 11 ай бұрын
Thanks, will do!
@quantumvideo3744
@quantumvideo3744 11 ай бұрын
@@codebasics hi i am using free model from hugging face how i link the pervious reponse for ask it like chatgpt to expand it ?
@lucianomeireles2451
@lucianomeireles2451 8 ай бұрын
excellent!! great work, thanks for sharing
@Bohongtw
@Bohongtw 4 ай бұрын
I ve been searching for a good intro video that explains langchain and explains why it matters with examples, I really appreciated your explanation, thank you for spending time to organize all this work for free.
@monicanalawade3106
@monicanalawade3106 8 ай бұрын
Excellent. Waiting for more such video
@anfernychen3776
@anfernychen3776 10 ай бұрын
Can't wait to see the next one on LangChain!
@oshodikolapo2159
@oshodikolapo2159 11 ай бұрын
Thank you for this. Very helpful!
@arunr2265
@arunr2265 11 ай бұрын
As usual Dhaval rocks. Can't explain this better and clear
@codebasics
@codebasics 11 ай бұрын
🙏🏼🙏🏼🙏🏼
@mohamedmoftah9602
@mohamedmoftah9602 9 ай бұрын
Thank you very much . Clear idea , Good explanation , code attached in the description Really excelent
@codebasics
@codebasics 8 ай бұрын
Happy you found this useful.
@nintishia
@nintishia 8 ай бұрын
Excellent tutorial. Thanks.
@vishalharne7674
@vishalharne7674 8 ай бұрын
you always put a lot of effort to taught something new which put us on mission to learn more thanks Dhaval sir
@nirikshatk3150
@nirikshatk3150 17 күн бұрын
A great great video, thank you so much !!
@jahangirkhan3747
@jahangirkhan3747 11 ай бұрын
As usual a great tutorial sir 👍 . Eagerly waiting for your data science paid course sir. It would be really helpful if you could let us know when you are going to launch the paid course for date science ❤❤❤
@satyamedicherla3236
@satyamedicherla3236 3 ай бұрын
Very clear! Thank you.
@abdalrahmanalielnashar4414
@abdalrahmanalielnashar4414 6 ай бұрын
Thank you sir for this awesome tutorial 😊
@gw1284
@gw1284 7 ай бұрын
very good tutorial on langchain with clear explanation and simple use-case, Thank you!
@codebasics
@codebasics 7 ай бұрын
Glad you liked it ! 😊
@rarindam
@rarindam Ай бұрын
Excellent video.
@ANILKUKRETI
@ANILKUKRETI 10 ай бұрын
Bro you have explained it very well. Shared this video with my friends also they are also liking it . That Restaurant example can relate it to zomato / swiggy. Keep it up.
@codebasics
@codebasics 10 ай бұрын
👍😊
@techpentagon1014
@techpentagon1014 10 ай бұрын
Best tutorial video on langchain
@prasadjayanti
@prasadjayanti 5 ай бұрын
Watching second time just to check few items I missed in first watching. The video is important, simple & easy to follow 👏
@sergioballesteros8418
@sergioballesteros8418 9 күн бұрын
Thanks for sharing this knowledge
@Deepakkumar-kr2fk
@Deepakkumar-kr2fk 9 ай бұрын
Thank you so much it helped me a lot and learned a lot from this.
@codebasics
@codebasics 9 ай бұрын
👍👍
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc 7 ай бұрын
Excellent detailed information thanks
@soitsmeagainwhyyougottabel2042
@soitsmeagainwhyyougottabel2042 8 ай бұрын
Super video thank you, I subscribed !
@arunimachakraborty1175
@arunimachakraborty1175 7 ай бұрын
Thanks a lot sir. You made it so easy!
@codebasics
@codebasics 7 ай бұрын
Glad you liked it ! 😊
@VikramSai.
@VikramSai. 9 ай бұрын
Thanks a lot sir.. very detailed explanation.
@souhailDevv
@souhailDevv 3 күн бұрын
thanks sir, very good tutorial
@sathishksuresh9460
@sathishksuresh9460 11 ай бұрын
Awesome video brother 🎉
@123ankit321
@123ankit321 11 ай бұрын
Can't wait for more !!
@siddhumyl
@siddhumyl 9 ай бұрын
Thanks a lot for the wonderful tutorial
@QaAutomationAlchemist
@QaAutomationAlchemist 10 ай бұрын
Thanks a lot and very clear explanations
@SaketKumar-wy1wb
@SaketKumar-wy1wb 7 ай бұрын
It was really wonderful, detailed, and I'm thankful for this. I'd like to understand how could we handle rate limit, as in more frequent requests start giving errors like 'Too many requests' or RateLimitError. Please let me know any advices or suggestions!
@oxytic
@oxytic 11 ай бұрын
I have been watching the your video last 4 years. All python and ML tutorial are great and comprehensive. Make video on How to create custom autonomous angent using Langchai like SalesGPT. Please kindly do the needful
@ifasal7449
@ifasal7449 9 ай бұрын
Thank you so much Dhaval Sir
@stevesamson102
@stevesamson102 10 ай бұрын
Good Explanation. Liked it.
@phoenix-risez
@phoenix-risez 10 ай бұрын
Very good info. Thank you so much for sharing!
@codebasics
@codebasics 10 ай бұрын
👍🙏🙏
@LordYodel
@LordYodel 6 ай бұрын
Thank you so much. I am a bloody beginner, love your content. Do you perhaps have a beginner tutorial, that would show step by step a way to connect OpenAI with a mySql database. And feed that database with your personal data, thoughts, believes, favorite food, etc. perhaps with some categories, etc. It would be super interesting to learn how to feed and setup the Database with personal information and then connect it with the open AI LLM. Thank you so much, love your content! Keep rocking! 🙏🙏🙏
@codebasics
@codebasics 6 ай бұрын
I recently made end to end video on LLM interacting with sql database. Please check the last few videos on my channel. It has a title LLM project for retail industry
@theq18
@theq18 10 ай бұрын
Great introduction to langchains 👍
@user-uj2iq7rc3p
@user-uj2iq7rc3p 5 ай бұрын
There is no initial free access to OpenAI API any more. Initial $5 free access is discontinued. Minor point but wrth noting
@kishore961
@kishore961 4 ай бұрын
I used my visa debit card and loaded 5$ to complete this tutorial
@jayshreeram6684
@jayshreeram6684 14 күн бұрын
Just use GooglePalm instead of openai it's free and best
@arpitak20
@arpitak20 3 күн бұрын
Great video
@phatdangx
@phatdangx 9 ай бұрын
Thank you for your video, great explanation!
@codebasics
@codebasics 8 ай бұрын
Glad it was helpful!
@pyclassy
@pyclassy 11 ай бұрын
Thats great video. Any suggestion how we can perform using huggingface and train LLM's on custom data and perform QnA?
@upskillwithchetan
@upskillwithchetan 10 ай бұрын
Awesome 🎉 Dhavalbhai ❤
@shikharawat8096
@shikharawat8096 8 ай бұрын
This is so good sir . Thankyou sir
@techuser876
@techuser876 6 ай бұрын
Thank you. Appreciate it.
@anutpat
@anutpat 10 ай бұрын
Excellent !!!
@rodfarm3980
@rodfarm3980 6 ай бұрын
thanks for this video!
@robin_zhang
@robin_zhang 10 ай бұрын
your video's quality is so good, which camera are you use?
@zunaidqureshi8521
@zunaidqureshi8521 10 ай бұрын
You are the Real Gem Dhaval Sir, I appreciate your effort and thanks for giving us this valualbe content. 💎
@codebasics
@codebasics 10 ай бұрын
Zunaid, glad you liked it
@AlonAvramson
@AlonAvramson 6 ай бұрын
Thank you!
@user-jq1ps4jv9z
@user-jq1ps4jv9z 28 күн бұрын
best explanation
@karunakarsarabu
@karunakarsarabu 26 күн бұрын
Your video is awesome. direct code and simple practical oriented approach. i am a novice in ai. but iam able to understand clearly. god bless u for giving these valuable videos free. i got the confidence that this is the tool for me and i can be become a ai engineer by practice( a lot). can i have a course from u for a cost and any help when i struck up. i want to teach others these topics .
@drjones694
@drjones694 9 ай бұрын
Really good video and intro
@karimgamal1208
@karimgamal1208 6 ай бұрын
Thank you so much
@MirGlobalAcademy
@MirGlobalAcademy 7 ай бұрын
thank you so much
@ketanverma7839
@ketanverma7839 6 ай бұрын
the agents tools that you talked about like google tool, wikepedia tool are they included in gpt 3.5 or only in gpt 4 ?
@kotadichinnaiah4811
@kotadichinnaiah4811 11 ай бұрын
This video is wonderful sir and give more knowledge. i have one query: The LLM buffer can be used as edge computing ? Why because in driverless car if we are using edge computing then we get low latency for getting response
@rangav8638
@rangav8638 9 ай бұрын
Excellent tutorial! How do u make it use both the regular LLM answering as well as Agent. Once u loaded the tools and created agentexecutor, it’s only going to answer the prompt using tools, isn’t it?
@wastethesweat
@wastethesweat 8 ай бұрын
Super helpful
@reshmis1
@reshmis1 6 ай бұрын
Thanks for this video. St.write() is not working properly from VS code. Any suggestion to correct it.
@user-wd6cd4rj6t
@user-wd6cd4rj6t 9 ай бұрын
Really great one!, when I was trying this example I got error like please check your plan and billing details. Please help me in solving this
@zunaidqureshi8521
@zunaidqureshi8521 9 ай бұрын
sir please continue this series, I''m eagerly waiting for it.
@codebasics
@codebasics 9 ай бұрын
Yes more videos are coming up
@rahulkamboj4603
@rahulkamboj4603 11 ай бұрын
The real OG. 👍🏻
Gen AI Course | Gen AI Tutorial For Beginners
3:19:26
codebasics
Рет қаралды 120 М.
КАК СПРЯТАТЬ КОНФЕТЫ
00:59
123 GO! Shorts Russian
Рет қаралды 2,8 МЛН
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
Super sport🤯
00:15
Lexa_Merin
Рет қаралды 20 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 118 #shorts
00:30
What is LangChain?
8:08
IBM Technology
Рет қаралды 129 М.
RAG for LLMs explained in 3 minutes
3:15
Manny Bernabe
Рет қаралды 13 М.
CrewAI Tutorial: Complete Crash Course for Beginners
1:05:43
codewithbrandon
Рет қаралды 132 М.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,3 МЛН
LangChain Explained in 13 Minutes | QuickStart Tutorial for Beginners
12:44
Prompt Engineering Tutorial - Master ChatGPT and LLM Responses
41:36
freeCodeCamp.org
Рет қаралды 1,3 МЛН
Vector Database Explained | What is Vector Database?
6:52
codebasics
Рет қаралды 60 М.
КАК СПРЯТАТЬ КОНФЕТЫ
00:59
123 GO! Shorts Russian
Рет қаралды 2,8 МЛН