What is LangChain? 101 Beginner's Guide Explained with Animations

2024 ж. 6 Мам.
37 220 Рет қаралды

A fast-paced introduction to LangChain describing its modules: prompts, models, indexes, chains, memory and agents. It is packed with examples and animations to get the main points across as simply as possible. The agent section will be covered in more depth in a following video.
💌 Link to the newsletter
practical-ai-builder.beehiiv....
⏳ Timestamps
00:00 Intro
00:04 What is it?
00:11 Where is it?
00:18 Why is it needed?
00:42 What it provides
01:28 Why connecting LLM to data and making it agentic is useful
01:43 Introducing LangChain modules
01:51 Models - Intro
01:58 Embeddings Models
02:11 Semantic Search
02:18 Open AI Embedding Model
02:35 HuggingFace's Open Source Embedding Model
03:00 Language Models
03:27 Prompts - Intro
03:44 Prompt Templates
04:12 Substitution Engine
04:23 Prompts - Common use cases
04:25 LLM Few shot learning
05:06 LLM Output parsing
06:10 Example Selectors - Motivation
06:24 Example Selectors
06:55 Chat Prompt Template
07:38 Indexes - Intro
07:46 Document Loaders
08:10 Text splitter
08:34 Vector DB PDF Ingestion Example
08:39 Vectorstores
08:58 Retrievers
09:21 Self-querying with Chroma DB
09:34 Recap
09:39 Chains
09:47 Chain with Memory
10:10 Chain use cases
10:17 Chaining Chains together
10:41 Chain
10:45 Agents
10:56 Thank you
🔗 Links
Source code: github.com/edrickdch/langchai...
LangChain: python.langchain.com/en/lates...
Self-Ask Paper: ofir.io/self-ask.pdf
ReAct Paper: arxiv.org/abs/2210.03629
💬 If you're looking for a PDF Chat Tool: pdf.ai/?via=edrick
🙏 Support the channel with a donation: paypal.me/edrickdch

Пікірлер
  • Bruh you got that Fireship vibe to ya. I dig it. Can't wait to see more vids from you!

    @joshuashepherd7189@joshuashepherd718911 ай бұрын
  • This video deserves more attentions, so I decide to leave a comment here!

    @l501l501l@l501l501l5 ай бұрын
  • Great video! I enjoyed the simplicity of the explanation

    @helloworld4580@helloworld458010 ай бұрын
  • Great and clear explanation!! Congrats!!

    @javierriveira983@javierriveira98311 ай бұрын
  • Stoked for the agents video 🙌🏾💜

    @andydataguy@andydataguy10 ай бұрын
  • Excellent presentation...thanks

    @cvsnreddy1700@cvsnreddy17009 ай бұрын
  • Hi Edrick, great content! Please more more more!!!

    @m1ar1vin@m1ar1vin10 ай бұрын
  • very informative and to the point

    @dollarscholar2956@dollarscholar295610 ай бұрын
  • Great Presentation style mate keep it up, you can make it in the big leagues

    @thenightguy6816@thenightguy681610 ай бұрын
  • I find Langchain to be most useful for vectorizing data and interacting with vectorDBs. I've tried to use the other prompt and chianing features but they add a huge amount of boilerplate and complexity to what is already easily solved by string interpolation. In most cases you really can't even afford to waste tokens on the bloat langchain injects into your prompts

    @alexnahas2907@alexnahas290711 ай бұрын
  • the content and quality of the video is amazing! I liked the fireship style, the amount of information you covered was super! keep going

    @RationalDissonances@RationalDissonances9 ай бұрын
  • Keep up the good work you got another subscription from me.

    @texanwardog@texanwardog15 күн бұрын
  • Nice video, great work!

    @AIJasonZ@AIJasonZ11 ай бұрын
    • Thanks Jason!

      @edrickdch@edrickdch11 ай бұрын
  • Awesome video, thanks

    @RolandoLopezNieto@RolandoLopezNieto4 ай бұрын
  • amazing thank you😍

    @awaisali-ww4wp@awaisali-ww4wp10 ай бұрын
  • You're the best 👍😃

    @BestAndroidGames2017@BestAndroidGames201710 ай бұрын
  • Banger video

    @amoghghadge8451@amoghghadge845111 ай бұрын
    • Indeed

      @heagandev@heagandev11 ай бұрын
  • Nice 👍 tutorial

    @AIMLDLNLP-TECH@AIMLDLNLP-TECH6 ай бұрын
  • Fluffless and awesome video! Nice work!

    @jinguu5852@jinguu58522 ай бұрын
  • Please teach how to translate pdf above 5mb and maintaining the order of text and photos using the langchain library

    @user-bo4ui2rv8l@user-bo4ui2rv8l9 ай бұрын
  • subscribed

    @oryxchannel@oryxchannel10 ай бұрын
  • Great

    @ankitthapa9245@ankitthapa9245Ай бұрын
  • did you make this video tutorial?

    @devBotPlus@devBotPlus11 ай бұрын
  • bro is a second Fireship

    @honle9416@honle941610 ай бұрын
  • how the holy fuck do I link my MusicGen baseten model into langchain with a chat interface?? Where does the god damn python file go?

    @peanuts4132@peanuts41324 ай бұрын
  • Just make a PromptTemplate, which we wont show you an example of for audio. have fun ;)

    @peanuts4132@peanuts41324 ай бұрын
  • nice intro, but annoying reading (no breaks between sentences).

    @user-wi3db6wu8d@user-wi3db6wu8d10 ай бұрын
  • What a video 🥹🥹❤️❤️❤️ the meme content 🤌🏻

    @himanikumar7979@himanikumar797910 ай бұрын
  • Great video! I enjoyed the simplicity of the explanation

    @vampirekabir8356@vampirekabir83564 ай бұрын
KZhead