The LangChain Cookbook - Beginner Guide To 7 Essential Concepts

2024 ж. 28 Сәу.
317 031 Рет қаралды

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

Пікірлер
  • This is exactly i wanted. Short tutorial which covers all important features of Langchain

    @mehulvaidya5241@mehulvaidya5241Ай бұрын
  • Awesome explanation. So clear! I loved that you just went step by step through the notebook.

    @dennisnichols1374@dennisnichols1374 Жыл бұрын
  • BRAVO! Clear, concise, and to the point. Thank you.

    @TroyShields@TroyShields11 ай бұрын
  • 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

    @mushinart@mushinart5 ай бұрын
  • This is super high-quality content. Well done man!

    @user-pq8lo1eu2j@user-pq8lo1eu2j Жыл бұрын
    • Glad you enjoy it!

      @DataIndependent@DataIndependent Жыл бұрын
  • This video was a really great beginner overview. Thanks a lot for putting it together. I'm looking forward to part 2.

    @xp3ll3d@xp3ll3d Жыл бұрын
    • He got a whole playlist ( 16 episodes ), this one is the 3rd one, you can check it out if you haven't

      @exoticcoder5365@exoticcoder5365 Жыл бұрын
  • One of the best and concise summary on the core concepts of LangChain. I highly recommend it. Thank you.

    @ydas9125@ydas91253 ай бұрын
  • 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!

    @jasonvongsay2620@jasonvongsay2620 Жыл бұрын
  • 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!

    @ShotterManable@ShotterManable Жыл бұрын
    • Nice glad to hear it

      @DataIndependent@DataIndependent Жыл бұрын
  • That was a brilliant video. So well described with logical, easily understood examples. Thank you!

    @chrisharris6570@chrisharris6570 Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Your way of explaining is just flawless. Really helpful material, provided in a perfect manner. Congrats!

    @joaquinbembhy3446@joaquinbembhy344611 ай бұрын
    • Nice! Thank you and glad to hear it

      @DataIndependent@DataIndependent11 ай бұрын
  • amazing playlist...watching it completely for sure

    @chandankumarmishra336@chandankumarmishra33626 күн бұрын
  • Great overview Greg! Really enjoyed the examples and the way you broke down the concepts.

    @thatsmekb@thatsmekb9 ай бұрын
    • Nice!! Thanks man

      @DataIndependent@DataIndependent9 ай бұрын
  • Too relaxing to learn with you!! The way you communicate is very nice and clear, thank you

    @eddiepixel@eddiepixel10 ай бұрын
    • Thanks for the kind comments!

      @DataIndependent@DataIndependent10 ай бұрын
  • Thanks a lot for making this! I love that you just went through the notebook, giving us clear and concise overviews of each step.

    @marclaygeorges2786@marclaygeorges2786Ай бұрын
    • Wow this is so cool! Love the tip, I hardly get them. Thank you!

      @DataIndependent@DataIndependentАй бұрын
  • Greg, thanks for so generously sharing your knowledge! I like the new navy paint on the walls in your room. 👍🏻

    @AnnetteThompson@AnnetteThompson Жыл бұрын
    • Thank you! it was time for an upgrade

      @DataIndependent@DataIndependent Жыл бұрын
  • 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.

    @alexandermedina4950@alexandermedina495011 ай бұрын
  • I am amazed at how well you explained these concepts 🤯Keen to read your newsletters!

    @prabhsingh1882@prabhsingh18822 ай бұрын
    • Love it! Thank you!

      @DataIndependent@DataIndependent2 ай бұрын
  • Wow. The power and possibilities are endless! I hooked already.

    @mcusson2@mcusson210 ай бұрын
  • Literally amazed at how easily you went through such complex concepts. Nice and inspiring examples, good job!

    @AhmedBesbes@AhmedBesbes Жыл бұрын
  • 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'. 😂

    @AlgorithmicEchoes@AlgorithmicEchoes Жыл бұрын
    • Nice! That's fun thank you

      @DataIndependent@DataIndependent Жыл бұрын
  • 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!

    @BREAKDRS@BREAKDRS Жыл бұрын
    • Nice! glad to hear it.

      @DataIndependent@DataIndependent Жыл бұрын
  • Thank you for this concise and understandable introduction of the concepts!

    @nexon7@nexon7 Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Thank you so much for the video. It was really very helpful. You explained the concepts very well. 🙏

    @ajithtina@ajithtina11 ай бұрын
  • This should be a college lecture for all CS students since 2023.

    @user-ky4jd8cm2o@user-ky4jd8cm2o Жыл бұрын
    • Wow that is an awesome compliment thank you

      @DataIndependent@DataIndependent Жыл бұрын
    • Okay beta

      @sahil0094@sahil0094 Жыл бұрын
    • there won't be a need for a CS degree by 2025... even in the data science field...

      @greendsnow@greendsnow Жыл бұрын
    • Huh? What's college?

      @dprggrmr@dprggrmr11 ай бұрын
    • @@greendsnowvery true I didn’t get a degree and I’m working in the CS field. Not easy though

      @aizenkai3872@aizenkai38723 ай бұрын
  • Well crafted overview with concrete examples. I'm very experienced in the field, and this taught me quite a bit.

    @Geordie504@Geordie5049 ай бұрын
    • Great thank you George. What’re you working on or building?

      @DataIndependent@DataIndependent9 ай бұрын
  • Best video I followed all way long. Thanks Greg. This is Quality content!

    @sayoojvalsan4879@sayoojvalsan4879 Жыл бұрын
    • Glad you enjoyed it! What're you building

      @DataIndependent@DataIndependent Жыл бұрын
  • Brilliant! Would love to see you do one on building a personal assistent with LangChain!

    @faustoalbers6314@faustoalbers6314 Жыл бұрын
  • 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.

    @Dr_Tripper@Dr_Tripper11 ай бұрын
  • High level/big picture explanations like this are very useful to some of us. Thank you

    @paul_sanders@paul_sanders Жыл бұрын
    • Nice! Glad it worked out

      @DataIndependent@DataIndependent Жыл бұрын
  • This is a great presentation. You have a great way of teaching.

    @dontwasteachance@dontwasteachance9 ай бұрын
  • Thanks a lot Greg Kamradt for this video, It made me understand very clearly LangChain's coponents.

    @TadjouLionelIT@TadjouLionelIT6 ай бұрын
  • 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🍣

    @tonkatu1117@tonkatu111711 ай бұрын
  • 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!

    @nattapongthanngam7216@nattapongthanngam721613 күн бұрын
  • Big thanks for publishing such great content.

    @omenquentama6453@omenquentama6453 Жыл бұрын
  • Useful contributions. Thanks your helping the community, Bro!

    @timschannel247@timschannel2472 ай бұрын
    • Nice! Thanks Tim

      @DataIndependent@DataIndependentАй бұрын
  • Thank you for the guide cookbook! 谢谢你精彩的cookbook!

    @user-ou3xb9tk6k@user-ou3xb9tk6k10 ай бұрын
    • Awesome! Glad it worked

      @DataIndependent@DataIndependent10 ай бұрын
  • Kudos to you reffort on doing this. Very helpful. Thank you

    @TinyMagiq@TinyMagiq Жыл бұрын
  • 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.

    @MarkusEicher70@MarkusEicher705 ай бұрын
    • I love the support! Thank you Markus

      @DataIndependent@DataIndependent5 ай бұрын
  • Fantastic tutorial. One of the best I found. Great job! Subscribed

    @jokosalsa@jokosalsa Жыл бұрын
    • Nice! Thank you

      @DataIndependent@DataIndependent Жыл бұрын
  • Insanely high quality video. Thanks so much!

    @jimmymorrissey863@jimmymorrissey863 Жыл бұрын
    • Glad you enjoyed it!

      @DataIndependent@DataIndependent Жыл бұрын
  • Spectacular video. Thank you.

    @therealjimmycooper@therealjimmycooper10 ай бұрын
    • Glad you enjoyed it!

      @DataIndependent@DataIndependent10 ай бұрын
  • Greg, thanks for another great video. I've come back to this one a few times to clear my head :)

    @askcoachmarty@askcoachmarty Жыл бұрын
  • Loving the new look bro! Great upgrade and as usual great conent

    @DanielChen90@DanielChen90 Жыл бұрын
    • 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.

      @DataIndependent@DataIndependent Жыл бұрын
  • Thank you, I learned so much reading your Cookbook.

    @alainherreman3685@alainherreman36852 ай бұрын
    • Oh heck ya! This is my 2nd tip ever. Love it. Reach out if you have any questions

      @DataIndependent@DataIndependent2 ай бұрын
  • I have started using Langchain. The video is what I need. Thank you.

    @micbab-vg2mu@micbab-vg2mu Жыл бұрын
  • Finally found the clear and intuitive lecture on how to smart use of LLMs by langchain and other search tools. Thank you so much.

    @xiaolianyuan6660@xiaolianyuan666011 ай бұрын
    • Nice! Thank you

      @DataIndependent@DataIndependent11 ай бұрын
  • All of a sudden, I liked this course. Great content.

    @nh_ws@nh_ws Жыл бұрын
  • What is abundantly evident is that you, @DataIndependent, are an excellent teacher🙏.

    @krbabu@krbabu4 ай бұрын
    • nice! thank you Krbabu that's nice

      @DataIndependent@DataIndependent3 ай бұрын
  • Excellent video, and thank you for sharing your wisdom from your perspective, really appreciate it.

    @aiautoglasscrm@aiautoglasscrm Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Fantastic video. I learned a ton in 60 minutes, by watching this video Looking forward to watch the rest as well

    @prasannaprabhu9943@prasannaprabhu994310 ай бұрын
    • Nice! Glad to hear it Prasanna!

      @DataIndependent@DataIndependent10 ай бұрын
  • Awesome introduction about LangChain, great job!

    @Vinato2000@Vinato200010 ай бұрын
  • Great coverage and explanation of Langchain Greg. Thanks for this!

    @Ytsubray73@Ytsubray7310 ай бұрын
    • Awesome thank you! What’re you building?

      @DataIndependent@DataIndependent10 ай бұрын
  • This is indeed a Cookbook, very good job, eagerly waiting for the use cases video, thank you!

    @paraconscious790@paraconscious790 Жыл бұрын
    • Glad you liked it!

      @DataIndependent@DataIndependent Жыл бұрын
  • I spent the whole day watching this series. Just as I was about to run out you post this! Haha, thanks :D

    @user-pk6ym7og4w@user-pk6ym7og4w Жыл бұрын
    • Thanks man I'm glad to hear it.

      @DataIndependent@DataIndependent Жыл бұрын
  • Fantastic presentation! This is incredibly useful. Thank you!

    @GullyAPCBurns@GullyAPCBurns10 ай бұрын
    • Awesome! Thank you

      @DataIndependent@DataIndependent10 ай бұрын
  • 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 :)

    @cadbad@cadbad10 ай бұрын
    • Awesome! Thank you very much - what projects are you working on building?

      @DataIndependent@DataIndependent10 ай бұрын
    • @@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!

      @cadbad@cadbad10 ай бұрын
  • In just a few minutes, I became a really big fan! Thank you for your videos!

    @gabrielvalentim197@gabrielvalentim1976 ай бұрын
    • Nice! Thank you Gabriel

      @DataIndependent@DataIndependent6 ай бұрын
  • highly appreciate your work 💖

    @chintan357@chintan3574 ай бұрын
    • Awesome thank you

      @DataIndependent@DataIndependent4 ай бұрын
  • Thank you Greg. The video was explained very well

    @MrMwenesi@MrMwenesi Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Great run through. Very helpful!

    @kevon217@kevon217 Жыл бұрын
    • Glad to hear it!

      @DataIndependent@DataIndependent Жыл бұрын
  • What an amazing video to walk you through the concepts, as well as practical examples. I recommended my friend to watch it too. 😊

    @saadati@saadati2 ай бұрын
    • Thank you! I’m going to be doing an update soon. Too much code is out of date.

      @DataIndependent@DataIndependent2 ай бұрын
  • Best langchain explanation I have seen so far. Fast paced. Brilliant.

    @Clubcloudcomputing@Clubcloudcomputing Жыл бұрын
  • Thank you for your work Greg! Regards from Belgium :)

    @koen.mortier_fitchen@koen.mortier_fitchen9 ай бұрын
  • 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.

    @michaelanderson3172@michaelanderson31729 ай бұрын
    • Awesome thank you! For embeddings, what is the real world use case you want to explore more?

      @DataIndependent@DataIndependent9 ай бұрын
  • This is awesome !!! Please keep up ! All my support

    @waeldimassi3355@waeldimassi335511 ай бұрын
  • Thank you for this video! You did an amazing job, learning from which we will also do amazing jobs!

    @user-qx3nf4kf1r@user-qx3nf4kf1rАй бұрын
  • This is a really concise & cool tutorial to start with langchain! Thank you.

    @chenqu773@chenqu773 Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Yes! Only tutorial that makes any sense. Great job thank you!!

    @meldeweese@meldeweese2 ай бұрын
    • Awesome! Thanks Mel!

      @DataIndependent@DataIndependent2 ай бұрын
  • Dude. Epic💪🏾💪🏾💪🏾💪🏾💪🏾 👏🏾thanks for this Masterclass!

    @hiranga@hiranga Жыл бұрын
  • Excellent tutorial, thanks for sharing

    @KenSemerkant@KenSemerkant Жыл бұрын
  • The best explanation I have found on KZhead , thank you!

    @hoyinleunghk@hoyinleunghk9 ай бұрын
    • Awesome thanks Hoyin - what're you working on?

      @DataIndependent@DataIndependent9 ай бұрын
    • ​@@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. 🙏

      @hoyinleunghk@hoyinleunghk9 ай бұрын
  • Thank you very much! This is super helpful for a Langchain Beginner LOL. Looking forward to your use cases!

    @tonyhhq@tonyhhq Жыл бұрын
    • Thanks Heqing - Working on it

      @DataIndependent@DataIndependent Жыл бұрын
  • Great tutorial! Thanks!

    @samyeung122@samyeung1227 ай бұрын
    • Awesome thank you! What’re you building or working on right now?

      @DataIndependent@DataIndependent7 ай бұрын
  • Thanks for sharing this amazing content with us!

    @ilianos@ilianos Жыл бұрын
    • You bet! Glad you liked it

      @DataIndependent@DataIndependent Жыл бұрын
  • Super helpful overview! Thanks

    @leandrewdixon3521@leandrewdixon3521 Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • awesome video. the concepts are explained clearly!

    @VersatileAnthem@VersatileAnthem6 ай бұрын
    • Love it thank you Vers.

      @DataIndependent@DataIndependent6 ай бұрын
  • Great presentation

    @kishr4u1@kishr4u1Ай бұрын
  • You are a great teacher!

    @wumbo2421@wumbo24212 ай бұрын
  • With this attitude your channel will be a start in the upcoming months/years.Keep up the great work..

    @NashatJumaah@NashatJumaah11 ай бұрын
    • Nice thank you!

      @DataIndependent@DataIndependent11 ай бұрын
  • Thoroughly enjoyed this! Thank You so much :)

    @outof.thehouse@outof.thehouse Жыл бұрын
  • I’m amazed how dense and well indexed this video and document is

    @alessandrorossi1294@alessandrorossi129411 ай бұрын
    • Nice! Thank you

      @DataIndependent@DataIndependent11 ай бұрын
  • Thanks, this really helped a lot to briefly get an idea what Langchain can do👍

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

    @josephpareti9156@josephpareti915628 күн бұрын
  • 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!😄

    @divyajeetpala6205@divyajeetpala6205Ай бұрын
    • Nice! This notebook needs updating forsure

      @DataIndependent@DataIndependentАй бұрын
  • 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.

    @021Jay123@021Jay123 Жыл бұрын
  • Thank you for the great Cookbook!

    @AnvarAzizovMusic@AnvarAzizovMusic Жыл бұрын
    • Nice! Hope it's fun

      @DataIndependent@DataIndependent Жыл бұрын
  • Thank you for this, just what I needed.

    @oshodikolapo2159@oshodikolapo2159 Жыл бұрын
    • Glad it was helpful!

      @DataIndependent@DataIndependent Жыл бұрын
  • Super interesting and thorough - thanks!

    @barryc3907@barryc3907 Жыл бұрын
    • Nice! Thank you

      @DataIndependent@DataIndependent Жыл бұрын
  • You aced the topic man!. Thanks.

    @jaideepsingh877@jaideepsingh87711 ай бұрын
  • Hi Greg, your content is some of the best around the LangChain library, and I believe you’ll grow a lot in the coming months in the YT tech space. I’ve been studying a lot of this new tools in the past month or so, and experimented with a lot of small exercises. Now I’m really putting it all into test in the real world were I’m trying to create something and I would like to have your feedback on this. I'm building a chatbot that helps my users to get informations about a functionality and execute some actions via API... I was thinking to have the GPT-3.5-turbo ChatAPI as "orchestrator", and if the user wants to get informations redirect the request to a query on a vector DB for getting useful chunks of info and feed those to GPT-4 and get an appropriate response to the user question, and if instead the user wants to execute an action, redirect the request to GPT-4 and the LangChain OpenAPI Agent to execute it and return the result to the user. What do you think about this approach? Any suggestions?

    @christiancarpinelli@christiancarpinelli Жыл бұрын
    • I’ve been doing a similar approach in some smaller projects myself recently. I would definitely recommend trying implementing it yourself first before using langchain to see if you really need it. I made my own chatbot and agent classes that essentially do the same, but much less code. Awesome idea though!

      @SpencerYonce@SpencerYonce Жыл бұрын
    • Hey! Just seeing this now - comments got crazy for a while. I would check out LangChain's new conversational retrieval agent which should help blog.langchain.dev/conversational-retrieval-agents/ python.langchain.com/docs/use_cases/question_answering/how_to/conversational_retrieval_agents

      @DataIndependent@DataIndependent8 ай бұрын
  • Thank you. This was very helpful.

    @avg_ape@avg_ape Жыл бұрын
    • Wonderful

      @DataIndependent@DataIndependent Жыл бұрын
  • Excellent video content, thank you very much!

    @qiqqaqwerty1713@qiqqaqwerty1713Ай бұрын
    • Thanks Qwerty

      @DataIndependent@DataIndependentАй бұрын
    • @@DataIndependent No worries, cheers!

      @qiqqaqwerty1713@qiqqaqwerty1713Ай бұрын
  • this video is pure gold, thank you

    @filippocorsini3465@filippocorsini3465 Жыл бұрын
    • Glad you enjoyed it!

      @DataIndependent@DataIndependent Жыл бұрын
  • Absolutely awesome content.

    @t_o_ny@t_o_ny Жыл бұрын
    • Awesome thank you!

      @DataIndependent@DataIndependent Жыл бұрын
  • The best overview ever!!

    @bunnihilator@bunnihilator10 ай бұрын
    • Awesome, thank you!

      @DataIndependent@DataIndependent10 ай бұрын
  • Super helpful, thank you!

    @more-reese@more-reese10 ай бұрын
    • Nice!! Glad to hear it - what’re you building?

      @DataIndependent@DataIndependent10 ай бұрын
  • Excellent summary!

    @PipiKaka9@PipiKaka9 Жыл бұрын
    • Glad you liked it!

      @DataIndependent@DataIndependent Жыл бұрын
  • 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

    @yallaskate@yallaskate11 ай бұрын
    • You used the colab notebook to follow the code?

      @MMABeijing@MMABeijing8 ай бұрын
  • Thank you so much for this tutorial

    @seansquantumlogic4199@seansquantumlogic41998 ай бұрын
KZhead