LangChain Crash Course For Beginners | LangChain Tutorial

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • 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...

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

  • @codebasics
    @codebasics  10 месяцев назад +34

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

      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.

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

  • @The7MinuteLife
    @The7MinuteLife 9 месяцев назад +6

    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!

  • @mattsavage3258
    @mattsavage3258 9 месяцев назад +1

    Excellent video! I'm a longtime software developer, but found this useful as an intro to langchain. Thank you!

  • @eyadaiman1559
    @eyadaiman1559 11 месяцев назад +4

    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

  • @AashishPrajapati-nr2ox
    @AashishPrajapati-nr2ox 3 месяца назад

    I didnot expect to learn about so many different things in addition to langchain. Thank you.

  • @HarshShah465
    @HarshShah465 10 месяцев назад +2

    Thank you dhaval for providing easily understandable content.Waiting eagerly for this series on end to end llm applications.

  • @abdulshaikh2401
    @abdulshaikh2401 9 месяцев назад

    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! ❤

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

  • @vijay_khanna
    @vijay_khanna 11 месяцев назад +22

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

      I am adding more videos in this langchain series (including end to end industry projects). Check this playlist: ruclips.net/p/PLeo1K3hjS3uu0N_0W6giDXzZIcB07Ng_F

  • @wong4359
    @wong4359 9 месяцев назад +2

    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!

  • @shaktisingh8217
    @shaktisingh8217 7 дней назад

    Very helpful. You explained everything smoothly, making it easy to understand. Thanks!

  • @agerman77
    @agerman77 7 месяцев назад +1

    Impressive course. You are an extremely wonderful instructor.

  • @user-wj6gd6kq6e
    @user-wj6gd6kq6e 3 месяца назад +1

    You made my day, the way you demonstrated is mind blowing

  • @chongdashu
    @chongdashu 3 месяца назад

    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.

  • @SamirPatel-dv8xm
    @SamirPatel-dv8xm 7 месяцев назад +1

    Good Job Dhaval,
    you made life easy for many Sr Software Eng.
    Keep it Up.

  • @dileepb5181
    @dileepb5181 10 месяцев назад

    Loved the explanation. Thank you for taking time to make such informative videos.

  • @EduljiBharucha
    @EduljiBharucha 10 месяцев назад

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

      Glad you enjoyed it! 👍

  • @leamon9024
    @leamon9024 8 месяцев назад

    Thanks man. Looking forward to the introduction about agent in the future videos.

  • @abhirupdas808
    @abhirupdas808 10 месяцев назад +2

    As usual, HIGH quality lecture.❤

  • @lalofuentes3381
    @lalofuentes3381 8 месяцев назад

    Best tutorial about building apps using AI models I have found on RUclips!! 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!!!

  •  19 дней назад

    Hi! I'm watching this from Pitalito (Colombia 🇨🇴) while waiting my dinner 🍽️. Thanks for this learning material; it's great! Bye.

  • @saranyanedumaran57
    @saranyanedumaran57 8 месяцев назад

    Great explanation to understand the concepts easily. Thank you

  • @balrajvishnu
    @balrajvishnu 9 месяцев назад

    Enjoyed the entire training throughly

  • @user-ht9zz9do9z
    @user-ht9zz9do9z 8 месяцев назад +1

    Your explanation is so good. Please do the videos on Langchain models like Langflow and Flowise. It will be very helpful.

  • @tarasankarbanerjee
    @tarasankarbanerjee 7 месяцев назад

    Liked it a lot!! LangChain mystery unveiled!! 😊.. I'll definitely like to come back for more contents like this..

  • @rohitpolasani7821
    @rohitpolasani7821 11 месяцев назад +3

    This is what i have been waiting for . please make more tutorials on langchain

    • @codebasics
      @codebasics  11 месяцев назад +2

      yes more tutorials including end to end projects on langchain and openai api are coming up! stay tuned!

  • @dinispaes
    @dinispaes 8 месяцев назад

    Great introduction video. Really good work. Thanks!

  • @rashmikiranpandit3411
    @rashmikiranpandit3411 7 месяцев назад

    This really helped get me clear understanding amidst all the jargon on the web! Thanks!

    • @codebasics
      @codebasics  7 месяцев назад +1

      Yay! That's awesome to hear! 😄

  • @ralf.s
    @ralf.s 11 месяцев назад +1

    Excellent introduction, thank you!

  • @anfernychen3776
    @anfernychen3776 11 месяцев назад

    Can't wait to see the next one on LangChain!

  • @nareshkumarsiriveri3458
    @nareshkumarsiriveri3458 11 месяцев назад

    Excellent one. got a basic idea how to proceed with my AI project.

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

    Superb explanation, made it as simple as possible

  • @atchutram9894
    @atchutram9894 9 месяцев назад

    Well done brother. You made it easy.

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

    This video is so good. Very informative. Thank you.

  • @maheshk4071
    @maheshk4071 10 месяцев назад

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

      Good luck mahesh for your leaning journey 👍🏼

  • @satyamedicherla3236
    @satyamedicherla3236 4 месяца назад

    Very clear! Thank you.

  • @oshodikolapo2159
    @oshodikolapo2159 11 месяцев назад

    Thank you for this. Very helpful!

  • @lucianomeireles2451
    @lucianomeireles2451 9 месяцев назад

    excellent!! great work, thanks for sharing

  • @BiranchiNarayanNayak
    @BiranchiNarayanNayak 11 месяцев назад

    Excellent tutorial, very well explained in step by step manner. I love it.

    • @codebasics
      @codebasics  10 месяцев назад

      Glad it was helpful!

  • @pythonantole9892
    @pythonantole9892 7 месяцев назад

    Best intro i have seen so far.

  • @nintishia
    @nintishia 8 месяцев назад

    Excellent tutorial. Thanks.

  • @shivrajpatil791
    @shivrajpatil791 11 месяцев назад +4

    How can someone be so good at explaining??... Hatsoff sir...🙌🙌

    • @codebasics
      @codebasics  9 месяцев назад +1

      Thanks. I am adding more videos (including end to end projects) for this series, check this list: ruclips.net/p/PLeo1K3hjS3uu0N_0W6giDXzZIcB07Ng_F.

  • @monicanalawade3106
    @monicanalawade3106 8 месяцев назад

    Excellent. Waiting for more such video

  • @herval
    @herval 8 месяцев назад

    Great intro 👍 thanks for putting this together

  • @jahangirkhan3747
    @jahangirkhan3747 11 месяцев назад +4

    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 ❤❤❤

  • @123ankit321
    @123ankit321 11 месяцев назад

    Can't wait for more !!

  • @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
      ?

  • @gw1284
    @gw1284 7 месяцев назад

    very good tutorial on langchain with clear explanation and simple use-case, Thank you!

    • @codebasics
      @codebasics  7 месяцев назад

      Glad you liked it ! 😊

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

    A great great video, thank you so much !!

  • @abdalrahmanalielnashar4414
    @abdalrahmanalielnashar4414 7 месяцев назад

    Thank you sir for this awesome tutorial 😊

  • @mohamedmoftah9602
    @mohamedmoftah9602 10 месяцев назад

    Thank you very much . Clear idea , Good explanation , code attached in the description Really excelent

    • @codebasics
      @codebasics  9 месяцев назад

      Happy you found this useful.

  • @cheerstolife4821
    @cheerstolife4821 8 дней назад

    You are the best Dhaval sir!!!

  • @SaketKumar-wy1wb
    @SaketKumar-wy1wb 8 месяцев назад

    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!

  • @Deepakkumar-kr2fk
    @Deepakkumar-kr2fk 10 месяцев назад +1

    Thank you so much it helped me a lot and learned a lot from this.

  • @techuser876
    @techuser876 6 месяцев назад

    Thank you. Appreciate it.

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

  • @oxytic
    @oxytic 11 месяцев назад +2

    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

  • @VaibhavPatil-rx7pc
    @VaibhavPatil-rx7pc 8 месяцев назад

    Excellent detailed information thanks

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

    Excellent video.

  • @arunr2265
    @arunr2265 11 месяцев назад +8

    As usual Dhaval rocks. Can't explain this better and clear

    • @codebasics
      @codebasics  11 месяцев назад

      🙏🏼🙏🏼🙏🏼

  • @QaAutomationAlchemist
    @QaAutomationAlchemist 10 месяцев назад

    Thanks a lot and very clear explanations

  • @siddhumyl
    @siddhumyl 10 месяцев назад

    Thanks a lot for the wonderful tutorial

  • @techpentagon1014
    @techpentagon1014 11 месяцев назад

    Best tutorial video on langchain

  • @soitsmeagainwhyyougottabel2042
    @soitsmeagainwhyyougottabel2042 9 месяцев назад

    Super video thank you, I subscribed !

  • @sergioballesteros8418
    @sergioballesteros8418 28 дней назад

    Thanks for sharing this knowledge

  • @VikramSai.
    @VikramSai. 10 месяцев назад

    Thanks a lot sir.. very detailed explanation.

  • @pyclassy
    @pyclassy 11 месяцев назад +1

    Thats great video. Any suggestion how we can perform using huggingface and train LLM's on custom data and perform QnA?

  • @arunimachakraborty1175
    @arunimachakraborty1175 7 месяцев назад

    Thanks a lot sir. You made it so easy!

    • @codebasics
      @codebasics  7 месяцев назад

      Glad you liked it ! 😊

  • @ANILKUKRETI
    @ANILKUKRETI 11 месяцев назад

    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.

  • @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.

  • @ifasal7449
    @ifasal7449 10 месяцев назад

    Thank you so much Dhaval Sir

  • @rodfarm3980
    @rodfarm3980 7 месяцев назад

    thanks for this video!

  • @MirGlobalAcademy
    @MirGlobalAcademy 8 месяцев назад

    thank you so much

  • @souhailDevv
    @souhailDevv 22 дня назад

    thanks sir, very good tutorial

  • @AlonAvramson
    @AlonAvramson 6 месяцев назад

    Thank you!

  • @phoenix-risez
    @phoenix-risez 11 месяцев назад

    Very good info. Thank you so much for sharing!

  • @SharathBJGowda
    @SharathBJGowda 10 дней назад

    Thanks!

  • @LordYodel
    @LordYodel 7 месяцев назад +2

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

      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

  • @sathishksuresh9460
    @sathishksuresh9460 11 месяцев назад +1

    Awesome video brother 🎉

  • @karimgamal1208
    @karimgamal1208 6 месяцев назад

    Thank you so much

  • @kotadichinnaiah4811
    @kotadichinnaiah4811 11 месяцев назад +1

    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

  • @theq18
    @theq18 11 месяцев назад

    Great introduction to langchains 👍

  • @phatdangx
    @phatdangx 9 месяцев назад

    Thank you for your video, great explanation!

    • @codebasics
      @codebasics  9 месяцев назад

      Glad it was helpful!

  • @stevesamson102
    @stevesamson102 10 месяцев назад

    Good Explanation. Liked it.

  • @anutpat
    @anutpat 11 месяцев назад

    Excellent !!!

  • @rshaikh05
    @rshaikh05 10 дней назад

    Excellent. You made it so simple and that's the key. Please continue the same style. Can you help me use langchain to extract match and compare data elements in two pdf files?

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

    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 .

  • @user-jq1ps4jv9z
    @user-jq1ps4jv9z Месяц назад

    best explanation

  • @rahulkamboj4603
    @rahulkamboj4603 11 месяцев назад +1

    The real OG. 👍🏻

  • @shikharawat8096
    @shikharawat8096 8 месяцев назад

    This is so good sir . Thankyou sir

  • @user-wd6cd4rj6t
    @user-wd6cd4rj6t 10 месяцев назад +1

    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

  • @arpitak20
    @arpitak20 22 дня назад

    Great video

  • @prasadjayanti
    @prasadjayanti 6 месяцев назад +1

    Watching second time just to check few items I missed in first watching. The video is important, simple & easy to follow 👏

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

      Zunaid, glad you liked it

  • @robin_zhang
    @robin_zhang 11 месяцев назад

    your video's quality is so good, which camera are you use?

  • @upskillwithchetan
    @upskillwithchetan 11 месяцев назад

    Awesome 🎉 Dhavalbhai ❤

  • @user-zq6km9uq7t
    @user-zq6km9uq7t 4 месяца назад

    Great video! can't wait to try myself. how can I query external files using langchain?

  • @wastethesweat
    @wastethesweat 8 месяцев назад

    Super helpful

  • @rangav8638
    @rangav8638 10 месяцев назад

    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?