What Is LangChain? - LangChain + ChatGPT Overview

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • Twitter: / gregkamradt
    Newsletter: mail.gregkamra...
    Overview about why the LangChain library is so cool
    In this video we're going to look at the problem with vanilla ChatGPT and how LangChain comes to the rescue.
    Follow me on Twitter
    Personal: / gregkamradt

ความคิดเห็น • 148

  • @Sci-fi-Si
    @Sci-fi-Si ปีที่แล้ว +2

    My first Agent will be called Agent Smith - what could possibly go wrong?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +2

      One of my next videos is how you spin up multiple agents, what could go wrong?

  • @KiranSharma-ey6xp
    @KiranSharma-ey6xp ปีที่แล้ว +1

    Requested HD videos, max resolution is 720 here for video

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Stick w/ the playlist! They get better, I invested in my setup to help make better content

  • @Sci-fi-Si
    @Sci-fi-Si ปีที่แล้ว +9

    By the way, thanks for this, it's very well presented, coherent and easy to follow 😀

  • @adgedenkers
    @adgedenkers ปีที่แล้ว +6

    Can you do a tutorial on using locally running Alpaca with Lanchain? I need to use a LLM that can be used for sensitive information that we index and load into the LLM as context. Your videos are great man -- keep it up, I appreciate what you're doing!

  • @AliAliOxenFree
    @AliAliOxenFree ปีที่แล้ว +5

    This is really interesting. My boss told me to look into langchain and i think this playlist will give me some valuable insight to go along with the official documentation!
    earned a new sub

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Nice! Sounds great, I would recommended checking out the core concepts + use cases video as a good next step

  • @bobthebuilder777ish
    @bobthebuilder777ish ปีที่แล้ว +8

    This is exactly what I've been looking for and thanks for the really good intro!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Glad you like it!

    • @staminadaddy
      @staminadaddy ปีที่แล้ว

      Let's go Gators, swore I knew a dude with your exact name

  • @DonjiKong
    @DonjiKong ปีที่แล้ว +4

    Save yourself time, video starts at 1:41

  • @jakobkristensen2390
    @jakobkristensen2390 ปีที่แล้ว +4

    Now that OpenAI announced ChatGPT plugins, how relevant is LangChain? What usecases does it have that ChatGPT doesn't? Are there any obvious way these two could work together to complement each other?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Check out my latest video on the 7 core concepts of LangChain.
      Plugin's are 1 aspect of LangChain and they are already working with them in a great way

    • @jakobkristensen2390
      @jakobkristensen2390 ปีที่แล้ว

      @@DataIndependent I literally just swallowed your entire playlist in a couple of hours, thank you 🤣

    • @1MinuteFlipDoc
      @1MinuteFlipDoc ปีที่แล้ว

      @@jakobkristensen2390 totally agree! spitters are quitters! LOL

  • @venkats4181
    @venkats4181 วันที่ผ่านมา

    Excellent series for beginners, thank you Greg.

  • @Sky_Hustle
    @Sky_Hustle ปีที่แล้ว +1

    Isn't OpenAi building direct integrations to the tools we are using every day by rolling out Plugins? If so, langchain is losing the bet?

  • @andrewreeves6264
    @andrewreeves6264 ปีที่แล้ว +1

    so can langchain then connect chatgpt intelligence to our mdm database and therefore provide insight into the data in the form of either chat bots or other ?

  • @jajpa_
    @jajpa_ ปีที่แล้ว +26

    LOL. Well they did it

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +4

      Yep - super cool to see what's happening

    • @nickle485
      @nickle485 ปีที่แล้ว +6

      Yeah doesn’t plugins compete with langchain?

    • @honhon4463
      @honhon4463 ปีที่แล้ว

      @@nickle485 point is langchain can work with other free llm

    • @marcussafar687
      @marcussafar687 ปีที่แล้ว +6

      This video didn't age well AT ALL

    • @Tehbom
      @Tehbom ปีที่แล้ว +10

      Imagine watching this video and thinking plugins for ChatGPT is the same thing 🤦‍♂️

  • @mdbrable
    @mdbrable ปีที่แล้ว +1

    Thank you for this, subscribing and diving into the other videos. One question - what app did you use to record the video? Thanks!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +2

      In the beginning I used loom, but now I use OBS and edit with davinci resolve

  • @nattapongthanngam7216
    @nattapongthanngam7216 5 หลายเดือนก่อน +1

    Thanks a bunch! I spent the long weekend here in Thailand catching up on your videos and following your coding instructions. This video on LangChain was super helpful [What Is LangChain? - LangChain + ChatGPT Overview]! I just finished this one and I'm excited to keep going through your playlist. Thanks again!

  • @Ubliquity
    @Ubliquity ปีที่แล้ว +5

    Great series, Thanks for breaking it down to smaller chunks

  • @manojreddy152
    @manojreddy152 ปีที่แล้ว +1

    Just subscribed, it's clear to the point🙂

  • @Amr-Ibrahim-AI
    @Amr-Ibrahim-AI ปีที่แล้ว +2

    Thank you for putting this together. Much appreciated.

  • @futureskyline2033
    @futureskyline2033 ปีที่แล้ว +10

    Nice Intro! Looks to me, this is the flow orchestration system that specializes in LLMs tasks & components. This category of products exists already for other data automation solution, but now, LangChain is focusing on their LLM ecosystem building. That is my guess.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Check out my latest video here for a better overview of the material
      th-cam.com/video/2xxziIWmaSA/w-d-xo.html

  • @anandsheth5490
    @anandsheth5490 ปีที่แล้ว +2

    Curious to know about data privacy. Any idea if langchain sends our data over to OpenAPI and then OpenAPI can use that data?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      OpenAI (or any LLM you use) will only have access to the pieces you send over to them. For example we load up 5-10 essays to LangChain. But to answer a questions about those docs we only send 4 smaller chucks over to OpenAI.
      So if you're worried about OpenAI seeing any of your data, then yes there are privacy concerns. They no doubt are using your data to train more models, beyond that I'm not sure what they are doing with it.

    • @anandsheth5490
      @anandsheth5490 ปีที่แล้ว +2

      @@DataIndependent Thats what I thought. As a use case, folks need to be careful about implementing summarizations or q&a chatbots with their personal data. For businesses, this is an issue and thus not likely a good solution.

    • @Raaaaaaaandie
      @Raaaaaaaandie ปีที่แล้ว +2

      There was a recent change to the openai TOS where they state that your prompts won’t be used to train the model moving forward. They do keep the data for 30 days for abuse detection.

    • @koganin9
      @koganin9 ปีที่แล้ว

      @@anandsheth5490 This is good to know, thank you! Is there a potential workaround to this? (Using the model but without sending the data over)

    • @anandsheth5490
      @anandsheth5490 ปีที่แล้ว +1

      @@koganin9 well they changed the terms of the API where they will not store the data

  • @allisonmarquette2862
    @allisonmarquette2862 ปีที่แล้ว +1

    I'm a teacher and I really like your style! and info!

  • @spicer41282
    @spicer41282 ปีที่แล้ว +1

    Nice Intro into LangChain. Sub'd and 👍Liked!
    Look forward in viewing the other 4 to begin with. I saw you had Vid on Webscraping. I'd like to request a LangChain process / project? in that direction.
    Keep it Going 💯!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Nice thank you. Yes please request away.
      What problem are you trying to solve?

  • @geekyprogrammer4831
    @geekyprogrammer4831 ปีที่แล้ว +1

    Subscribed! Amazing intro to langchain!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Awesome glad that worked out - What else would you like to see?

  • @pedro7ucio
    @pedro7ucio ปีที่แล้ว

    Can I starded with LangChain? Is it recommended for a beginner?
    I have a idea about an project to do

  • @Fluffynix
    @Fluffynix ปีที่แล้ว

    How does this compare to Haystack which has been around for years?

  • @bestbubbledev
    @bestbubbledev ปีที่แล้ว

    Now as we know that OpenAI introduced plugins does it make Langchain obsolete?! 🤔

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Not at all.
      Check out my latest video on the 7 core concepts of LangChain which show why it's still extremely important

  • @haydnmann7736
    @haydnmann7736 ปีที่แล้ว +1

    This series is awesome, building these bots is so easy!

  • @legaldesigndo
    @legaldesigndo ปีที่แล้ว

    How is this technology not threatened by OpenAI's ChatGPT plugins?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Check out my video on the 7 core concepts which should help clear it up

  • @10points56
    @10points56 ปีที่แล้ว

    Hey Greg, can you please do a tutorial on how to use langchain for figma. Langchain have docs for that but probably I am not getting it wrong. Hopes on you...

  • @ximingdong503
    @ximingdong503 ปีที่แล้ว

    very good, could you share the ppt?

  • @adamgdev
    @adamgdev ปีที่แล้ว

    Found your playlist on the Langchain site. Planning to go through the entire playlist. I'm running a macbookpro with an Intel chip. Do you think there will be issues running Langchain on my machine? Many thanks in advance!!

    • @Nickelchainz
      @Nickelchainz ปีที่แล้ว

      You should probably invest in building a pc or buy a gaming laptop as you’re going to be ask to run code etc. You might be able to do some things on the macbook pro tho

  • @matija-ziberna
    @matija-ziberna ปีที่แล้ว

    How does the introduction of ChatGPT plugins change the scene?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Check out my latest video on the 7 core concepts of LangChain to see why it's important

  • @aiprompt
    @aiprompt ปีที่แล้ว

    the best explanation on the internet! Thanks youu

  • @LeoBeastMK
    @LeoBeastMK ปีที่แล้ว

    Anyone do this please improve your chunk process from data randomly cut from middle data any one can create this kind of pipeline

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      I would love to see a note on how you think this should be done. It's a super cool concept

  • @mrz-dev
    @mrz-dev ปีที่แล้ว

    What tool is he using for recording the video?
    Anyone Please help!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Old videos I used regular loom and my webcam (Logitech brio)
      For new videos I use OBS to record and a Sony camera with lens

  • @Sarim643
    @Sarim643 7 หลายเดือนก่อน

    Hello can you tell me the prerequisites for this series?
    Thanks

    • @DataIndependent
      @DataIndependent  7 หลายเดือนก่อน

      Hey! Just an eager to learn and a bit of python, not much!

  • @eminhasanov
    @eminhasanov ปีที่แล้ว

    Nice explanation.
    Thanks

  • @ashishahuja8605
    @ashishahuja8605 ปีที่แล้ว

    with release of plugin functionality, is langchain going to be relevant in future

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Yes - check out my latest video on the 7 core concepts of LangChain and why its super important

  • @crazycouplenyc
    @crazycouplenyc ปีที่แล้ว

    Does the release of plug-ins for open ai mean langchain isn't needed?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Not at all - check out my latest video on the 7 core concepts to see everything else it does

  • @BrianHancock-d6s
    @BrianHancock-d6s ปีที่แล้ว

    You had me at RoaringKitty. Lol our sweet, wholesome boy!

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Right?? I like throwing fun references in there. That was a wild time with RK

  • @andrewcraswell4117
    @andrewcraswell4117 ปีที่แล้ว

    This is the missing playlist I've been searching the past two weeks for xD

  • @sachinrathi7814
    @sachinrathi7814 ปีที่แล้ว

    Awesome content. Subscribed !!!

  • @amitchaudhary6
    @amitchaudhary6 ปีที่แล้ว

    Really exciting video. My request to you, please record videos in 1048p.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      This was before I switched over to obs. New videos are better.

    • @amitchaudhary6
      @amitchaudhary6 ปีที่แล้ว

      @@DataIndependent I completely understand. Really appreciate your work and love it.

  • @ADHDOCD
    @ADHDOCD ปีที่แล้ว

    Great video. What is Pinecone? Langchain in the cloud?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Pineone is a vectorstore which is a fancy way of saying a database that can hold embeddings or vectors.
      LangChain is a python (and js) library to help you manage LLMs

  • @jefferywilliams4209
    @jefferywilliams4209 ปีที่แล้ว

    Yes we are toast

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      How do you think this story will play out?

  • @jj342
    @jj342 ปีที่แล้ว

    Are plugins similar to langchain?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Yes, both are ways to connect LLMs to the outside world. OpenAI has some tools and LangChain connects them as well. You'd use LangChain when you want more control

  • @leonardt8177
    @leonardt8177 7 หลายเดือนก่อน

    It is cool

  • @kombosabinho
    @kombosabinho ปีที่แล้ว

    Hey man! Thanks for taking the time to make this video. I really appreciate it 🎉 Peace bro

  • @zerge69
    @zerge69 ปีที่แล้ว

    So basically Langhchain is for people who don't know how to program in Python?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      What Pandas is to data analysis, LangChain is to create LLM apps.
      Do you do raw python when analyzing data too?

    • @zerge69
      @zerge69 ปีที่แล้ว

      @@DataIndependent No, but I do build my own LLM implementations because the OpenAI is already highly abstracted. I found little value in Langchain

  • @MatthewLeeSantos
    @MatthewLeeSantos ปีที่แล้ว

    Good video, but why is the video quality so low? =/

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      I went scrappy to start and this was on Loom to get content out. I’ve moved to OBS and have other upgrades coming soon too.
      Thanks for the comment!

  • @jorgecantero7101
    @jorgecantero7101 ปีที่แล้ว

    Really nice Nico!!! Really well explained!! It'll be really aweson see much more , and one end to end app with js

  • @angelbythewings
    @angelbythewings ปีที่แล้ว

    please increase the video quality

  • @josecoverlessons
    @josecoverlessons ปีที่แล้ว

    Excellent Video, However you should make a new one, as it seems ChatGPT will have extensions.

    • @josecoverlessons
      @josecoverlessons ปีที่แล้ว

      Nice catch by suggesting it was a bet that Chat GPT would want to stay on the API side, seems like its a platform now.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Ya, you're right. Technically OpenAI didn't create tools, they allowed others to integrate into them.

    • @josecoverlessons
      @josecoverlessons ปีที่แล้ว

      @@DataIndependent Yes, it seems the future is yet to be seen exactly!
      great video thank you so much for making it! doing some cool things with this knowledge! maybe in the future, we can collaborate! :D

  • @oshodikolapo2159
    @oshodikolapo2159 ปีที่แล้ว

    Just what I'm looking for, the practical aspect. Thanks

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว +1

      Glad it was helpful! Be sure to check out the '7 core concepts' video for more in depth explanation

  • @KunjaBihariKrishna
    @KunjaBihariKrishna ปีที่แล้ว +3

    I'm trying to understand how this works vs fine-tuning. Ultimately, I don't care about the difficulty of setting it up. I just need the best result.
    I did a test with langchain and the results are quite good, but not nearly good enough. It's ok for most businesses I guess. But not for anything that involves complex or sensitive data.
    I have access to thousands of saved tech-support and user-education conversations regarding our knowledge base. But I doubt that simply putting those into a fine-tuning format is going to eliminate hallucination.
    So there's probably a huge amount of human work that would need to be put in preparing the data:
    1. To remove anything that might potentially be ambiguous or confusing tot he LLM
    2. To remove outdated information
    3. To (somehow?) make sure that the LLM understands the difference between the information given/explained and the examples used to do so
    - Which means that it would need a separate database of explicitly defined variables to ensure it can correctly interpret/understand the explanations given in the training data (Which, in my use case, would be thousands of variables. Though these can probably just be tucked in arrays, so that shouldn't be too difficult)
    4. Figure out how the LLM interprets training data which contains prolonged conversations with people who had trouble understanding things.
    - Will it take the confusing/frustration/struggle-to-understand from users and end up copying that into its own behavior?
    - Do I need to weed out conversations that involved discussion about multiple topics, or is the LLM able to discern that?
    And so on, and so on..
    There are too many unknowns for me at the moment.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Nice! Thank you for the comment. I was thinking about this topic with a friend as well. Companies have 1000s of examples of support related cases that can be used as training material.
      My guess is that a solid level of pre-processing and example selection will give you the best results. It depends on how easy your requests are.
      Ex: Reset my password vs "provision me a new server with XYZ specs"

    • @thebicycleman8062
      @thebicycleman8062 ปีที่แล้ว

      well thats ur main problem right there @ruben u r using the wrong method to achieve wht u want - for wht u r trying to do FINETUNING is NOT at all the method u shod be using. instead u shod be using SE

    • @cameron4150
      @cameron4150 ปีที่แล้ว

      @@thebicycleman8062 SE?

    • @StreamSport-o9h
      @StreamSport-o9h 13 วันที่ผ่านมา

      @@thebicycleman8062 What is SE?

  • @supercheapme
    @supercheapme ปีที่แล้ว +2

    Bad bet

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      I didn't think OpenAI would integrate with 3rd parties. However it was the reverse that came true, 3rd parties opened up their APIs for all LLMs to use.
      Either way I thought OpenAI would want to stay on the intelligence level rather than going after actions but their solution is elegant

  • @suenjyhbin4306
    @suenjyhbin4306 ปีที่แล้ว

    Nice share👍

  • @cruepprich
    @cruepprich ปีที่แล้ว

    Thanks. Lots of potential here.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Nice glad to hear it - what're some of the ideas you have?

    • @cruepprich
      @cruepprich ปีที่แล้ว

      @@DataIndependent my company has a huge confluence library. It would be nice to have ChatGPT learn it.

  • @AyushSharma-ux4fk
    @AyushSharma-ux4fk ปีที่แล้ว

    3:50 ah, we have aged! Haven't we?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      It was a different time! However, they didn't build direct integrations into those tools...The tools open sources LLM-friendly plugins for any LLM to use them.
      LangChain can integrate with them today

    • @AyushSharma-ux4fk
      @AyushSharma-ux4fk ปีที่แล้ว

      @@DataIndependent yea langchain is still amazing. Talking about amazing - you are amazing too my man. I am watching your entire playlist right now.

  • @maverick456-33
    @maverick456-33 ปีที่แล้ว

    1080p plz

  • @0xeb-
    @0xeb- ปีที่แล้ว

    Good work. Thank you.

  • @mikemansour1166
    @mikemansour1166 ปีที่แล้ว

    Thanks Greg , Amazing Video

  • @neon_Nomad
    @neon_Nomad ปีที่แล้ว

    Thank you

  • @ISAAKKUSH
    @ISAAKKUSH ปีที่แล้ว

    Super excited!

  • @MartinShadow-q7v
    @MartinShadow-q7v ปีที่แล้ว +3

    Your course has benefited me a lot. Would it be possible for you to share the PPTs used in your lectures? Thank you very much.

  • @SaadKingsta
    @SaadKingsta ปีที่แล้ว

    great video but for a 6 minute video, the first 2.30 minutes didnt add any value. just wanted to add that.

  • @jodyhatton2203
    @jodyhatton2203 ปีที่แล้ว

    First off, I loved the video! Thanks a lot for making it.
    Second, all the comments now are "ooh, plugins plugins, LangChain is obsolete." But it seems there's a waitlist? Are plugins usable immediately? It seems LangChain is ready to go...
    What I'm really going after -- the ability to train ChatGPT with peer-reviewed studies and have it answer questions based on what it just learned. What is the most efficient way today ... is there already a plugin for that or should I move ahead with LangChain? (Father of a newborn, I have ZERO time and need to be super-frugal with where I spend my "free" time...)
    Thanks a lot.

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      > Waitlist
      Yep there is
      > Available immediately?
      Not yet, more need to be built
      Check out my latest video on the 7 core concepts of langchain to see why it's still important
      Nice use case, check out the latest LangChain webinar (link likely on twitter) which covered this exact use case. You could also use a tool like chatbase which has this built out of the box

    • @jodyhatton2203
      @jodyhatton2203 ปีที่แล้ว

      @@DataIndependent awesome! Thanks a lot, I appreciate your reply (and expertise).

  • @mzzzz3
    @mzzzz3 ปีที่แล้ว

    didn't open ai reveal they will allow plugins? wouldn't that make this obsolete ?

    • @davidconsumerofmath
      @davidconsumerofmath ปีที่แล้ว +1

      perhaps, but that only came out today! While LangChain has been around for over a month, that's a loooong time in the AI world

    • @mzzzz3
      @mzzzz3 ปีที่แล้ว

      @@davidconsumerofmath agreed, and if i am not mistaken open ai allows plugins to chatgpt where LangChain can allow you to integrate into your environment easier? or am i wrong?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      You're right. Because Plugins are open, other LLMs (and LangChain) can work with them as well.
      LangChain takes care of a lot of functionality behind the scenes that gives you more control on how your programs actually run.

  • @8bitersxxx
    @8bitersxxx ปีที่แล้ว

    What do you think about plugins system that has just been released by OpenAI, it enable ChatGPT to communicate with other service like Wolfram, will it replace LangChain?

    • @DataIndependent
      @DataIndependent  ปีที่แล้ว

      Check out my latest video. I go over the 7 core concepts of Langchain and 6 of them deal with things other than plugins