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

  Рет қаралды 124,731

Tech With Tim

Tech With Tim

Күн бұрын

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

Пікірлер: 86
@hugoczerniawski166
@hugoczerniawski166 5 ай бұрын
As always crisp content Sir! I love it, thank you 🙏
@arbyyyyh
@arbyyyyh 5 ай бұрын
I literally started looking into LangChain a couple days ago. Glad to have one of your videos as a guide!
@xtremecubez3751
@xtremecubez3751 5 ай бұрын
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!
@sdaiwepm
@sdaiwepm 2 ай бұрын
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!
@Scitus
@Scitus 4 ай бұрын
This video came across while I was working on my flight control software. I'm gonna add this as a copilot
@Mr.Nichols
@Mr.Nichols Ай бұрын
Just got a job building with LangChain! Thanks Timothy.
@KaramAlayan
@KaramAlayan 5 ай бұрын
Just know you are a hero to millions love your content easily a top 10 content creator
@user-ts9ks8in2n
@user-ts9ks8in2n 5 ай бұрын
Thank you Tim for making me Context Aware
@alimihakeem841
@alimihakeem841 5 ай бұрын
Have always been your fan TWT, Thanks for the valuable content
@vektracaslermd743
@vektracaslermd743 5 ай бұрын
Thanks very much, Tim! This is perfect timing for a knowledgebase project at work.
@timz2917
@timz2917 5 ай бұрын
"AI startups" going through the roof after this
@nagamanikanta9974
@nagamanikanta9974 5 ай бұрын
😂
@big123lak
@big123lak 5 ай бұрын
Starts up made by ai
@dompretcloud2
@dompretcloud2 Ай бұрын
Most of them are basically chat gpt filtered
@Vikasptl07
@Vikasptl07 5 ай бұрын
Thank you for great content 🙏
@techdiyer5290
@techdiyer5290 5 ай бұрын
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...
@abdelfattahkrita1590
@abdelfattahkrita1590 3 ай бұрын
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)
@goldenpiece7087
@goldenpiece7087 4 ай бұрын
Liked, Subscribed and going to check out next ones! ❤
@alamireda88
@alamireda88 Ай бұрын
great video, thanks !
@johnsummers101
@johnsummers101 Ай бұрын
Awesome video. I'll be using it with ollama
@Richard_GIS
@Richard_GIS 5 ай бұрын
What advantage dis-atvantage of using toml instead of dotenv?
@Rickety3263
@Rickety3263 5 ай бұрын
Well for once I feel ahead of the curve having used this package already in my current projects. 
@Niksuniverse80
@Niksuniverse80 5 ай бұрын
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.
@TechWithTim
@TechWithTim 5 ай бұрын
Yes you will be prompted! You can select whichever one you like, you just need to pass the fundamentals first :)
@agdmp1188
@agdmp1188 5 ай бұрын
How is this different from using the assistants api from openai ?
@StephenAkins
@StephenAkins 4 ай бұрын
@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.
@litttlemooncream5049
@litttlemooncream5049 3 ай бұрын
helped a lot! but can i replace openai with other open-sourced llms? thx
@DrAIScience
@DrAIScience 4 ай бұрын
How about storing features and embeddings using llm?
@christoph231090
@christoph231090 5 ай бұрын
Hy Tim... Thanks for all your amazing content. Why do you install the libraries in your tutorials (always) in your global python environment?
@TechWithTim
@TechWithTim 5 ай бұрын
Just makes it a bit faster
@christoph231090
@christoph231090 5 ай бұрын
@@TechWithTimok, faster coder or faster video production 😅 Aren't you running into conflicts with all the libraries in your main python?
@TechWithTim
@TechWithTim 5 ай бұрын
surprisingly not too often!@@christoph231090
@serpent213
@serpent213 4 ай бұрын
nixos_user left the chat
@henrygagejr.-founderbuildg9199
@henrygagejr.-founderbuildg9199 3 ай бұрын
How do you get paid? For example. For the example do you work with affiliate plans?
@night5302
@night5302 5 ай бұрын
Hey I am having some error running the programs shown can you help me out
@ashutoshswami5067
@ashutoshswami5067 5 ай бұрын
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
@savagepeacemaker
@savagepeacemaker 4 ай бұрын
me too
@christianmagnus1003
@christianmagnus1003 2 ай бұрын
Question answering currently is with RAG pattern, so everything in this video change now, the most part of the code
@florianmattausch8563
@florianmattausch8563 4 ай бұрын
Chat GPT is not an open AI Model. What do you mean with Open ai model ?
@bellak820
@bellak820 3 ай бұрын
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.
@kaushik.aryan04
@kaushik.aryan04 2 ай бұрын
write it as this pip install " langchain[llms]" or just do pip install langchain
@mrurm9496
@mrurm9496 2 ай бұрын
@@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
@forfreeStory
@forfreeStory 5 ай бұрын
Thanks. FreePS
@Senura_De_Alwis
@Senura_De_Alwis 5 ай бұрын
good ❤❤
@omarnaser8291
@omarnaser8291 5 ай бұрын
please do a video using Llama api
@magnusbrzenk447
@magnusbrzenk447 3 ай бұрын
Wow - this library can inject a string into another string!
@karani2677
@karani2677 5 ай бұрын
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 KZfaq,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?
@pravachanpatra4012
@pravachanpatra4012 5 ай бұрын
Can you make a tutorial on creating a neural network library from scratch?
@pravachanpatra4012
@pravachanpatra4012 5 ай бұрын
Can you make a tutorial on creating a neural network library from scratch?
@pravachanpatra4012
@pravachanpatra4012 5 ай бұрын
Can you make a tutorial on creating a neural network library from scratch?
@pravachanpatra4012
@pravachanpatra4012 5 ай бұрын
Can you make a tutorial on creating a neural network library from scratch?
@pravachanpatra4012
@pravachanpatra4012 5 ай бұрын
Can you make a tutorial on creating a neural network library from scratch?
@rosenvladev9654
@rosenvladev9654 3 ай бұрын
why did u say that 5 times? @@pravachanpatra4012
@get_downed_boi6270
@get_downed_boi6270 5 ай бұрын
just remember gang, chat gpt api is REALLY expensive.
@Randomguy48279xyz
@Randomguy48279xyz 5 ай бұрын
👍
@abbasjafary3443
@abbasjafary3443 8 күн бұрын
Please someone answer me Is it completely free or not?
@st3ady
@st3ady 4 ай бұрын
Ok so let’s hear what kind of projects u guys are going to make using this langchain api!
@richardbennett4365
@richardbennett4365 5 ай бұрын
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.
@thelifehackerpro9943
@thelifehackerpro9943 6 күн бұрын
Langchain new version is completely changed, we want tutorial for new version with end to end project
@EagerEggplant
@EagerEggplant 4 ай бұрын
using powershell is madness bro
@TechWithTim
@TechWithTim 4 ай бұрын
What do you use?
@AndriCloud
@AndriCloud 5 ай бұрын
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
@UncopylockedBusiness
@UncopylockedBusiness 5 ай бұрын
E
@eftehassan9969
@eftehassan9969 5 ай бұрын
After watching this tutorial "I see a suit of armor around the world " cough cough Ultron cough .
@PANDURANG99
@PANDURANG99 3 ай бұрын
What is difference between langchain use and chatgpt directly use?
@stickmanland
@stickmanland 4 ай бұрын
LangChain is by no means new. In fact, it even older than ChatGPT!
@photon2724
@photon2724 3 ай бұрын
andd its all already deprecated.
@kaushik.aryan04
@kaushik.aryan04 2 ай бұрын
yeah everything is changed
@print-Ch1
@print-Ch1 5 ай бұрын
Second
@dermenschistweilesglaubtda41
@dermenschistweilesglaubtda41 5 ай бұрын
can you make a vid on how to find a wife as a 10x programmer? i have problems
@TechWithTim
@TechWithTim 5 ай бұрын
I too have that problem
@ollie6845
@ollie6845 4 ай бұрын
Disapppointed. What about vectordb ? Retrievers ? Web browsing ? Etc. You didnt get more than 20% og what langchain is capable of.
@savagepeacemaker
@savagepeacemaker 4 ай бұрын
Doesn't work.. at least it doesn't for me a month after the release of this video.
@Sich97
@Sich97 Ай бұрын
lol 😂
@varunpenumudi
@varunpenumudi 4 күн бұрын
Yes i think this library is changed alot.
@rizenrik
@rizenrik 5 ай бұрын
1st = 'First' print(f'{1st}')
@sadlife7710
@sadlife7710 5 ай бұрын
invalid, variable can't start on numbers XD
@mkk-un9nz
@mkk-un9nz 5 ай бұрын
good point 😁@@sadlife7710
@rizenrik
@rizenrik 5 ай бұрын
Observational test passed 😅😂
@mrsonicboy.
@mrsonicboy. 5 ай бұрын
​@@rizenriki failed 🤦‍♂️
@fkxfkx
@fkxfkx 5 ай бұрын
You can’t be bothered with an environment? Or at least mention it ?
@AyahuascaDataScientist
@AyahuascaDataScientist 5 ай бұрын
I miss the old TWT. He looks like he’s going to be an old bald guy now
@TechWithTim
@TechWithTim 5 ай бұрын
Wanna donate some hair?
@rssvg
@rssvg Ай бұрын
this video is so basic my 4 yr old nephew skipped it
Python AI Choose Your Own Adventure Game - Tutorial
31:09
Tech With Tim
Рет қаралды 281 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 149 МЛН
КАК СПРЯТАТЬ КОНФЕТЫ
00:59
123 GO! Shorts Russian
Рет қаралды 3,1 МЛН
FOOTBALL WITH PLAY BUTTONS ▶️ #roadto100m
00:29
Celine Dept
Рет қаралды 76 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 8 МЛН
The LangChain Cookbook - Beginner Guide To 7 Essential Concepts
38:11
Greg Kamradt (Data Indy)
Рет қаралды 326 М.
What is LangChain?
8:08
IBM Technology
Рет қаралды 133 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 386 М.
PLEASE Use These 5 Python Decorators
20:12
Tech With Tim
Рет қаралды 91 М.
LangGraph 101: it's better than LangChain
32:26
James Briggs
Рет қаралды 43 М.
BREAKING UNITY GAMES (WITH HACKS)
16:11
cazz
Рет қаралды 1,1 М.
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 149 МЛН