Тёмный

Build Your Own Auto-GPT Apps with LangChain (Python Tutorial) 

Dave Ebbelaar
Подписаться 86 тыс.
Просмотров 194 тыс.
50% 1

👉🏻 Kick-start your freelance career in data: www.datalumina.io/data-freela...
This video is an introduction to the Python LangChain library. LangChain is a framework for developing applications powered by language models like OpenAI's GPT-3.5 and GPT-4. I will go over all the modules, provide examples, explain the quick start guide, and then show a demo of an intelligent assistant that can answer questions about any specific RU-vid video. You can use LangChain to build your own intelligent systems, similar to Auto-GPT and BabyAGI. I believe there is an amazing opportunity right now for data scientists and AI engineers to become a front-runner using these tools.
🔗 Links
github.com/daveebbelaar/langc...
python.langchain.com/
⚙️ Copy my VS Code Setup
• How to Set up VS Code ...
⏱️ Timestamps
00:00 Introduction
00:26 What is LangChain
01:19 Job opportunities
02:55 LangChain's Modules
03:47 Models
05:37 Prompts
06:43 Memory
08:21 Indexes
08:58 Chains
11:06 Agents
14:32 Use Case: RU-vid Video Assistant
27:45 Why I am all in on this
28:15 What is Data Freelancer?
👋🏻 About Me
Hey there, my name is ‪@daveebbelaar‬ and I work as a freelance data scientist and coach. You've stumbled upon my RU-vid channel, where I give away all my secrets when it comes to working with data. I'm not here to sell you any data course - everything you need is right here on RU-vid. Making videos is my passion, and I've been doing it for 18 years. I just genuinely enjoy helping people.
While I don't sell any data courses, I do offer a coaching program for data professionals looking to start their own freelance business. If that sounds like you, head over to www.datalumina.io/ to learn more about working with me and kick-starting your freelance career.

Наука

Опубликовано:

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 214   
@daveebbelaar
@daveebbelaar Год назад
What are you going to build with this? 🤑
@infinityshort3988
@infinityshort3988 Год назад
can i add this to my website
@daveebbelaar
@daveebbelaar Год назад
@@infinityshort3988 Yes, you'll need to set up a server-side application to handle the function execution and use JavaScript to communicate between the front-end (HTML and JavaScript) and the back-end (Python). You can use Flask or Django for this.
@john_says_hi
@john_says_hi Год назад
the perfect servant? I feel you excitement. What a cool future and a little scary.
@adriengorrell5169
@adriengorrell5169 Год назад
Not telling you !! Hahaha
@greendsnow
@greendsnow Год назад
Can you please do the same thing with an excel file? splitting dataFrames into 1000 token pieces didn't seem to make sense to me, there's a continueation of data, I might break it if I split it.
@bwilliams060
@bwilliams060 Год назад
This is an excellent video. I’ve been deep diving into LangChain for about a month and this summarised pretty much the extent of what I’ve learnt in 30 mins. Brilliant! Looking forward to watching many more LangChain vids from you Dave. Cheers!
@user-ps3jj1ey5k
@user-ps3jj1ey5k 10 месяцев назад
This is THE best LangChain tutorial on RU-vid
@dmartin6577
@dmartin6577 Год назад
I can feel the doors of understanding unlocking with your great explanation mate! I’m gonna add this video to my assistant’s db so I can always use this awesome resource. Keep it up! I want to see a lot more from you!
@johnpaul4301
@johnpaul4301 Год назад
Great video! Just started working as a developer and got assigned a task that uses langchain. This is very helpful
@davediamond
@davediamond 11 месяцев назад
This has been extremely helpful. As a total noob coder you've made it so easily to understand. Thank you so much!
@PeterDrewSEO
@PeterDrewSEO Год назад
Dude, you are killing it with these videos. Such clear instruction, so helpful Thank you. Got so many script ideas running around my head :)
@daveebbelaar
@daveebbelaar Год назад
Thanks man, really appreciate the kind words! My head is also exploding with ideas haha!
@nathanduncan9396
@nathanduncan9396 Год назад
@@daveebbelaar I agree these are incredible, I'm very grateful that you are sharing these
@MaverickReynolds
@MaverickReynolds Год назад
Man I love this video! Followed along with it this afternoon and everything worked well. Sometimes stuff just doesn't work from some video tutorials but this one really made me feel like the time I spent was worth it! Having a working 'applet' at the end! Thanks so much
@kevon217
@kevon217 Год назад
This was an absolutely illuminating demo. Thanks so much!
@tejasvinnarayan2887
@tejasvinnarayan2887 9 месяцев назад
This i the best AI tutorial I have watched! So much clearer, all codes are given, and more! And there is nothing left to touch to check other videos, go ahead and build apps lol. Amazing github! I will create an app to know when you post new videos lol. Thank you so much, Dave! Please release more on AutoGPT.
@WillSteffen1
@WillSteffen1 Год назад
Killer demo, straight to the point and left me with a really clear idea of how to start implementing in projects. This stuff is turning low code hackers like me into Harry Prompters 😅
@winsonsou
@winsonsou Год назад
Dude you're a rockstar. awesome quality video! Thank you !
@matten_zero
@matten_zero 11 месяцев назад
The best explained Lang Chain video!
@gregcharles92
@gregcharles92 Год назад
This is awesome, thanks Dave!
@Deco354
@Deco354 Год назад
Great tutorial, thanks for this. For any python noobs who get stuck like I did with the dependencies not being found within the downloadable langchain-experiments example. Be sure to open the entire folder and not just the python file within VSCode otherwise the environment you setup won't be used.
@yameen3448
@yameen3448 Год назад
I'm a python dev. And this is really interesting! Would definitely be using this!
@TT-tg9yj
@TT-tg9yj Год назад
Thanks for very clear and concise video!
@jasonvanwyngaard4387
@jasonvanwyngaard4387 Год назад
Thank you for this, exactly what I was looking for to optimise my helpdesk so that customers can find answers faster.
@calebiua
@calebiua Год назад
So far the best video i've seen of Langchain. Thx a lot for investing your time on promulgate valuable knowledge for everyone 🙌
@arifsoylu
@arifsoylu Год назад
Finally a video that mentiones the technical details and capabilities, not AI-influence hype!
@mysticaltech
@mysticaltech Год назад
Dave, amazing video! You are good at this man. Thank you!
@user-jh9ho6os9u
@user-jh9ho6os9u Год назад
Very good summary and explanation, thank you!
@mushroomthump
@mushroomthump Год назад
Legendary video my guy. I feel like this came to me at the perfect time. Thank you!
@dentonhess5810
@dentonhess5810 Год назад
Eye opening content. TY Dave.
@DI3GOskill
@DI3GOskill Год назад
Lekker bezig man!!!, thanks for sharing 👏
@gkennedy_aiforsocialbenefit
Awesome sauce. Thanks Dave!
@kushagrgoyal9614
@kushagrgoyal9614 Год назад
glad to see ur video on langchain!! awesome work as usual!
@daveebbelaar
@daveebbelaar Год назад
Thanks! 🙏🏻
@rashadulislamsumon9815
@rashadulislamsumon9815 Год назад
You tutorial was rally awsome I was looking long time like this tutorial . Thank you sir !
@stevelongdong5521
@stevelongdong5521 Год назад
Great video! Thanks for sharing!
@user-do2wd8hg6v
@user-do2wd8hg6v Год назад
Wonderful content... Good to get started. Best thing was that you decided to put this out in public. Thanks a lot🙏😃.
@rodrigoorellana9799
@rodrigoorellana9799 Год назад
Thank you so much Dave, I just subscribed, this info is amazing.
@TheCouncellor7
@TheCouncellor7 Год назад
Excellent and detailed Video Dave, thank you for sharing, much appreciated👍🙏
@daveebbelaar
@daveebbelaar Год назад
You're welcome Aziz!
@iftrejom
@iftrejom Год назад
This information is worth tons of gold... Thank you a lot!
@daveebbelaar
@daveebbelaar Год назад
Thanks! 🙏🏻
@patrickwhite9902
@patrickwhite9902 Год назад
This is the first youtube vid that I've seen that talks about embeddings with LangChain. This for me is an lightbulb moment as the small context window is the major limitation for ChatGPT atm. Giving it the ability to take new source data and chunk it to referenceable bites feels like a work-around for the context window limitation, but it's an awesome work-around nonetheless. Good stuff!
@daveebbelaar
@daveebbelaar Год назад
Thanks Patrick! That really opened my eyes as well. Until LLM APIs allow more tokens, this is the way to go.
@thirdpartycookie
@thirdpartycookie Год назад
2 weeks later: Claude enables 100k tokens
@Grantrude
@Grantrude Год назад
Thank you for sharing. Extremely interesting.
@sethhavens1574
@sethhavens1574 Год назад
excellent exposition of langchain, super helpful thanks for sharing and looking forward to more 👍
@vmartme
@vmartme 10 месяцев назад
Wow! Thank you :)
@treystonc
@treystonc Год назад
Thanks for the video, such a good lesson for beginners! :)
@caioghp
@caioghp Год назад
Great video! Even a lawyer can understand it. Thanks!
@DJPapzin
@DJPapzin Год назад
Amazing, thank you for sharing your knowledge
@QuangNguyenJI
@QuangNguyenJI Год назад
So Exciting 🔥 🔥
@bw8450
@bw8450 Год назад
I never comment under videos but this was just great. Goed gewerkt pik.
@daveebbelaar
@daveebbelaar Год назад
Thanks haha!
@lorenzomijorus
@lorenzomijorus Год назад
thanks a lot! awesome video
@KlausSzyska
@KlausSzyska 10 месяцев назад
your video is superb and well beyond the usual LangChain chitchat video. Keep up the good work and start expanding your company...
@roberthuff3122
@roberthuff3122 Год назад
Excellent! Subscribed.
@kylarosborne698
@kylarosborne698 Год назад
Hey Dave, I really love this video. I had heard about langchain, but with so many new things popping up I didn’t give it a lot of attention until now. In terms of things to build with this, I’d like to use all of my past long form journal entries to create a virtual representation of myself. I’m on Upwork, but my domain of expertise is embedded systems. I have a little experience with data science, but not enough to easily market myself in that way. Anyway, thanks for sharing this info about langchain! Looking forward to more videos
@kylarosborne698
@kylarosborne698 Год назад
I used a text file of a few months of journal entries, and I find it has a problem. The response seems to just be based on a narrow view. As if it only takes in one of the journal entries and then can only talk about that one. It makes general questions like "what are some highlights of your travels" very bad. Is there a way to make the context more broad? @daveebbelaar
@lfmtube
@lfmtube Год назад
An excellent channel and your videos are truly great. Thanks! I've been exploring langchain for a few days. I see that it can be an alternative to give my application architecture's the concept of pipes that I need, but I just realized that doesn't integrate natively with SpaCy, so I'm looking to see if I can make the integration using Agents to connect SpaCy with the transformer models in a clean and maintainable way.
@DRUMtheG
@DRUMtheG Год назад
I am completely new to coding but, even I feel like I can replicate this thanks to your amazing explanation.
@daveebbelaar
@daveebbelaar Год назад
That's awesome, thanks!! Good luck with your coding journey 💪🏻
@md.saifulislamtanim
@md.saifulislamtanim Год назад
Wow, this video really Informative, Looking forward to more content about this!
@daveebbelaar
@daveebbelaar Год назад
More coming soon!
@viresearch3897
@viresearch3897 Год назад
Mind Blown!
@alvinpinoy
@alvinpinoy Год назад
Nice and helpful vid! The ecosystem of LangChain really feels like the missing toolset for developers to connect anything you want with those LLM's all popping up. It also really helps to build businesses not only relaying on a single LLM which might be quite risky imo.
@daveebbelaar
@daveebbelaar Год назад
Exactly!
@ZackHughes
@ZackHughes Год назад
Thanks for this
@imanonymus5745
@imanonymus5745 Год назад
Hey Dave it's request to you that pls make more videos like this... I have some Questions 1) How can we make it interact with basically anything on our computer screen(Cause there are a lot of work that should be automated most of them do not even have API and can we use chrome extensions cause they are really helpfull) 2) How can i use my finetuned model as a model.
@tradingwithwill7214
@tradingwithwill7214 Год назад
Amazing video . one concern i have for startup idea would be the API costs to let people access it publicly
@pythonforbeginnersnow
@pythonforbeginnersnow Год назад
awesome video!
@archiee1337
@archiee1337 11 месяцев назад
Excellent
@goonie79
@goonie79 Год назад
This is a great video, it was very inspiring. I just get worried about cost controls when I see that it can connect with all of those external APIs. I'm assuming there's free tier usage, but that's one thing I'd be concerned about when it comes to small businesses and their budgets if API calls get out of control. Great video either way. I'll just have to figure out how to put in API call controls.
@daveebbelaar
@daveebbelaar Год назад
Thanks! You can set spending limit or call limits on most APIs
@emanuelm2399
@emanuelm2399 Год назад
AMAZING!!
@romasiladiy2164
@romasiladiy2164 Год назад
Sounds very promising! What companies are usually interested in this type of stuff? I mean the use case is interesting but not sure how to use it in a commercial way...
@xugefu
@xugefu 4 месяца назад
Thanks!
@daveebbelaar
@daveebbelaar 4 месяца назад
🙏🏻
@haiderkhalilpk
@haiderkhalilpk Год назад
Great video
@simonraj
@simonraj Год назад
Very clear tutorial. How do you do it with text documents instead of transcripts from RU-vid. 1. Read the text from a text file 2. Carries out the document splitting. 3. Get a query from user . 4) writes the response to another text file. Do let me know if you with to collab on this.
@mattzucca4102
@mattzucca4102 Год назад
Use the Directory Loader documentation. It's the same
@vladkuz6974
@vladkuz6974 Год назад
Thank you for sharing this, this is amazing! I hope I'm not too late to the LLM party 😂😂😂
@daveebbelaar
@daveebbelaar Год назад
We are just getting started
@DemoGPT
@DemoGPT 11 месяцев назад
This is great video, thanks for your effort. Do you plan to make a video about DemoGPT?
@felipesilvatech
@felipesilvatech Год назад
You should definitely create a udemy course on this subject. I would definitely buy.
@Novainvent
@Novainvent Год назад
Super!!
@patrickwalchshofer4004
@patrickwalchshofer4004 Год назад
HI Dave! Thank you for your very detailed explanations. I watched also your video about auto-GPT. I am just wondering how could I use all Plugins with your langchain-experiment repo?
@bandui4021
@bandui4021 Год назад
One thing is for sure. If you are making an AI/langchain course I am on it!!!
@lucianopacheco2008
@lucianopacheco2008 Год назад
Your videos are awesome. I was able to build a flutter app to work with a python backend running in replit, using fastapi to serve API endpoints. In my app, I can upload a PDF file and chat with it using an agent with memory. It works fine. However, I need to allow multiple users, each one to have its own agent with its own memory. I have no idea how to acomplish this. What path would you recommend?
@topvladis
@topvladis Год назад
Great vid! A funny thing though: in the python year *3 example, the model didn't use the llm-math, and hallucinated the calculation (5783 instead of 1991*3=5973). 👻👻
@christian-schubert
@christian-schubert Год назад
THAT'S a VERY important issue though! Just imagine you want to create an A.I. that assists lawyers, feeding it legal documentation. Now, in THAT case, you want to make ABSOLUTELY sure that the model ONLY comes up with replies it finds in your docs and will ALWAYS 100% return "I don't know" when it can't connect the dots with the material it's been provided. Also, you might not only want to get an overview, you're most probably interested in retrieving ALL necessary information on a given topic. Sadly, this is never really discussed - I'd be REALLY grateful if anyone could point me to a video where those issues are actually addressed.
@Einzry
@Einzry Год назад
Cool!
@lucascaetano3171
@lucascaetano3171 Год назад
Hey Dave 👋
@AO-ip9hi
@AO-ip9hi Год назад
Great video bro. Where can I find more reading material on this
@daveebbelaar
@daveebbelaar Год назад
Thanks! Soon on my channel, but for now, the LangChain docs: python.langchain.com/
@Krafter37
@Krafter37 11 месяцев назад
Would it be possible to take an example like that and do a full tuto from the python script to a web app plz ? :) Can't find this on internet if someone have resources for this I'm interested. Very interesting video btw
@rahulmahaseth4519
@rahulmahaseth4519 Год назад
Can you make tutorial on converting this to a website
@gabe5446
@gabe5446 Год назад
Great video, really clearly laid out! As somebody new to web development. Could you explain how I could take this python code and then build it into a web app? Any tips on what to focus on learning or really good web dev tools to pair with lang chain? My goal is to be able to build something like this and then quickly make it accessible online. I have one idea in particular in somewhat of a niche
@daveebbelaar
@daveebbelaar Год назад
I have future video's planned for that, so stayed tuned!
@gabe5446
@gabe5446 Год назад
@@daveebbelaar awesome can’t wait, love the content!
@CoastlineOceanOutfitters
@CoastlineOceanOutfitters Год назад
@@daveebbelaarwaiting on this! I am currently in the stage of introducing AI to my web app and would love your guidance
@dianaliu7543
@dianaliu7543 5 месяцев назад
How to handle the query function execution and deploy on AWS?
@cocccinelle1
@cocccinelle1 Год назад
Thanks for the video. It is inspiring. When using a Loader like Confluence can this be done without sending my private content to openai?
@betterstack
@betterstack 3 месяца назад
Great tutorial Dave 🚀If anyone’s looking for more Python tutorials, we’ve released Loguru logging, task scheduling, and more to help the community too 💪
@greendsnow
@greendsnow Год назад
I checked multiple times whether I liked this video or not.
@MrKferi
@MrKferi Год назад
The multiplication in 14:02 (year of python creation * 3) is wrong. Is llangchain able to call multiple tools in a single prompt? After the wikipedia info it should have called llm-math. Awesome vid btw!
@naturallydope247
@naturallydope247 Год назад
This is great. How would I make a web ui for this?
@HoplandMusic
@HoplandMusic Год назад
How would you add memory to the chat?
@DocuFlow
@DocuFlow Год назад
Is this the best way though? What if I want to, for example, build a C# or nodejs application to do something similar with my company data. Would I use langchain or build the logic into my app? Serious question.
@AMoktar
@AMoktar 4 месяца назад
Thanks bro for this video. I'm new to all llm , I don't know where to start. I just can write python . Any advice?
@polisettybalaji
@polisettybalaji 9 месяцев назад
can i use csv loader and create pivot tables using langchain?
@Chasingaxl
@Chasingaxl Год назад
Can you show how to post online with the python code
@digitald74
@digitald74 Год назад
what i am missing is someone implementing a custom agent.. like for some kind of api that is not available at the moment
@rafaelmartinsdecastro7641
@rafaelmartinsdecastro7641 11 месяцев назад
After the similarity search, I got kinda lost between the definition of docs_page_content and the injection of {docs} in your "template parameter". I was under the impression that you would have passed docs_page_content instead.
@Deco354
@Deco354 11 месяцев назад
Did you figure this out? I'm going to try and debug it tomorrow as this baffles me. When I swap docs out for docs_page_content it no longer works too.
@bruceb85
@bruceb85 7 месяцев назад
cannot find any of the includes when running your project
@rishabpoddar3866
@rishabpoddar3866 Год назад
When trying to ceate a database why does it show you are out of tokens; after running the video url when I am running the db command the error pops up
@sanesanyo
@sanesanyo Год назад
What is the difference between Conversation Chain and Open AI Chat End Point? For me, it is effectively the same. I love Langchain but I don't think it works for every use case that I have had. Works fine for simple conversational agents.
@daveebbelaar
@daveebbelaar Год назад
I cannot tell you exactly right now. Have to dive deeper into this for that. In general, LangChain is a framework that supports all kinds of models, not just OpenAI's. So, you can also implement, for example, open-source LLMs that don't have a chat end-point.
@consejosdeaprendiz2x232
@consejosdeaprendiz2x232 Год назад
Amazing video, i have a newbe question, i´m learning python and i wanted to ask you how you configure visual studio code to show you the right window, do you have a video teaching that? Thank you very much.
@daveebbelaar
@daveebbelaar Год назад
Thanks, this video should help: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zulGMYg0v6U.html
@1cbonus265
@1cbonus265 11 месяцев назад
what debug tool do you use?
@DikkeKoelie
@DikkeKoelie Год назад
how can i let it use my data in database like mongodb?
@Ayoubased
@Ayoubased Год назад
is this something easy to learn for web devs?
@android69_
@android69_ Год назад
how does he get each line to execute on command? i have to run the entire script. i press shift+enter (on PC) to run a selected line, but it always gives me 'NameError: name 'xyz' is not defined'
@daveebbelaar
@daveebbelaar Год назад
Check this out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zulGMYg0v6U.html
@78inn
@78inn 6 месяцев назад
Great. Do I need to have an Openai API key? Looking for a free solution please. Thanks
@ronbridegroom8428
@ronbridegroom8428 Год назад
Is there a way of getting the time code with the transcript? That way a search could be done for the video segments when a particular subject was discussed.
@daveebbelaar
@daveebbelaar Год назад
That is possible with Whisper 👌🏻
@naturallydope247
@naturallydope247 Год назад
What do you use to display the output on the right?
@naturallydope247
@naturallydope247 Год назад
@masidawoud your link disappeared. Can you message me?
Далее
Building Slack AI Assistants with Python & LangChain
28:31
OpenAI Function Calling - Full Beginner Tutorial
28:24
How I'd Learn AI (If I Had to Start Over)
15:04
Просмотров 724 тыс.
How to Deploy AI Apps to the Cloud with Flask & Azure
31:15
Linux on Windows......Windows on Linux
23:54
Просмотров 90 тыс.
Pandas DataFrame Agent... the future of data analysis?
19:42
Это спасёт камеру iPhone
0:32
Просмотров 420 тыс.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
Просмотров 153 тыс.