LangChain Explained In 15 Minutes - A MUST Learn For Python Programmers

2024 ж. 14 Мам.
120 843 Рет қаралды

If you write code in Python and are the slightest bit interested in AI, then you NEED to check out Langchain. Today I will give you an introduction to this new framework that allows you to build AI applications in Python & Javascript.
Checkout "How to Use ChatGPT at Work" for FREE from the sponsor of this video, HubSpot! clickhubspot.com/lhh
🎓 Premium Courses
🏢 CourseCareers coursecareers.com/a/techwitht...
🔗 BlockchainExpert algoexpert.io/blockchain (use code “tim”)
💻 ProgrammingExpert programmingexpert.io/tim (use code “tim”)
🎓 Free Courses
📚 Introduction To Software Development coursecareers.com/a/techwitht...
⏳ Timestamps
00:00 | Introduction
00:48 | Installation/Setup
02:16 | Free ChatGPT Resource
03:18 | Using LangChain
04:41 | Open API Key
04:58 | Multiple Messages
06:06 | Prompt Templates
08:08 | Output Parser
10:42 | Creating a Chain
12:09 | SQL Example
13:26 | Q&A Example
14:29 | Choose Your Own Adventure Game
🔗 Socials
📸 Instagram / tech_with_tim
🐦 Twitter / techwithtimm
💬 Discord / discord
🤝 LinkedIn / tim-ruscica-82631b179
🌐 Website techwithtim.net
💾 GitHub github.com/techwithtim
Support
👕 Merch teespring.com/stores/tech-wit...
💵 Donations www.paypal.com/donate?hosted_...
🙏 Patreon / techwithtim
🔖 Tags
- Tech With Tim
- Langchain
- Langchain Tutorial
Hashtags
#langchain
#ai
#python

Пікірлер
  • As always crisp content Sir! I love it, thank you 🙏

    @hugoczerniawski166@hugoczerniawski1664 ай бұрын
  • I literally started looking into LangChain a couple days ago. Glad to have one of your videos as a guide!

    @arbyyyyh@arbyyyyh5 ай бұрын
  • As a person studying AI and DS as their major I think this library could be very helpful in working with AI in python as I was used to doing this stuff separately while this library clubs it all in , great video!

    @xtremecubez3751@xtremecubez37515 ай бұрын
  • Thank you Tim for making me Context Aware

    @user-ts9ks8in2n@user-ts9ks8in2n5 ай бұрын
  • Just know you are a hero to millions love your content easily a top 10 content creator

    @KaramAlayan@KaramAlayan5 ай бұрын
  • I came here after taking a short course by the co-founder of LangChain. I'm sure he's a brilliant programmer, but Tim's explanations are much clearer, easier to follow. Thank you!

    @sdaiwepm@sdaiwepmАй бұрын
  • This video came across while I was working on my flight control software. I'm gonna add this as a copilot

    @Scitus@Scitus4 ай бұрын
  • Have always been your fan TWT, Thanks for the valuable content

    @alimihakeem841@alimihakeem8415 ай бұрын
  • Thank you for great content 🙏

    @Vikasptl07@Vikasptl075 ай бұрын
  • Thanks very much, Tim! This is perfect timing for a knowledgebase project at work.

    @vektracaslermd743@vektracaslermd7435 ай бұрын
  • Liked, Subscribed and going to check out next ones! ❤

    @goldenpiece7087@goldenpiece70874 ай бұрын
  • Just got a job building with LangChain! Thanks Timothy.

    @Mr.Nichols@Mr.NicholsАй бұрын
  • Great video, thank you! please do a video on how to use langchain with open source llms such as llama or hugging face models ( locally or on the cloud)

    @abdelfattahkrita1590@abdelfattahkrita15902 ай бұрын
  • "AI startups" going through the roof after this

    @timz2917@timz29175 ай бұрын
    • 😂

      @nagamanikanta9974@nagamanikanta99744 ай бұрын
    • Starts up made by ai

      @big123lak@big123lak4 ай бұрын
    • Most of them are basically chat gpt filtered

      @dompretcloud2@dompretcloud215 күн бұрын
  • Is there a way to cut and glue multiple models together? I mean... if an existing code ai had a memGPT inspired tokenizer or smt, then it would be so much easier...

    @techdiyer5290@techdiyer52904 ай бұрын
  • Well for once I feel ahead of the curve having used this package already in my current projects. 

    @Rickety3263@Rickety32635 ай бұрын
  • great video, thanks !

    @alamireda88@alamireda8826 күн бұрын
  • Awesome video. I'll be using it with ollama

    @johnsummers101@johnsummers101Ай бұрын
  • What advantage dis-atvantage of using toml instead of dotenv?

    @Richard_GIS@Richard_GIS5 ай бұрын
  • How is this different from using the assistants api from openai ?

    @agdmp1188@agdmp11885 ай бұрын
  • helped a lot! but can i replace openai with other open-sourced llms? thx

    @litttlemooncream5049@litttlemooncream50492 ай бұрын
  • @tim you said you'd link, in the description, to your video with a code your own adventure example, but I don't see it.

    @StephenAkins@StephenAkins4 ай бұрын
  • Hi Tim - I recently enrolled in your course careers program (so far its amazing), I just have a question. I want to do the front end development specialization, but it automatically put me in the fundamental software development course. So after we complete this fundamental course, along with the final exams, will we be automatically prompted to select a specialization or how does it work? Thanks.

    @Niksuniverse80@Niksuniverse805 ай бұрын
    • Yes you will be prompted! You can select whichever one you like, you just need to pass the fundamentals first :)

      @TechWithTim@TechWithTim5 ай бұрын
  • How about storing features and embeddings using llm?

    @DrAIScience@DrAIScience3 ай бұрын
  • Hy Tim... Thanks for all your amazing content. Why do you install the libraries in your tutorials (always) in your global python environment?

    @christoph231090@christoph2310905 ай бұрын
    • Just makes it a bit faster

      @TechWithTim@TechWithTim5 ай бұрын
    • @@TechWithTimok, faster coder or faster video production 😅 Aren't you running into conflicts with all the libraries in your main python?

      @christoph231090@christoph2310905 ай бұрын
    • surprisingly not too often!@@christoph231090

      @TechWithTim@TechWithTim5 ай бұрын
    • nixos_user left the chat

      @serpent213@serpent2133 ай бұрын
    • How do you get paid? For example. For the example do you work with affiliate plans?

      @henrygagejr.-founderbuildg9199@henrygagejr.-founderbuildg91993 ай бұрын
  • Hey I am having some error running the programs shown can you help me out

    @night5302@night53025 ай бұрын
  • Question answering currently is with RAG pattern, so everything in this video change now, the most part of the code

    @christianmagnus1003@christianmagnus1003Ай бұрын
  • I am encountering problems while importing chat_models module from langchain main module it says the module doesnt exist even though i installed everything correctly i searched on internet but nothing fruitful came up so any help would be appreciated

    @ashutoshswami5067@ashutoshswami50674 ай бұрын
    • me too

      @savagepeacemaker@savagepeacemaker3 ай бұрын
  • Thanks. FreePS

    @forfreeStory@forfreeStory5 ай бұрын
  • good ❤❤

    @Senura_De_Alwis@Senura_De_Alwis5 ай бұрын
  • Chat GPT is not an open AI Model. What do you mean with Open ai model ?

    @florianmattausch8563@florianmattausch85634 ай бұрын
  • Hey Tim, as I try to install langchain, I keep getting the same error. "zsh: no matches found: langchain[llms]" I'm not sure how to fix this. Any help would be appreciated.

    @bellak820@bellak8202 ай бұрын
    • write it as this pip install " langchain[llms]" or just do pip install langchain

      @kaushik.aryan04@kaushik.aryan042 ай бұрын
    • @@kaushik.aryan04 that works, however the langchain[llms] package doesnt appear anymore on their get-started page, so I guess I would just do what is langchain's most updated suggestion

      @mrurm9496@mrurm9496Ай бұрын
  • please do a video using Llama api

    @omarnaser8291@omarnaser82914 ай бұрын
  • Wow - this library can inject a string into another string!

    @magnusbrzenk447@magnusbrzenk4472 ай бұрын
  • Can you make a tutorial on creating a neural network library from scratch?

    @pravachanpatra4012@pravachanpatra40125 ай бұрын
    • Can you make a tutorial on creating a neural network library from scratch?

      @pravachanpatra4012@pravachanpatra40125 ай бұрын
    • Can you make a tutorial on creating a neural network library from scratch?

      @pravachanpatra4012@pravachanpatra40125 ай бұрын
    • Can you make a tutorial on creating a neural network library from scratch?

      @pravachanpatra4012@pravachanpatra40125 ай бұрын
    • Can you make a tutorial on creating a neural network library from scratch?

      @pravachanpatra4012@pravachanpatra40125 ай бұрын
    • why did u say that 5 times? @@pravachanpatra4012

      @rosenvladev9654@rosenvladev96542 ай бұрын
  • Hello Tech with Tim. My goal is to become a good ML,AI expert because there are some ideas i have in my mind and I have learned many things from KZhead,Google but still I don't have the necessary ML,AI skills to make them. So what do you think I should do? Like should i get a job? or buy a course? or something else?

    @karani2677@karani26775 ай бұрын
  • just remember gang, chat gpt api is REALLY expensive.

    @get_downed_boi6270@get_downed_boi62705 ай бұрын
  • 👍

    @amansaxena4827@amansaxena48275 ай бұрын
  • Ok so let’s hear what kind of projects u guys are going to make using this langchain api!

    @st3ady@st3ady4 ай бұрын
  • using powershell is madness bro

    @EagerEggplant@EagerEggplant3 ай бұрын
    • What do you use?

      @TechWithTim@TechWithTim3 ай бұрын
  • See? At 1:57, even pip is telling the presenter how to install packages properly, but he ignores it and just keeps on going like an Energizer 🐇 Bunny.

    @richardbennett4365@richardbennett43654 ай бұрын
  • I can already list jobs in a company to be replaced by this. and many more with upcoming multi modal capabilities. this will disrupt labor market significantly

    @AndriCloud@AndriCloud4 ай бұрын
  • Second

    @print-Ch1@print-Ch15 ай бұрын
  • After watching this tutorial "I see a suit of armor around the world " cough cough Ultron cough .

    @eftehassan9969@eftehassan99695 ай бұрын
  • LangChain is by no means new. In fact, it even older than ChatGPT!

    @stickmanland@stickmanland4 ай бұрын
  • What is difference between langchain use and chatgpt directly use?

    @PANDURANG99@PANDURANG993 ай бұрын
  • E

    @UncopylockedBusiness@UncopylockedBusiness5 ай бұрын
  • 1st = 'First' print(f'{1st}')

    @rizenrik@rizenrik5 ай бұрын
    • invalid, variable can't start on numbers XD

      @sadlife7710@sadlife77105 ай бұрын
    • good point 😁@@sadlife7710

      @mkk-un9nz@mkk-un9nz5 ай бұрын
    • Observational test passed 😅😂

      @rizenrik@rizenrik5 ай бұрын
    • ​@@rizenriki failed 🤦‍♂️

      @mrsonicboy.@mrsonicboy.4 ай бұрын
  • andd its all already deprecated.

    @photon2724@photon27242 ай бұрын
    • yeah everything is changed

      @kaushik.aryan04@kaushik.aryan042 ай бұрын
  • can you make a vid on how to find a wife as a 10x programmer? i have problems

    @dermenschistweilesglaubtda41@dermenschistweilesglaubtda415 ай бұрын
    • I too have that problem

      @TechWithTim@TechWithTim5 ай бұрын
  • Doesn't work.. at least it doesn't for me a month after the release of this video.

    @savagepeacemaker@savagepeacemaker3 ай бұрын
    • lol 😂

      @Sich97@Sich97Ай бұрын
  • Disapppointed. What about vectordb ? Retrievers ? Web browsing ? Etc. You didnt get more than 20% og what langchain is capable of.

    @ollie6845@ollie68454 ай бұрын
  • You can’t be bothered with an environment? Or at least mention it ?

    @fkxfkx@fkxfkx4 ай бұрын
  • I miss the old TWT. He looks like he’s going to be an old bald guy now

    @AyahuascaDataScientist@AyahuascaDataScientist5 ай бұрын
    • Wanna donate some hair?

      @TechWithTim@TechWithTim5 ай бұрын
  • this video is so basic my 4 yr old nephew skipped it

    @rssvg@rssvg15 күн бұрын
KZhead