The LangChain Cookbook - Beginner Guide To 7 Essential Concepts

Twitter: / gregkamradt
Newsletter: mail.gregkamradt.com/signup
Cookbook Part 2: • The LangChain Cookbook...
Wild Belle - Keep You: open.spotify.com/track/1eREJI...
LangChain Cookbook: github.com/gkamradt/langchain...
LangChain Conceptual Docs: docs.langchain.com/docs/categ...
Python Docs: python.langchain.com/en/latest/
JS/TS Docs: js.langchain.com/docs/
0:00 - Introduction
1:12 - Conceptual Docs
1:54 - Cookbook introduction
2:27 - What is LangChain?
5:10 - Schema (Text, Messages, Documents)
8:54 - Models (Language, Chat, Embeddings)
12:03 - Prompts (Template, Examples, Output Parse)
20:45 - Indexes (Loaders, Splitters, Retrievers, Vectorstores)
26:39 - Memory (Chat History)
28:12 - Chains (Simple, Summarize)
32:52 - Agents (Toolkits, Agents)
Music by lofigenerator.com / CC BY

Пікірлер: 438

  • @user-ky4jd8cm2o
    @user-ky4jd8cm2o Жыл бұрын

    This should be a college lecture for all CS students since 2023.

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Wow that is an awesome compliment thank you

  • @sahil0094

    @sahil0094

    Жыл бұрын

    Okay beta

  • @greendsnow

    @greendsnow

    Жыл бұрын

    there won't be a need for a CS degree by 2025... even in the data science field...

  • @dprggrmr

    @dprggrmr

    11 ай бұрын

    Huh? What's college?

  • @aizenkai3872

    @aizenkai3872

    3 ай бұрын

    @@greendsnowvery true I didn’t get a degree and I’m working in the CS field. Not easy though

  • @dennisnichols1374
    @dennisnichols1374 Жыл бұрын

    Awesome explanation. So clear! I loved that you just went step by step through the notebook.

  • @mehulvaidya5241
    @mehulvaidya5241Ай бұрын

    This is exactly i wanted. Short tutorial which covers all important features of Langchain

  • @TroyShields
    @TroyShields Жыл бұрын

    BRAVO! Clear, concise, and to the point. Thank you.

  • @kwabenaababioadwabour2491
    @kwabenaababioadwabour24915 күн бұрын

    Where has this channel been all this while? This is gold. Thanks for the great video!

  • @alexandermedina4950
    @alexandermedina495011 ай бұрын

    It has become very difficult to keep up with the ML/DL/AI scene as of lately, so I decided to go with Lang ⛓️, and your video has been the best I've seen so far. Thank you for your effort.

  • @mushinart
    @mushinart6 ай бұрын

    Amazing job explaining the core concepts, this video + the cook book are THE fast references to understand more and memorize less and practice and develop even more. Thanks a million sir

  • @dontwasteachance
    @dontwasteachance9 ай бұрын

    This is a great presentation. You have a great way of teaching.

  • @ydas9125
    @ydas91254 ай бұрын

    One of the best and concise summary on the core concepts of LangChain. I highly recommend it. Thank you.

  • @jasonvongsay2620
    @jasonvongsay2620 Жыл бұрын

    I've watched 4 of your videos now, and the "set" and video quality have incrementally improved. I appreciate you putting in the effort to make your videos better. I look forward to watching and learning from your future videos!

  • @mcusson2
    @mcusson211 ай бұрын

    Wow. The power and possibilities are endless! I hooked already.

  • @xp3ll3d
    @xp3ll3d Жыл бұрын

    This video was a really great beginner overview. Thanks a lot for putting it together. I'm looking forward to part 2.

  • @exoticcoder5365

    @exoticcoder5365

    Жыл бұрын

    He got a whole playlist ( 16 episodes ), this one is the 3rd one, you can check it out if you haven't

  • @Dr_Tripper
    @Dr_Tripper11 ай бұрын

    Yesterday I finally had a breakthrough and am beginning to understand the things that I see and read. I just hope that I don't have to use API keys as I want EVERYTHING local until I want to access the 'net for more information. I am building a fairly comprehensive application that not only will order groceries but will also perform local actions. What a time to be alive.

  • @eddiepixel
    @eddiepixel11 ай бұрын

    Too relaxing to learn with you!! The way you communicate is very nice and clear, thank you

  • @DataIndependent

    @DataIndependent

    11 ай бұрын

    Thanks for the kind comments!

  • @chandankumarmishra336
    @chandankumarmishra336Ай бұрын

    amazing playlist...watching it completely for sure

  • @TadjouLionelIT
    @TadjouLionelIT6 ай бұрын

    Thanks a lot Greg Kamradt for this video, It made me understand very clearly LangChain's coponents.

  • @ShotterManable
    @ShotterManable Жыл бұрын

    Beautiful summary! Thanks a lot for sharing it. I'll definitely check out all the documentation but you gave us a very good overview. Thanks for the ramp up!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice glad to hear it

  • @ajithtina
    @ajithtina Жыл бұрын

    Thank you so much for the video. It was really very helpful. You explained the concepts very well. 🙏

  • @askcoachmarty
    @askcoachmarty Жыл бұрын

    Greg, thanks for another great video. I've come back to this one a few times to clear my head :)

  • @AhmedBesbes
    @AhmedBesbes Жыл бұрын

    Literally amazed at how easily you went through such complex concepts. Nice and inspiring examples, good job!

  • @omenquentama6453
    @omenquentama6453 Жыл бұрын

    Big thanks for publishing such great content.

  • @AlgorithmicEchoes
    @AlgorithmicEchoes Жыл бұрын

    As usual, very lucid and high quality content. I think I should embed the youtube transcripts and prompt gpt to 'explain it like data independent'. 😂

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! That's fun thank you

  • @micbab-vg2mu
    @micbab-vg2mu Жыл бұрын

    I have started using Langchain. The video is what I need. Thank you.

  • @thatsmekb
    @thatsmekb10 ай бұрын

    Great overview Greg! Really enjoyed the examples and the way you broke down the concepts.

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Nice!! Thanks man

  • @joaquinbembhy3446
    @joaquinbembhy344611 ай бұрын

    Your way of explaining is just flawless. Really helpful material, provided in a perfect manner. Congrats!

  • @DataIndependent

    @DataIndependent

    11 ай бұрын

    Nice! Thank you and glad to hear it

  • @faustoalbers6314
    @faustoalbers6314 Жыл бұрын

    Brilliant! Would love to see you do one on building a personal assistent with LangChain!

  • @Vinato2000
    @Vinato200011 ай бұрын

    Awesome introduction about LangChain, great job!

  • @chrisharris6570
    @chrisharris6570 Жыл бұрын

    That was a brilliant video. So well described with logical, easily understood examples. Thank you!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @tonkatu1117
    @tonkatu111711 ай бұрын

    I'm just a product manager who knows only a little bit about writing codes, but this video made it really easy to understand the high level concept and get the hang of lang chain. Big shoutout from Japan🍣

  • @nh_ws
    @nh_ws Жыл бұрын

    All of a sudden, I liked this course. Great content.

  • @waeldimassi3355
    @waeldimassi335511 ай бұрын

    This is awesome !!! Please keep up ! All my support

  • @nexon7
    @nexon7 Жыл бұрын

    Thank you for this concise and understandable introduction of the concepts!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @AnnetteThompson
    @AnnetteThompson Жыл бұрын

    Greg, thanks for so generously sharing your knowledge! I like the new navy paint on the walls in your room. 👍🏻

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Thank you! it was time for an upgrade

  • @nattapongthanngam7216
    @nattapongthanngam721621 күн бұрын

    Thanks again, Greg! This video on LangChain concepts was really helpful after watching your LangChain intro. Learning about schemas, models, prompts, etc. is giving me a much better understanding of how LangChain works. Onward to the next video in your playlist!

  • @BREAKDRS
    @BREAKDRS Жыл бұрын

    This is really helpful. With the order that those concepts are introduced with the great examples, I found everything in the langchain documentation become much easier to follow now. I now know what to look at for each of the ideas I have. Thank you!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! glad to hear it.

  • @TinyMagiq
    @TinyMagiq Жыл бұрын

    Kudos to you reffort on doing this. Very helpful. Thank you

  • @user-pq8lo1eu2j
    @user-pq8lo1eu2j Жыл бұрын

    This is super high-quality content. Well done man!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad you enjoy it!

  • @Geordie504
    @Geordie50410 ай бұрын

    Well crafted overview with concrete examples. I'm very experienced in the field, and this taught me quite a bit.

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Great thank you George. What’re you working on or building?

  • @brijeshjaggi4579
    @brijeshjaggi45798 күн бұрын

    thanks greg, this was very very easy to understand and insightful

  • @paul_sanders
    @paul_sanders Жыл бұрын

    High level/big picture explanations like this are very useful to some of us. Thank you

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Glad it worked out

  • @marclaygeorges2786
    @marclaygeorges2786Ай бұрын

    Thanks a lot for making this! I love that you just went through the notebook, giving us clear and concise overviews of each step.

  • @DataIndependent

    @DataIndependent

    Ай бұрын

    Wow this is so cool! Love the tip, I hardly get them. Thank you!

  • @xiaolianyuan6660
    @xiaolianyuan6660 Жыл бұрын

    Finally found the clear and intuitive lecture on how to smart use of LLMs by langchain and other search tools. Thank you so much.

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Thank you

  • @jimmymorrissey863
    @jimmymorrissey863 Жыл бұрын

    Insanely high quality video. Thanks so much!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad you enjoyed it!

  • @brandolosaria9611
    @brandolosaria96118 ай бұрын

    Amazing and great explanation, Ill try out the cookbook in Git. Thank you

  • @koen.mortier_fitchen
    @koen.mortier_fitchen9 ай бұрын

    Thank you for your work Greg! Regards from Belgium :)

  • @user-ou3xb9tk6k
    @user-ou3xb9tk6k10 ай бұрын

    Thank you for the guide cookbook! 谢谢你精彩的cookbook!

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Awesome! Glad it worked

  • @021Jay123
    @021Jay123 Жыл бұрын

    I had zero knowledge about it and was struggle to understand it. now I have fairly good idea that Langchain is and what it can do with. thanks a lot.

  • @aiautoglasscrm
    @aiautoglasscrm Жыл бұрын

    Excellent video, and thank you for sharing your wisdom from your perspective, really appreciate it.

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @prabhsingh1882
    @prabhsingh18822 ай бұрын

    I am amazed at how well you explained these concepts 🤯Keen to read your newsletters!

  • @DataIndependent

    @DataIndependent

    2 ай бұрын

    Love it! Thank you!

  • @user-qx3nf4kf1r
    @user-qx3nf4kf1rАй бұрын

    Thank you for this video! You did an amazing job, learning from which we will also do amazing jobs!

  • @sayoojvalsan4879
    @sayoojvalsan4879 Жыл бұрын

    Best video I followed all way long. Thanks Greg. This is Quality content!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad you enjoyed it! What're you building

  • @ninthsun
    @ninthsun Жыл бұрын

    Thanks, this really helped a lot to briefly get an idea what Langchain can do👍

  • @seansquantumlogic4199
    @seansquantumlogic41999 ай бұрын

    Thank you so much for this tutorial

  • @paraconscious790
    @paraconscious790 Жыл бұрын

    This is indeed a Cookbook, very good job, eagerly waiting for the use cases video, thank you!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad you liked it!

  • @KenSemerkant
    @KenSemerkant Жыл бұрын

    Excellent tutorial, thanks for sharing

  • @Clubcloudcomputing
    @Clubcloudcomputing Жыл бұрын

    Best langchain explanation I have seen so far. Fast paced. Brilliant.

  • @divyajeetpala6205
    @divyajeetpala62052 ай бұрын

    Thank you for this really helpful tutorial! It has helped me discover many things to which I was previously unaware of. No more doing things in an amateur way haha!😄

  • @DataIndependent

    @DataIndependent

    2 ай бұрын

    Nice! This notebook needs updating forsure

  • @timschannel247
    @timschannel2473 ай бұрын

    Useful contributions. Thanks your helping the community, Bro!

  • @DataIndependent

    @DataIndependent

    Ай бұрын

    Nice! Thanks Tim

  • @DanielChen90
    @DanielChen90 Жыл бұрын

    Loving the new look bro! Great upgrade and as usual great conent

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Thank you very much. It was time to take AI more seriously. I'm about to rebrand data indy to my personal brand as well.

  • @hiranga
    @hiranga Жыл бұрын

    Dude. Epic💪🏾💪🏾💪🏾💪🏾💪🏾 👏🏾thanks for this Masterclass!

  • @samyeung122
    @samyeung1227 ай бұрын

    Great tutorial! Thanks!

  • @DataIndependent

    @DataIndependent

    7 ай бұрын

    Awesome thank you! What’re you building or working on right now?

  • @prasannaprabhu9943
    @prasannaprabhu994310 ай бұрын

    Fantastic video. I learned a ton in 60 minutes, by watching this video Looking forward to watch the rest as well

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Nice! Glad to hear it Prasanna!

  • @MarkusEicher70
    @MarkusEicher705 ай бұрын

    Very nice intro, thank you Greg. A good starting point to dig in deeper. Now looking forward to the second part with some use cases and then stop watching videos and get the hands on it. But rest assured, I will sure come back for more videos later. Love your work, please keep it going. Greetings and be well, sir.

  • @DataIndependent

    @DataIndependent

    5 ай бұрын

    I love the support! Thank you Markus

  • @alessandrorossi1294
    @alessandrorossi1294 Жыл бұрын

    I’m amazed how dense and well indexed this video and document is

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Thank you

  • @alainherreman3685
    @alainherreman36853 ай бұрын

    Thank you, I learned so much reading your Cookbook.

  • @DataIndependent

    @DataIndependent

    3 ай бұрын

    Oh heck ya! This is my 2nd tip ever. Love it. Reach out if you have any questions

  • @krbabu
    @krbabu4 ай бұрын

    What is abundantly evident is that you, @DataIndependent, are an excellent teacher🙏.

  • @DataIndependent

    @DataIndependent

    4 ай бұрын

    nice! thank you Krbabu that's nice

  • @shaunpx1
    @shaunpx19 ай бұрын

    great video! look forward to your other content on Langchain. Do you have any more video that disccus using multiple LLMs together or using huggingface transformers with Langchain?

  • @therealjimmycooper
    @therealjimmycooper10 ай бұрын

    Spectacular video. Thank you.

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Glad you enjoyed it!

  • @jaideep_yes
    @jaideep_yes11 ай бұрын

    You aced the topic man!. Thanks.

  • @GullyAPCBurns
    @GullyAPCBurns11 ай бұрын

    Fantastic presentation! This is incredibly useful. Thank you!

  • @DataIndependent

    @DataIndependent

    11 ай бұрын

    Awesome! Thank you

  • @MrMwenesi
    @MrMwenesi Жыл бұрын

    Thank you Greg. The video was explained very well

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @jokosalsa
    @jokosalsa Жыл бұрын

    Fantastic tutorial. One of the best I found. Great job! Subscribed

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Thank you

  • @Ytsubray73
    @Ytsubray7310 ай бұрын

    Great coverage and explanation of Langchain Greg. Thanks for this!

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Awesome thank you! What’re you building?

  • @kevon217
    @kevon217 Жыл бұрын

    Great run through. Very helpful!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad to hear it!

  • @tonyhhq
    @tonyhhq Жыл бұрын

    Thank you very much! This is super helpful for a Langchain Beginner LOL. Looking forward to your use cases!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Thanks Heqing - Working on it

  • @chenqu773
    @chenqu773 Жыл бұрын

    This is a really concise & cool tutorial to start with langchain! Thank you.

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @cadbad
    @cadbad10 ай бұрын

    Thank you so much for making this so easy to follow and understand. As someone who has been out of the coding game for 15 years, I really struggled with some of the content from others where the assumed knowledge and terminology is so much higher. Keep up the good work :)

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Awesome! Thank you very much - what projects are you working on building?

  • @cadbad

    @cadbad

    10 ай бұрын

    @@DataIndependent An app that helps users draft a specific type form of words. I'd like to use an agent that will follow a general process to gather information, then evaluate whether it has enough to draft the text against specific criteria, and ask for more if not. Once it thinks it has enough, it will draft the form of words. Evaluation seems tricky though!

  • @user-pk6ym7og4w
    @user-pk6ym7og4w Жыл бұрын

    I spent the whole day watching this series. Just as I was about to run out you post this! Haha, thanks :D

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Thanks man I'm glad to hear it.

  • @wumbo2421
    @wumbo24213 ай бұрын

    You are a great teacher!

  • @chintan357
    @chintan3574 ай бұрын

    highly appreciate your work 💖

  • @DataIndependent

    @DataIndependent

    4 ай бұрын

    Awesome thank you

  • @ilianos
    @ilianos Жыл бұрын

    Thanks for sharing this amazing content with us!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    You bet! Glad you liked it

  • @outof.thehouse
    @outof.thehouse Жыл бұрын

    Thoroughly enjoyed this! Thank You so much :)

  • @michaelanderson3172
    @michaelanderson317210 ай бұрын

    Excellent instruction! You've made what could be a complex topic, very simple. Hope you can do a video on embedding and the various use cases. Thank you for the excellent presentation in this video.

  • @DataIndependent

    @DataIndependent

    10 ай бұрын

    Awesome thank you! For embeddings, what is the real world use case you want to explore more?

  • @gabrielvalentim197
    @gabrielvalentim1976 ай бұрын

    In just a few minutes, I became a really big fan! Thank you for your videos!

  • @DataIndependent

    @DataIndependent

    6 ай бұрын

    Nice! Thank you Gabriel

  • @kishr4u1
    @kishr4u1Ай бұрын

    Great presentation

  • @hoyinleunghk
    @hoyinleunghk9 ай бұрын

    The best explanation I have found on KZread , thank you!

  • @DataIndependent

    @DataIndependent

    9 ай бұрын

    Awesome thanks Hoyin - what're you working on?

  • @hoyinleunghk

    @hoyinleunghk

    9 ай бұрын

    ​@@DataIndependent Hi Greg, I'm a web developer. Recently I tried openai's whisper to do subtitles and I'm amazed by its accuracy. I've also been curious about what Langchain is and how it can used. you offered a great explanation. 🙏

  • @leandrewdixon3521
    @leandrewdixon3521 Жыл бұрын

    Super helpful overview! Thanks

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @josephpareti9156
    @josephpareti9156Ай бұрын

    great presentation

  • @caiyu538
    @caiyu5387 ай бұрын

    Great to revisit

  • @DataIndependent

    @DataIndependent

    7 ай бұрын

    Thank you

  • @HombresTopG-bf9se
    @HombresTopG-bf9se Жыл бұрын

    Thank your for this video!

  • @filippocorsini3465
    @filippocorsini3465 Жыл бұрын

    this video is pure gold, thank you

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad you enjoyed it!

  • @cmthimmaiah
    @cmthimmaiah Жыл бұрын

    Amazing, thank you

  • @FelixBoehme
    @FelixBoehme Жыл бұрын

    Great video! Thank you! 👏👏👏

  • @yallaskate
    @yallaskate Жыл бұрын

    this is awesome. as someone who fails with some silly error everytime they try coding, this is the first time i've been able to fluently follow through a tutorial without hiccups. big kudos to you and great work with your explanations. excited to work through your series

  • @MMABeijing

    @MMABeijing

    8 ай бұрын

    You used the colab notebook to follow the code?

  • @anilkumarkanasani
    @anilkumarkanasani8 ай бұрын

    Thank you very much

  • @barryc3907
    @barryc3907 Жыл бұрын

    Super interesting and thorough - thanks!

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Nice! Thank you

  • @oshodikolapo2159
    @oshodikolapo2159 Жыл бұрын

    Thank you for this, just what I needed.

  • @DataIndependent

    @DataIndependent

    Жыл бұрын

    Glad it was helpful!

  • @lucasfontini5881
    @lucasfontini58813 ай бұрын

    thanks for the content brow it helps a lot

  • @DataIndependent

    @DataIndependent

    3 ай бұрын

    Thanks brow

  • @tomcoleman2765
    @tomcoleman2765 Жыл бұрын

    Great job!

  • @meldeweese
    @meldeweese3 ай бұрын

    Yes! Only tutorial that makes any sense. Great job thank you!!

  • @DataIndependent

    @DataIndependent

    3 ай бұрын

    Awesome! Thanks Mel!