Complete Langchain GEN AI Crash Course With 6 End To End LLM Projects With OPENAI,LLAMA2,Gemini Pro

Поделиться
HTML-код
  • Опубликовано: 2 июл 2024
  • LangChain is an open source framework that lets software developers working with artificial intelligence (AI) and its machine learning subset combine large language models with other external components to develop LLM-powered applications. The goal of LangChain is to link powerful LLMs, such as OpenAI's GPT-3.5 and GPT-4, to an array of external data sources to create and reap the benefits of natural language processing (NLP) applications.
    Github: github.com/krishnaik06/Comple...
    Timestamp
    00:00:00 Introduction What We will Learn
    00:01:15 Langchain Crash Course
    01:18:05 Chat With PDF Using Langchain And Astradb
    01:41:00 Blog Generation Using LLAMA 2 LLM Models
    02:16:00 End To End LLm Projects Using Pinecone VectorDB
    02:51:41 Google Gemini Pro Demo
    03:19:50 Multi Language Invoice Extractor LLm Project
    03:45:41 Conversational Q&A Chatbot Using Gemini Pro API
    -----------------------------------------------------------------------------------------------------------
    Support me by joining membership so that I can upload these kind of videos
    / @krishnaik06
    ---------------------------------------------------------------------------------------------------------------------------
    ►Data Science Projects:
    • Now you Can Crack Any ...
    ►Learn In One Tutorials
    Statistics in 6 hours: • Complete Statistics Fo...
    Machine Learning In 6 Hours: • Complete Machine Learn...
    Deep Learning 5 hours : • Deep Learning Indepth ...
    ►Learn In a Week Playlist
    Statistics: • Live Day 1- Introducti...
    Machine Learning : • Announcing 7 Days Live...
    Deep Learning: • 5 Days Live Deep Learn...
    NLP : • Announcing NLP Live co...
    ---------------------------------------------------------------------------------------------------
    My Recording Gear
    Laptop: amzn.to/4886inY
    Office Desk : amzn.to/48nAWcO
    Camera: amzn.to/3vcEIHS
    Writing Pad: amzn.to/3vcEIHS
    Monitor: amzn.to/3vcEIHS
    Audio Accessories: amzn.to/48nbgxD
    Audio Mic: amzn.to/48nbgxD

Комментарии • 165

  • @krishnaik06
    @krishnaik06  6 месяцев назад +55

    Lets target 2000 likes for this amazing video :)❤

    • @afterglow25
      @afterglow25 6 месяцев назад

      Doing God's work my man ! Salute ! :)

    • @gauravtak1362
      @gauravtak1362 5 месяцев назад

      Absolutely agree with @@afterglow25. He is a great person​

    • @gkspcl
      @gkspcl 4 месяца назад

      more llm project

    • @user-yi1vv5hj6y
      @user-yi1vv5hj6y 4 месяца назад

      hi @krishnaik06 can you do a vedio where you deploy a generative AI as a restapi in such a way that if a customer ask a a general question it must be directed model which does that , if ask about internal documents a question has to be directed to that end point which do RAG if a customer ask a question which needs a RAG it must be directed to that model and get answer

    • @KnowledgeCurse
      @KnowledgeCurse 2 месяца назад

      i am having issues while installing cassio and cassandra-driver, what version of python you are using?

  • @aswinkumardamarapalli9585
    @aswinkumardamarapalli9585 6 месяцев назад +54

    Hi krish, Thanks for sharing all this knowledge with us. Within 5 days i developed, hosted 2 LLM projects all because of you. You will become One of the major youtubers soon this year.. Mark my words

    • @vikasrshetty6504
      @vikasrshetty6504 6 месяцев назад +1

      Hi Ashwin, Can you tell us more about how to host LLM models.

    • @aswinkumardamarapalli9585
      @aswinkumardamarapalli9585 6 месяцев назад

      @@vikasrshetty6504 First develop your model based on your requirements, either through tuning or using Gemini models. I suggest you go for tuning bcz you will understand better and use streamlit for the frontend, it's easy for making website and you can use streamlit for hosting also. If any queries, let me know i will help

    • @sapnilpatel1645
      @sapnilpatel1645 6 месяцев назад

      can you please share more information about hosting the LLM.

    • @uchiha_sasuke_48
      @uchiha_sasuke_48 5 месяцев назад

      What after developing our own LLM model? Can we write a research paper on it?

    • @mohammadizhaan1737
      @mohammadizhaan1737 4 месяца назад

      broo api key ke liye pay krna pdega kya ??

  • @ruchikashelke6878
    @ruchikashelke6878 6 месяцев назад +4

    Your informative content has been incredibly helpful. We find all the information we need right here on your channel when learning about general AI.

  • @sarthaksinha9340
    @sarthaksinha9340 Месяц назад +1

    It took me 1 week to complete this 4 hour video along with work, this is pure gem

  • @brijeshsoni3122
    @brijeshsoni3122 6 месяцев назад +1

    This is the milestone for GEN AI journey, thank you Krish sirji. I'm very excited for Hindi version for this video.

  • @tupaiadhikari
    @tupaiadhikari 5 месяцев назад +2

    Thank You Krish, for the amazing state of the art videos....highly appreciated !

  • @krishnaprasadsheshadri6206
    @krishnaprasadsheshadri6206 5 месяцев назад +2

    Wow, great video for a beginner like me! Thank you so much Krish!

  • @a2ashraf
    @a2ashraf 6 месяцев назад +2

    Massive effort, massive impact. When ai crawls RUclips, you will be one of the greatest of all time as per ai. Thanks a lot

  • @jatinnandwani6678
    @jatinnandwani6678 5 месяцев назад +3

    Thanks Krish
    This is quite helpful!

  • @ngoduyvu
    @ngoduyvu 6 месяцев назад

    Thanks for putting together this amazing course

  • @mdfaiz4583
    @mdfaiz4583 5 месяцев назад +1

    you deserve these likes ...thanks you so much Krish

  • @kateki22
    @kateki22 3 месяца назад

    Excellent Krish, you have made this all too easy to learn.

  • @rishiraj2548
    @rishiraj2548 6 месяцев назад

    Great thanks!
    Happy New Year, Krish Naik ans Team!!🎉❤

  • @AryanMathur-gh6df
    @AryanMathur-gh6df 4 месяца назад

    Thank you so much sir for posting such educational videos. Its been a great help for college students like me to venture into the world of LLM and explore it as much as I can

  • @vaishalishiv5529
    @vaishalishiv5529 3 месяца назад

    Thank you Krish sir for amazing session.

  • @Muhammad_Aftab_ahmad_97
    @Muhammad_Aftab_ahmad_97 8 дней назад

    00:13 Langchain crash course
    00:27 Six LLM projects
    03:12 Deploy chatbot application
    23:02 LangChain integrates Hugging Face models.
    25:41 Open AI vs. Hugging Face: output differences.
    28:15 Prompt templates simplify input-output for LLMs.
    48:20 Input and message schemas
    49:32 Schema examples import
    54:21 Prompts, LLM, output parsing
    01:13:52 Python environment variables
    01:14:36 Streamlit app setup
    01:16:55 Hugging Face deployment
    01:35:06 Initialize Astra DB
    01:35:33 Create LangChain embeddings
    01:36:13 Set up Astra Vector store
    01:36:57 Implement text embedding
    01:39:05 Query Astra Vector data
    01:55:33 Set up a local environment
    01:57:19 Install required libraries
    02:00:15 Configure Streamlit page
    02:19:23 Create environment Python
    02:20:03 Manage requirement.txt libraries
    02:24:00 Convert PDF chunks
    02:42:30 Initialize Vector Search
    02:44:02 Store Embeddings in Vector DB
    02:45:38 Implement Cosine Similarity
    03:04:28 Meaning of life explored.
    03:04:41 Gemini Pro handles API failures.
    03:05:24 Safety categorization in responses.
    03:06:57 GPT-3 Ethics and responses.
    03:08:36 Stream response chunks.
    03:10:28 Response iteration caution.
    03:11:56 Gemini Pro vision with images.
    03:18:37 Multi-model prompts supported.
    03:29:04 Streamlit for app creation.
    03:29:58 Importing necessary libraries.
    03:30:39 Configuring Gen API key.
    03:31:36 Loading GenPro model.
    03:32:22 Creating GPT-3 input parameters.
    03:33:32 Generating content with GenPro.
    03:35:34 Setting up Streamlit UI.
    03:36:17 Handling file uploads.
    03:36:45 Creating submit button.
    03:38:26 Processing image data.
    03:40:26 Managing input prompt.
    03:42:18 Running the Streamlit app.
    03:43:25 Interacting with invoice details.
    03:46:08 Handling multilingual invoices.
    03:47:22 Demonstrating Q&A chatbox.
    03:48:41 Overviewing project setup.
    03:53:37 Initialize session state
    03:54:20 Handle user input
    03:55:31 Capture Gemini response
    03:56:13 Store chat history
    03:57:09 Display streaming response

  • @123_abc_xyz
    @123_abc_xyz 6 месяцев назад

    Thanks a lot for these valuable content for free

  • @rishikeshan0649
    @rishikeshan0649 5 месяцев назад +1

    Thank you so much for this amazing content Krish. If possible please post for chat with csv and pdf using llama2..

  • @henryernest5436
    @henryernest5436 3 месяца назад

    Let's support Krish. Thanks for this amazing content.

  • @HamzaKhan-zj6dn
    @HamzaKhan-zj6dn 5 месяцев назад

    You are our real life 'Krish' ......heartfelt thanks .......

  • @chinnibngrm272
    @chinnibngrm272 6 месяцев назад

    Supperr Helpful Video sir ❤😊
    Thank you soo much for this amazing video

  • @jatinnandwani6678
    @jatinnandwani6678 6 месяцев назад

    Thanks Krish!

  • @FREAK-st6kk
    @FREAK-st6kk 6 месяцев назад

    Great Content, Thanks for sharing..!!

  • @venkatakambam3792
    @venkatakambam3792 Месяц назад

    Awesome tutorials... thanks for your efforts

  • @rupeshojha4339
    @rupeshojha4339 6 месяцев назад

    great video much needed

  • @FrenzyChap
    @FrenzyChap 6 месяцев назад +1

    Thank you so much sir❤❤❤

  • @UmarFarooq-dm4of
    @UmarFarooq-dm4of Месяц назад

    you are really great over all youtube.

  • @MuhammedSavadkv
    @MuhammedSavadkv 6 месяцев назад

    Thank you for sharing

  • @eswarpagadala8071
    @eswarpagadala8071 6 месяцев назад

    Thanks for sharing 🚀

  • @srinubalaram7564
    @srinubalaram7564 6 месяцев назад

    Thankyou so much ❤❤

  • @prajna7890
    @prajna7890 Месяц назад

    Thank you so much you are the best

  • @panchalhhitesh
    @panchalhhitesh 2 месяца назад

    Thanks for the video on LLM, it help me u/s the basic and concepts, and like the steps to steps walk through and architecture, have just one suggestion to update the github code with latest imports, it will help beginners.

  • @bonusb8109
    @bonusb8109 6 месяцев назад

    Good video Krish

  • @TravelChroniclesHD
    @TravelChroniclesHD 5 месяцев назад

    So good!

  • @Nomadic_Techie
    @Nomadic_Techie Месяц назад

    Thanks for such an Informative video @krishnaik06 . This is very helpful. I would like to suggest one small correction. At around 2:35:28 of this video, where you create function chunk_data, I think you should return "doc" instead of "docs". returning docs will have the original doc list and not the split into chunk list. You could make these changes in GIT code.

  • @micromeritseducation8583
    @micromeritseducation8583 11 дней назад

    Excellent

  • @rahulaaseri6307
    @rahulaaseri6307 2 месяца назад

    thank you sir , bhagawan apko lambi umar de.

  • @gauravharbola1334
    @gauravharbola1334 6 месяцев назад +2

    Thank you so much sir for this video ❤.

  • @toyotaindecomm4537
    @toyotaindecomm4537 5 месяцев назад

    H Krish, Can you please create video on using weaviate vector database..expectially for creating different schemas in one class. how to use different variety of inputs file for conversional chat..will be helpful...Thanks for amazing videos.

  • @globea2z
    @globea2z Месяц назад

    nice

  • @ApuVisp
    @ApuVisp 5 месяцев назад +1

    Very useful video, thank you. I am going to work through and build all the flows you've shown.
    A piece of critical advice - I don't think the word "probably" needs to be mentioned so often. It's use was unnecessary, and gramatically and logically unsound about 95% of the times. Just want you to be the best version of you. All the best and I will stay tuned for more and recommend to friends.

  • @user-vp2oz9me9c
    @user-vp2oz9me9c 6 месяцев назад

    make a detail playlist of reinforcement learning with implementatino

  • @not_amanullah
    @not_amanullah 5 месяцев назад +1

    understood++

  • @ARJUNarjun-co3cv
    @ARJUNarjun-co3cv 4 месяца назад

    💟

  • @firsttalks160
    @firsttalks160 5 месяцев назад

    Hi Krish .. please make a video on step by step of RAG using amazon kendra and amazon bedrock

  • @anjalichoudhary2093
    @anjalichoudhary2093 5 месяцев назад +1

    Thanks for the informative video! Can you please also share the git repo link with the code

  • @vaibhavkolhe8586
    @vaibhavkolhe8586 6 месяцев назад +4

    Sir , please always mention pre requisite for crash courses ,it will beneficial who wanted learn specific part

    • @charlesk6378
      @charlesk6378 6 месяцев назад +1

      hey,can you plz share pre requisite if you got it

  • @jayeshnikam3279
    @jayeshnikam3279 3 месяца назад

    Thank you Krish sir for this woonderful video. I want to highliight a point that if you want to use the openai api key after 1 April, it will give error as yoou will have to upgrade yoour openai account and give the credits by paying money

  • @user-jr4og6qz5u
    @user-jr4og6qz5u 5 месяцев назад

    How should we handle hallucinations problem for the above projects done..!! Like any Evaluation method/tech/model to calculate how well our trained model is give the right and accurate result foe the given prompt

  • @user-uq8sv5mt3h
    @user-uq8sv5mt3h 6 месяцев назад

    Krish can you do something on AutoGen or AI assistant end to end project?

  • @Techfosters
    @Techfosters 3 месяца назад

    Hi krish
    Can you tell me what did you do to replay application at 1:18:26 just after setting up the API key?

  • @user-tg4yh8yh3e
    @user-tg4yh8yh3e 4 месяца назад +1

    Can you please me a content on llemma model?
    --> It's really a powerful mathematical LLM model for solving complex mathematical equation(please use the 7B specifically)

  • @krishnaprasadsheshadri6206
    @krishnaprasadsheshadri6206 4 месяца назад

    The similarity_search function is not defined? Any ideas how to define it cause I dont get how it works without the function being defined

  • @JawadHaiderSyed
    @JawadHaiderSyed 4 месяца назад

    Great content Krish. But I would disagree with how you brushed aside open source models. There are great open source models competing with GPT-3.5 and even surpassing it.

  • @arghadeepmisra7865
    @arghadeepmisra7865 6 месяцев назад

    Hello sir, I am having a problem. I have the Tech Neuron subscription. Which course should I start ? Nov'21 FSDS Batch or DS Masters

  • @SuperRia33
    @SuperRia33 2 месяца назад

    In industries do we directly use licensed LLM models and embedding or do we have any internal hosted LLM or api repository?

  • @shabnamfathima3671
    @shabnamfathima3671 Месяц назад

    @Krishnaik06
    The content is amazing and informative with so much detailing and I really appreciate the efforts you put in. Keep it up!!!

  • @BotGaming_YT_
    @BotGaming_YT_ 6 месяцев назад +3

    Sir why don't you create your own generative model with unique idea ❤❤

  • @srikarsesham5918
    @srikarsesham5918 4 месяца назад +2

    429 - You exceeded your current quota, please check your plan and billing details
    i am getting this error
    should i change my account and login with a new API for this

  • @johnny2bi4
    @johnny2bi4 4 месяца назад +1

    i run into quota issues when i run the .embed_query. How do i fix this "insufficient quota"

  • @ankit85jain
    @ankit85jain 5 месяцев назад

    Does custom tools in langchain agent with llama2-7B works? I am getting not a valid tool error.

  • @user-lq2kt4xh9q
    @user-lq2kt4xh9q 4 месяца назад

    You are just awesome Sir, I learnt so many things from your uploaded videos. I completed your all the videos related with Statisctic, Machine Learning, Deep Learning, ANN, CNN, RNN and NLP. I enrolled a course from iNeuron As Mastering GenerativeAI. I am enjoying the course. keep me in your prayer Sir. May Allah bless you Sir. Thnaks...MeHeDi...

  • @gauravtak1362
    @gauravtak1362 5 месяцев назад +1

    Hello Krish Naik Ji, can you create a small video to deploy langchain LLm project over HuggingFace Space, I want to demo it to some of friend publicly. Please if you can. Thanks in advance.

  • @sumitmundkar4378
    @sumitmundkar4378 6 месяцев назад

    Hi krush will this course will be made available to tech neuron? Because i want to join this course but if it's made available in tech neuron then it will be waste. Please don't mind that's the question

  • @alkebabish
    @alkebabish 3 месяца назад

    This course is great but LangChain has already changed quite a bit so you will have to follow the documentation

  • @obamaengineer4806
    @obamaengineer4806 Месяц назад

    very first step giving
    'conda' is not recognized as an internal or external command,
    operable program or batch file.

  • @pranavagrawal9706
    @pranavagrawal9706 5 месяцев назад

    Hi @krishnaik06, I am unable to find the PDFQuery_LangChain.ipynb file in your repo. Could you please help ?

  • @srisaisubramanyamdavanam9912
    @srisaisubramanyamdavanam9912 5 месяцев назад

    What are the prerequisites to watch this video

  • @navyasonalagarwal6092
    @navyasonalagarwal6092 5 месяцев назад

    'text-davinci-003' has been deprecated by OpenAI, any alternatives for it?

  • @dipanshuasri
    @dipanshuasri Месяц назад

    I can't use conda due to some limitations . Any other alternative ?

  • @mayurtuteja5406
    @mayurtuteja5406 4 месяца назад +1

    want to write a code to find out the number of times Krish says 'Probably' in his videos 😝

  • @nazarmohammed5681
    @nazarmohammed5681 6 месяцев назад

    sir make a project when related multiple pdf chatting if query not related to pdf LLM should response independently

  • @dibyajyotimohanty9150
    @dibyajyotimohanty9150 6 месяцев назад

    Sir, can't we generate pic in place of text with Gemini pro

  • @deeptivenugopal858
    @deeptivenugopal858 3 месяца назад

    sir, for all these projects can we use a laptop with 8gb RAM? Or need a high end configuration

  • @ayushmangarg2
    @ayushmangarg2 5 месяцев назад

    commenting for better reach

  • @n.aniruddhan4464
    @n.aniruddhan4464 6 месяцев назад

    Nlp with deep learning pls sir

  • @Ai-ni3gs
    @Ai-ni3gs 5 месяцев назад +3

    should i pay to use OPENAI API

  • @sudipnadkarni9723
    @sudipnadkarni9723 5 дней назад

    sir i need some help to set up my initial environment.. can someone help?

  • @user-vp2oz9me9c
    @user-vp2oz9me9c 5 месяцев назад

    great work

  • @anirban3974
    @anirban3974 5 месяцев назад

    I'm getting a validation error while running the chain. Can anyone help

  • @Aarna2015
    @Aarna2015 4 месяца назад

    can we use google colab instead of vs

  • @pearlrodrigues3036
    @pearlrodrigues3036 4 месяца назад

    Could anyone help me with some learning stuffs for PDF comparison using Langchain

  • @chaitanyabotta1222
    @chaitanyabotta1222 5 месяцев назад +1

    Could you please help in finding the PDFQuery_LangChain.ipynb file, as we are unable to find it in your git account.

    • @AV_Kumar
      @AV_Kumar 4 месяца назад

      did you find it?

  • @micromeritseducation8583
    @micromeritseducation8583 10 дней назад

    even with python 3.10, we get the following error
    ERROR: No matching distribution found for google-generativeai. Please help krish

  • @mainakseal5027
    @mainakseal5027 4 месяца назад

    blogGen is not producing any result...anyone facing the same issue?

  • @namratakasina1835
    @namratakasina1835 6 месяцев назад +2

    Sir, I'm getting Rate Limit Error when trying to execute print(llm.predict(text)) , kindly help in what must be done?

    • @pallavirajpallaviraj
      @pallavirajpallaviraj 5 месяцев назад

      I am also getting the same error,what is the solution?

    • @nehaagarwal9889
      @nehaagarwal9889 5 месяцев назад

      Same issue coming with my api. Kindly help

    • @addankinagakavya2325
      @addankinagakavya2325 5 месяцев назад

      I am also getting rate limit error but I didn't make evena single request

    • @nk_7037
      @nk_7037 5 месяцев назад

      Same error

    • @manavighorpade1991
      @manavighorpade1991 4 месяца назад

      i am getting same error

  • @nk_7037
    @nk_7037 5 месяцев назад

    Rate limit error while predication of text 😢

  • @hishamhakeem7999
    @hishamhakeem7999 6 месяцев назад

    bro requirments.txt is not installing can u give me answer

  • @rohanmallick2963
    @rohanmallick2963 6 месяцев назад

    Should we buy open ai subscription to use the key bcz i am getting rate limit eroor

    • @nikhiljanugama5405
      @nikhiljanugama5405 6 месяцев назад

      i don't think so, basic open ai key should be enough

  • @user-kp7ke4in4m
    @user-kp7ke4in4m 5 месяцев назад

    I found error when installing langchain. I tried vary hard but failed. Is there any other way?

  • @tiwariFlow
    @tiwariFlow 6 месяцев назад +2

    Sir I am facing RateLimitError while learning Langchain?

    • @nk_7037
      @nk_7037 5 месяцев назад

      Have u resolved it , i m facing same. Error!

  • @neerajgaurneeru2898
    @neerajgaurneeru2898 4 дня назад

    Krish thank for information it's helpful for me, krish I need your help regarding how to intract chatbot with user last conversation session msg, bcoz in my case chatbot every time create new session with user, please help me, I m waiting for ur response

  • @mohammadizhaan1737
    @mohammadizhaan1737 4 месяца назад

    bro shuru me
    text="What is the capital of India"
    print(llm.predict(text))
    ke baad error aa rha hai ki billing limits n all can you tell me the solution>?
    error code 429 aa rha hai solution btado koi pls

  • @tuhinghosh9737
    @tuhinghosh9737 6 месяцев назад

    Is there any prerequisite to watch this video?

    • @Pubba_
      @Pubba_ 6 месяцев назад

      If you want to learn everything. Start with python, statistics, machine learning, deep learning, NLP, then genai (LLM). All are available in this channels playlists. Go watch you will enjoy and gain more knowledge than you think for sure

  • @user-me1gh3ki4n
    @user-me1gh3ki4n 2 месяца назад

    Please Put a video using AI21 instead of Openai

  • @CodingAhead
    @CodingAhead 6 месяцев назад +2

    i am getting rate limit exceeded error, even though i am using it for the first time

  • @deepakdhull9435
    @deepakdhull9435 5 месяцев назад +1

    Do we need paid subscription of open ai for this?

    • @kalm4757
      @kalm4757 4 месяца назад

      Did you find out ?

  • @hellwelt7427
    @hellwelt7427 3 месяца назад

    hello sit i ave learn lot of things from you but can you help me i always face issue related to use openai key

    • @farhanpasha5321
      @farhanpasha5321 Месяц назад

      Pay karna padega open ai key ke liye ab free nahi hai openaikey

  • @karts82
    @karts82 6 месяцев назад

    I go this error: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. How to resolve it?

    • @rashedin6356
      @rashedin6356 6 месяцев назад

      yes, same error, did you resolve it?

    • @karts82
      @karts82 6 месяцев назад

      @@rashedin6356 looked up documentation.
      Looks like the free quota expired although I didn't use much(my openai account is almost an year old). I may have to upgrade to a paid account.

    • @sametgok5708
      @sametgok5708 6 месяцев назад

      you need to pay or you can do another sign up with openai using diffrent eamil and phone number.

  • @subhashprajapati9778
    @subhashprajapati9778 3 месяца назад

    sir i try many time every time get limit rate error then i recharge my account 5 $ but my problem is same limit error how can i fixed it

    • @mohamed_deshaune
      @mohamed_deshaune 3 месяца назад

      create a new api key and delete the older one , cuz I've encountered this problem before if it doesn't solve the problem could you provide the whole code of the project maybe i can help u