Тёмный

LangChain Master Class For Beginners 2024 [+20 Examples, LangChain V0.2] 

codewithbrandon
Подписаться 31 тыс.
Просмотров 133 тыс.
50% 1

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

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 240   
@padhuLP
@padhuLP 3 месяца назад
Brandon, I am nearly 70 years old and I have been a programmer for over 4 decades. I started as a Cobol programmer and been updating my skills as I went along. Never has been my learning at such a rapid pace as it is in the last year or so since all the AI tools have been arriving. I had just a basic knowledge of Python earlier, but now I have been able to do wonderful things with what I can develop with AI agents using tools available. Your tutorials have been the best I have seen so far. I can't thank you enough for providing the complete source code and explaining very well everything in your videos, including the environment setup. Keep up the great work!
@2TanishChavan
@2TanishChavan 3 месяца назад
Sir 🫡
@Akuma7499
@Akuma7499 3 месяца назад
@infraia
@infraia 2 месяца назад
What a great story! I am sure you are doing amazing work!
@markus_dev_cwb
@markus_dev_cwb 2 месяца назад
Wow. Tks to share your story.
@stevemcclintock309
@stevemcclintock309 2 месяца назад
@padhuLP WOW thats awesome that you are still doing and learning at 70. You must be an amazing person, more young people meed to take some tips from you on life lessons. Even better I assume you are retired and doing all this for fun? I only hope I can live and learn as long. Keep be inspirational and take care for your future, Love from N.Ireland ❤
@robel_asefa
@robel_asefa 2 месяца назад
Wow, this LangChain Crash Course was amazing! It broke down the concepts way better than the official documentation. I learned so much from this video, I just had to come online to say thanks! 😂 Really clear and to the point. Please keep making more videos like this on LangChain, LangGraph, and similar stuff! Thanks again! 🙏🙏🙏
@rikhavthakkar2015
@rikhavthakkar2015 2 месяца назад
Surely one the best tutorial videos I have come across on youtube so far. Not just for Langchain.....but across all the video tutorials for any technology I have seen so far......This is precise, crisp... hits the nail on the head with the learnings!!! and the best thing is it packs so much in.. like a crash course.. not wasting any time at all on typing the code during the recording... saves a lot of time and does not digress the listeners attention!! @brandon you are a good teacher and you know how to hold attention of students like me who sometimes never go beyond 10 mins into the video if the teacher is not able to hold attention and present him/her self well !!! SUPER JOB!!! FORMAT of the Training EXCELLENT!!!
@doungheanime
@doungheanime 25 дней назад
thanks a lot for you help bro . This video was really useful i had got stuck the whole time with outdated langchain . I watched many videos and learn't only outdated half stuff but all thanks to you i have learned langchain completely
@bhancock_ai
@bhancock_ai 23 дня назад
Thanks man! It’s funny because I think all of us are getting stuck in their docs! This tutorial was born out of frustration 😂 Once you get everything working, LangChain is pretty great!
@wahwahwally1
@wahwahwally1 11 дней назад
Great video! I just can't comprehend how others can have such a long video and not explain concepts and ideas in the way that you do in 5 minutes. xD ty!
@tanvirahmed1959
@tanvirahmed1959 2 месяца назад
the consequence of the video is awesome.
@bhancock_ai
@bhancock_ai Месяц назад
I love that 😂😂
@DanielOliveira-vh4ye
@DanielOliveira-vh4ye Месяц назад
This is the best free video that I've ever seen about genAI
@prasannakumarmsl9850
@prasannakumarmsl9850 29 дней назад
Excellent.. Thanks a lot
@bec_Divyansh
@bec_Divyansh Месяц назад
This is the greatest tutorial I have ever seen! Thank you so much!
@prerithsagar5694
@prerithsagar5694 2 месяца назад
you deserve more subscribers Brandon. "A" class content. Can u do a tutorial on fine-tuning pre trained models and also about GraphRAG? Thank you in advance
@SamiUllah-ql9my
@SamiUllah-ql9my Месяц назад
This video is the awesome video ever
@bhancock_ai
@bhancock_ai Месяц назад
Thank you 🙏
@SDAravind
@SDAravind 2 месяца назад
Hi Brandon, A video on How to use openai assistants for RAG application with memory instead of using langchain would simplify a lot of things.
@rorymacdonald2058
@rorymacdonald2058 3 месяца назад
Loved that you recommended watching first on double speed - was actually doing that by the time you said it :-)
@Ray-qg2hy
@Ray-qg2hy 28 дней назад
Brandon, your tutorial is the best one I've come through in RU-vid about langchain. Thorough and easy to understand and follow! Both concepts and coding logic well explained! You deserve more subscriptions!
@bhancock_ai
@bhancock_ai 23 дня назад
Thank you ray! I wish the RU-vid gods would send more subscribers my way too 😂
@hendoitechnologies
@hendoitechnologies Месяц назад
post full video about Claude 3.5 sonnet model and Claude API - full course video
@mayureshbande5515
@mayureshbande5515 3 месяца назад
Please create in langchain javascript...much needed
@dikshantgupta5539
@dikshantgupta5539 Месяц назад
Thank you so much for creating such fantastic content 😃😃
@dummy-s3p
@dummy-s3p 2 месяца назад
nice tutorial !!
@taylorhancock4858
@taylorhancock4858 3 месяца назад
Awesome video!!!!
@bhancock_ai
@bhancock_ai 3 месяца назад
Thanks Tay Tay! Now we got to start using AI to start automating some of your real estate!
@st.3m906
@st.3m906 3 месяца назад
Amazing!!!
@rasmuseberley
@rasmuseberley 2 месяца назад
13:06 I cant get it to read the .env properly. when I insert the api key directly into the python script it works..
@abhishekpawar1207
@abhishekpawar1207 Месяц назад
Hi which theme do you use for python code?
@bhancock_ai
@bhancock_ai 23 дня назад
I’m not next to my laptop right now but I’m 99% sure it’s this one: marketplace.visualstudio.com/items?itemName=RobbOwen.synthwave-vscode
@teamtom
@teamtom 3 месяца назад
can i use miniconda instead of Poetry? i got used to miniconda and never used poetry before...
@zainn7336
@zainn7336 2 месяца назад
SIr please create samre tutorial but with respect to Javascript aur typescript
@chikosan99
@chikosan99 3 месяца назад
I can’t thank you enough for the time and effort you put into creating such high-quality content. It’s clear that you’re passionate about helping others, and your hard work doesn’t go unnoticed. Looking forward to more amazing videos from you! 😊 chain = great_video | detailed_explanation | grateful_for_effort | look_forward
@HassanAli-tv6fc
@HassanAli-tv6fc 3 месяца назад
can't u please make it more easy for windows users ?
@umernasir4217
@umernasir4217 Месяц назад
Can I use OpenAi for free with their APIs?
@SamiUllah-ql9my
@SamiUllah-ql9my Месяц назад
No you don't use openai key for free . Instead of open ai key you can use Google gemei ai key for free
@bhancock_ai
@bhancock_ai Месяц назад
I think OpenAI still gives out some free credits when you sign up. But, eventually you will have to pay. It's only a few pennies per request so it's not terrible.
@BnmQwr-e2n
@BnmQwr-e2n 25 дней назад
Robinson Margaret Williams Amy Martin Kenneth
@StutiKumari-yn5ws
@StutiKumari-yn5ws 2 месяца назад
I didn't received mail , requested for code
@ronwiltgen2698
@ronwiltgen2698 19 дней назад
I like what people are doing with AI, this guy built a text to image app in this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4LnycOUhqyc.html Would you be able to cover this? And also has a lot of langgraph content, with a different perspective.
@Dargty
@Dargty 3 месяца назад
SPOILER ALERT on romeo and juliet
@K-xo9bd
@K-xo9bd 11 дней назад
Say "per usual" one more fuckin time......... lmao
@tayyabshahzad10
@tayyabshahzad10 3 месяца назад
This tutorial is much needed. Please create one on Langgraph as well.
@2TanishChavan
@2TanishChavan 3 месяца назад
Yes 🙏 pls
@ArianeQube
@ArianeQube 3 месяца назад
Yes, please. This is pure gold !
@bhancock_ai
@bhancock_ai 3 месяца назад
Great suggestion! I’ll definitely add a LangGraph master class to the queue for you guys! 😁 And I created this tutorial because the docs for the new version of LangChain are kinda confusing. I’m hoping this video will help everyone spin up on the new version! If you have any questions on anything, please let me know!
@tayyabshahzad10
@tayyabshahzad10 3 месяца назад
​@@bhancock_aiYou're right! I started working with LangChain about a year ago, and now that I need to use it for my current project, almost everything has been deprecated. It was very frustrating at first. Also your CrewAI+Groq video is very good for learning purposes.❤
@abax_
@abax_ 3 месяца назад
@@bhancock_ai Yes plz and show how to use function tool calling and react agent with chathistory in it able to use doc store to retrieve information and plz with open source model like chat groq that after making the application can be swapped with gpt so on that structure
@devloper_hs
@devloper_hs 3 месяца назад
Why all projects use OpenAI, they removed the free credits and students don't have money to invest to learn. So kindly make use of some open source model also.
@Dis-Trackted
@Dis-Trackted 3 месяца назад
That is a bit lazy. You can easily find out how to change the model and embedding provider in the official documentation and everything else applies. He explained how to switch to Anthropic, and its totally analogous. PS: Im not even a programmer. I am a self-taught and my background is in medicine, so I don't think I have any comparative advantage.
@henryguy3722
@henryguy3722 3 месяца назад
I think it just too easy to use open air and it works.. ideally the youtube community ahould make an effort to give altenrative options so they can build something cheaper.. for end users. I cant imagine building and app with open Ai inference it would be so expensive for my customers.. it just bad proposition..
@izzat3936
@izzat3936 12 дней назад
I've been creating new keys but still getting this You exceeded your current quota, please check your plan and billing details., anyone knows how to solve this?
@gausar
@gausar 15 дней назад
Hi all, If anyone read this comment, please tell me about how can I get OPEN_API_KEY ?
@bartolli74
@bartolli74 3 месяца назад
Brandon, this LangChain tutorial is hands down the best I've seen! You nailed all the fundamentals and went deep into the details in such a human and relatable way. Your style makes complex stuff super easy to understand, and the practical examples are spot on. Love that you didn't push any products, just pure high-quality content focused on real value!! This is a must-watch for anyone diving into the matter. Huge thanks for creating such an awesome resource!!! I'll never look back at any other framework after understanding the power of LangChain. I hope you'll create a tutorial with the same level of detail for the new LangChain GenUI. Your style makes learning so much more enjoyable and effective! Thanks for all the great content!
@storagefreak
@storagefreak 3 месяца назад
Brandon, this course is outstanding! It's exceptionally well-structured, clearly explained, and superbly produced. I aspire to create tutorials to my channel with half of the quality you've got here :)
@lalitgehani
@lalitgehani 2 месяца назад
If you run into encoding issue while running 1a_rag_basics, then modify TextLoader command as below loader = TextLoader(file_path, encoding="utf-8")
@JCamiloVargas
@JCamiloVargas 2 месяца назад
Thanks for pointing that out
@toddrothman2765
@toddrothman2765 12 дней назад
this is a great tutorial. Thank you! Can you please advise what tool do you use to draw your diagrams in real time in the video? for example at minute 49:00 you demo chaining concepts
@aishikbandyopadhyay8191
@aishikbandyopadhyay8191 3 месяца назад
Brilliant tutorial which explores to the depths! Btw Brandon, how to incorporate google gemini or groq or ollama instead of openai service? The prompt template is different for each case. Please make a tutorial on incorporating the same!
@TheYoungSoul
@TheYoungSoul 3 месяца назад
I have been using Ollama while working through this tutorial with very few issues and I just used the prompts as they were in the code base. Give Ollama a try. I think you will be surprised at how easy it will be to swap in llama3.
@develom_ai
@develom_ai 3 дня назад
Excellent Master Class. I just finished watching and I'm so excited to start practicing and creating my own agents. Thanks you so much Brandon!
@Skandawin78
@Skandawin78 6 дней назад
Super cool Video Brandon.. excellent content and nice pacing. Thank you so much 🙏 Just completed the Chat Models section. excited to continue with the rest of the sections. For me Gemini model API works and they are quite generous with their Free Tier plan compared to OpenAI
@cristobalml9460
@cristobalml9460 Месяц назад
Great tutorial... Now I started to understand better Langchain... I bought one Langchain course from Udemy and after watching the first section I just got lost and frustrated... Your explanation is far better... Thanks a lot... Liked and subscribed... definitely I will watch more videos from you.... Thanks again!
@ИгорьТ-х6м
@ИгорьТ-х6м 17 дней назад
Trying to follow your instructions for firebase chat history saving, did all exaclty the same but the chat-history collection (there is no word in a video if I should create one myself or it would be created automatically). Starting it with python command, and get TypeError: cannot pickle 'classmethod' object error message. What could be the issue?
@jjolla6391
@jjolla6391 10 часов назад
would like to see a version that uses only open-source components, that can be run locally - at the very least provide some pointers to these alternatives
@TheRealHMF
@TheRealHMF 19 дней назад
This is a great class! One question. I've been following using Azure OpenAI Studio deployments and have been just fine until the RAG portion. Even at 320k TPM on my embedding I still get rate limited, and consequently timed out for 24hours, as the amount of tokens required for RAG 2a ends up being significantly higher. Do you know of a way to properly programmatically set a rate limit so I don't get a paddling from Microsoft? Thanks!
@biplabdaschoudhury7159
@biplabdaschoudhury7159 2 месяца назад
poetry install is not working : getting below error: ackage operations: 13 installs, 0 updates, 0 removals - Installing torch (2.3.1): Failed RuntimeError Unable to find installation candidates for torch (2.3.1)
@Pradipto-Bose
@Pradipto-Bose 14 дней назад
Hi Brandon, thank you for this great tutorial. I have gone through each word and hands on. Looks like Tool Decorator explanation is missing. Could you please check once?
@testfirsttestlast706
@testfirsttestlast706 2 месяца назад
This is by far one of the best courses on youtube, hands down. Brandon is great! (disclaimer: I don't know Brandon personally)
@evandroreisunreal
@evandroreisunreal 3 месяца назад
Great tutorial. 🎉 I am curious to learn which app you use to do the drawings and the whiteboard. Could use those in my classes too. Thanks.
@leventyuksel93
@leventyuksel93 2 месяца назад
What is the name of the blackboard app?
@bhancock_ai
@bhancock_ai 2 месяца назад
It’s excalidraw! I love the app and definitely recommend you try it out!
@JayceRenner
@JayceRenner 27 дней назад
Hi thanks appreciate the tutorial! Can I give you some feedback? I cannot stand the sound effects you've included -- the swoops and pops are 🎉 distracting and unnecessary. Maybe it's just me, and I can just watch it on mute 😅💥
@shrivatsavans1209
@shrivatsavans1209 8 часов назад
This was amazing! thank you so much for making this free
@bowaller6892
@bowaller6892 21 день назад
This is for python. I wish this video was for javascript. Please make one for javascript...
@muhammadmursalin8915
@muhammadmursalin8915 2 месяца назад
Hi I am Javascript developer, is there has any youtube video tutorial for langchain.js v0.2
@BnmQwr-e2n
@BnmQwr-e2n 16 дней назад
Rodriguez Deborah Perez Matthew Davis Mark
@belanideepesh
@belanideepesh 11 дней назад
Awesome tutorial. Can I use llama2 (locally) in place of gpt for chain agent?
@shingshing825
@shingshing825 Месяц назад
Hi Brandon, going through your tutorial I saw that once you copy paste the location from poetry shell the squiggly lines should disappear but for some reason this isn't working for me as it says the dotenv module is not found. Thanks for providing this resource!
@nas-codes
@nas-codes Месяц назад
@codewithbrandon Which theme it's actually looks beautiful
@bradH2049
@bradH2049 Месяц назад
This is such a great tutorial. I've learned a ton! Thank you so much for this amazing course.
@andewwayne7751
@andewwayne7751 2 месяца назад
Poetry. do you have a plane requiments.txt file. I am not a fan of poetry it cause issues with my machine by not releasing the lock and freezing my machine.. I find just using a reequipments.txt for adding my python pip loas to be simple and does not add additional overhead and running another tool, poetry, to manage .
@РодионЧаускин
@РодионЧаускин 2 дня назад
Thomas Scott Williams Angela Anderson Susan
@RossettiAries-s5w
@RossettiAries-s5w 15 дней назад
Rodriguez Elizabeth Miller Shirley Anderson Ruth
@arunvasisht6181
@arunvasisht6181 Месяц назад
I am not clear at 1:01:47 How did you get to print the output of the uppercase_output? It was further chained to count_words. The output that got printed should be just word count. I am confused.
@mahdiansari7047
@mahdiansari7047 2 месяца назад
Very helpful video. Thank you so much for the content. I really appreciate what you have done in this video.
@ZomBMarketing
@ZomBMarketing Месяц назад
This is for beginners!?? Are you serious? I have no idea what the hell you are talking about...
@BnmQwr-e2n
@BnmQwr-e2n 19 дней назад
Moore Kenneth Davis Mark Rodriguez Amy
@sayedhamdi8527
@sayedhamdi8527 4 дня назад
This tutorial is much needed. Please create one using open-source models with llama3 and Ollama or vLLM.
@wahwahwally1
@wahwahwally1 4 дня назад
I believe he has a video on that already.
@subhromukherjee14
@subhromukherjee14 2 месяца назад
Hi Brandon, Thank you so much for putting together this Master Class. Previously, I was watching videos of older Langchain versions and encountered many changes and warnings when coding. Those videos had numerous gaps. After watching your videos and coding along, I’ve found it much easier to follow the entire Master Class. Your explanations are very clear, and your visual diagrams greatly help in understanding the flow. Thanks again!
@Caconian
@Caconian 2 месяца назад
@codewithBrandon, can you share the tool which you are using to make the video tutorials and video please as well?
@IBRAHIMEZZAT
@IBRAHIMEZZAT Месяц назад
Thanks! It's a great tutorial that explains a lot, and I'm really glad.
@mariaali9935
@mariaali9935 4 дня назад
Easy to understand content❤. wonderful job 👌
@ahmedmusawir
@ahmedmusawir 2 месяца назад
Very small fonts ... hard to read ... video is blurry ...
@whitename7764
@whitename7764 13 дней назад
Excellent couurse. I join Langraph's requests. Maybe Langflow would also be nice (I think it's very practical) why not include the groq API? I think it's free. I have not be able to install it throught Poetry in the directory. Congratulations on the course.
@whitename7764
@whitename7764 13 дней назад
I correct. I have already been able to add groq API to the project and it works.
@joshuauzoagulu5923
@joshuauzoagulu5923 День назад
This is the best course I've seen on AI! Thank you
@FRANKWHITE1996
@FRANKWHITE1996 Месяц назад
wanted to subscribe but already subscribing 😀
@bhancock_ai
@bhancock_ai Месяц назад
😂😂😂 love it!
@testfirsttestlast706
@testfirsttestlast706 2 месяца назад
Brandon, in example 7_rag_conversational.py, for the {context} in the qa_system_prompt template, is it something coming from the previous Runnable from the chain? I don't see it being as one of the input parameters.
@AntonMueckl
@AntonMueckl 15 дней назад
I stumbled over the same question. Tweaking things a little bit I found the answer: The create_stuff_documents_chain(...) expects as input a dictionary that must have a “context” key that maps to a List[Document], and any other input variables expected in the prompt. [From the langchain V0.2 documentation on create_stuff_documents_chain(...)] It seems that there is an optional argument (..., document_variable_name: str = 'context') to change the "variable name to use for the formatted documents in the prompt. Defaults to “context”."
@RealLexable
@RealLexable Месяц назад
Whats about the rumours that langchain isn't production ready?
@tysonbenson
@tysonbenson 3 месяца назад
Thank you so much, Brandon! So excited to jump into this!!!
@bhancock_ai
@bhancock_ai 3 месяца назад
Thanks Tyson!! It’s a long master class so make sure to grab yourself a few cups of coffee 😅
@lconlinex8
@lconlinex8 18 дней назад
Excuse me, What is the drawing software used in the course?
@HopkinsDean-r8i
@HopkinsDean-r8i 16 дней назад
Lee Michael Gonzalez Carol Gonzalez Elizabeth
@free_thinker4958
@free_thinker4958 3 месяца назад
You're the man ❤️👏 we're looking forward to see some similar content on knowledge graph in langchain (neo4j etc...)
@andydataguy
@andydataguy 3 месяца назад
Yesss! 🙌🏾
@xhridhar
@xhridhar 3 месяца назад
Fantastic. Thanks so much 🙏🏽
@pingguopi
@pingguopi Месяц назад
Amazing course! Thanks Brandon! BYW: What is the tool used draw stuff? That looks so neat👁‍🗨
@HansOspina
@HansOspina Месяц назад
curious too
@IdPreferNot1
@IdPreferNot1 3 месяца назад
Such a great video explaining LangChain in detail. This should get all the likes! LangGraph please!
@harikrishnanb7273
@harikrishnanb7273 Месяц назад
after 46 mins into videos. amazing man ❤️‍🔥. i really needed this. this is the best resource to learn langchain i came across. full review after finishing the video!!
@harikrishnanb7273
@harikrishnanb7273 Месяц назад
oh i forgot. Thanks man really thanks 🙏
@laviray5447
@laviray5447 Месяц назад
Isn't lanchain.text_splitter deprecated?
@CortezLabs
@CortezLabs Месяц назад
This was an amazing presentation. Thank you
@TFAOPEN
@TFAOPEN 3 месяца назад
please do one focusing on agents
@bhancock_ai
@bhancock_ai 3 месяца назад
Hey! I’d love to do some deeper dives into LangChain and agents! What else would you like to learn? If you’re interested in using a multi-agent framework, I definitely recommend trying out CrewAI!
@TFAOPEN
@TFAOPEN 3 месяца назад
@@bhancock_ai how LangChain can be integrated with platforms like Voiceflow and VAPI to build robust voice interaction systems.
@bx1314
@bx1314 3 месяца назад
It takes time and you have make sure you know it but WOW this is the best class so far by a large margin!
@공정환-n1q
@공정환-n1q 26 дней назад
Davis Brian Clark Matthew Perez Mark
@ambushtunes
@ambushtunes 6 дней назад
I keep trying to relike and resub
@neslihanyagmurca
@neslihanyagmurca Месяц назад
Hi please add turkish language translation i need it🥲
@shabarinathk8954
@shabarinathk8954 26 дней назад
the best tutorial out there..thanks
@KumR
@KumR 3 месяца назад
Thanks Brandon. I got pycharm already. Will adding poetry create any issues? Is poetry an IDE ? or is it like pip
@bhancock_ai
@bhancock_ai 3 месяца назад
Hey! Poetry is a tool that allows you to easily manage your python environments so you shouldn’t have any issues using it with Pycharm. Also, how do you like Pycharm compared to VSCode?
@KumR
@KumR 3 месяца назад
@@bhancock_ai - Thanks Brandon. I like PyCharm as it comes with many built-in tools and features, such as code analysis, debugging, and testing. But community version has some limitations like we cannot run ipynb. And it can be heavy on system resources, which might slow down performance. But running mini RAGs is not an issue. I also switch to Jupyter for ipynb .Once again thank you for your great compilation on langchain. Looking forward to trying out all projects.
@arslanahmed1311
@arslanahmed1311 26 дней назад
Your teaching style is really great
@everybodyguitar5271
@everybodyguitar5271 2 месяца назад
I found some website has bot detection and ask for captcha. Is there a way to bypass this by web-scrape?
@bs_general
@bs_general 3 месяца назад
Thanks for this tutorial. The form to request access to the code is missing from the page in the description
@bhancock_ai
@bhancock_ai 3 месяца назад
Hey! If you add your email, it will send you an email that contains links to the source code plus links to source code for the rest of my projects! Please let me know if it’s causing you any issues!
@biddlea76
@biddlea76 22 дня назад
At 59:00 in under the hood, this way of writing feels more intuitive to me: `invoke_format = RunnableLambda(lambda x: prompt_template.invoke(x)) invoke_model = RunnableLambda(lambda x: model.invoke(x)) parser_output = RunnableLambda(lambda x: StrOutputParser().invoke(x)) chain = RunnableSequence(invoke_format, invoke_model, parser_output)`
Далее
What is LangChain?
8:08
Просмотров 217 тыс.
5 AI SaaS Ideas You Can Build in 2024
10:00
Просмотров 8 тыс.
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
INFO 340 - Starting with Git and GitHub
25:45