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
Lets target 2000 likes for this amazing video :)❤
Doing God's work my man ! Salute ! :)
Absolutely agree with @@afterglow25. He is a great person
more llm project
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
i am having issues while installing cassio and cassandra-driver, what version of python you are using?
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
Hi Ashwin, Can you tell us more about how to host LLM models.
@@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
can you please share more information about hosting the LLM.
What after developing our own LLM model? Can we write a research paper on it?
broo api key ke liye pay krna pdega kya ??
Your informative content has been incredibly helpful. We find all the information we need right here on your channel when learning about general AI.
It took me 1 week to complete this 4 hour video along with work, this is pure gem
This is the milestone for GEN AI journey, thank you Krish sirji. I'm very excited for Hindi version for this video.
Thank You Krish, for the amazing state of the art videos....highly appreciated !
Wow, great video for a beginner like me! Thank you so much Krish!
Massive effort, massive impact. When ai crawls RUclips, you will be one of the greatest of all time as per ai. Thanks a lot
Thanks Krish
This is quite helpful!
Thanks for putting together this amazing course
you deserve these likes ...thanks you so much Krish
Excellent Krish, you have made this all too easy to learn.
Great thanks!
Happy New Year, Krish Naik ans Team!!🎉❤
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
Thank you Krish sir for amazing session.
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
Thanks a lot for these valuable content for free
Thank you so much for this amazing content Krish. If possible please post for chat with csv and pdf using llama2..
Let's support Krish. Thanks for this amazing content.
You are our real life 'Krish' ......heartfelt thanks .......
Supperr Helpful Video sir ❤😊
Thank you soo much for this amazing video
Thanks Krish!
Great Content, Thanks for sharing..!!
Awesome tutorials... thanks for your efforts
great video much needed
Thank you so much sir❤❤❤
you are really great over all youtube.
Thank you for sharing
Thanks for sharing 🚀
Thankyou so much ❤❤
Thank you so much you are the best
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.
Good video Krish
So good!
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.
Excellent
thank you sir , bhagawan apko lambi umar de.
Thank you so much sir for this video ❤.
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.
nice
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.
make a detail playlist of reinforcement learning with implementatino
understood++
💟
Hi Krish .. please make a video on step by step of RAG using amazon kendra and amazon bedrock
Thanks for the informative video! Can you please also share the git repo link with the code
Sir , please always mention pre requisite for crash courses ,it will beneficial who wanted learn specific part
hey,can you plz share pre requisite if you got it
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
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
Krish can you do something on AutoGen or AI assistant end to end project?
Hi krish
Can you tell me what did you do to replay application at 1:18:26 just after setting up the API key?
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)
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
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.
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
In industries do we directly use licensed LLM models and embedding or do we have any internal hosted LLM or api repository?
@Krishnaik06
The content is amazing and informative with so much detailing and I really appreciate the efforts you put in. Keep it up!!!
Sir why don't you create your own generative model with unique idea ❤❤
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
i run into quota issues when i run the .embed_query. How do i fix this "insufficient quota"
Does custom tools in langchain agent with llama2-7B works? I am getting not a valid tool error.
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...
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.
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
This course is great but LangChain has already changed quite a bit so you will have to follow the documentation
very first step giving
'conda' is not recognized as an internal or external command,
operable program or batch file.
Hi @krishnaik06, I am unable to find the PDFQuery_LangChain.ipynb file in your repo. Could you please help ?
What are the prerequisites to watch this video
'text-davinci-003' has been deprecated by OpenAI, any alternatives for it?
I can't use conda due to some limitations . Any other alternative ?
want to write a code to find out the number of times Krish says 'Probably' in his videos 😝
sir make a project when related multiple pdf chatting if query not related to pdf LLM should response independently
Sir, can't we generate pic in place of text with Gemini pro
sir, for all these projects can we use a laptop with 8gb RAM? Or need a high end configuration
commenting for better reach
Nlp with deep learning pls sir
should i pay to use OPENAI API
sir i need some help to set up my initial environment.. can someone help?
great work
I'm getting a validation error while running the chain. Can anyone help
can we use google colab instead of vs
Could anyone help me with some learning stuffs for PDF comparison using Langchain
Could you please help in finding the PDFQuery_LangChain.ipynb file, as we are unable to find it in your git account.
did you find it?
even with python 3.10, we get the following error
ERROR: No matching distribution found for google-generativeai. Please help krish
blogGen is not producing any result...anyone facing the same issue?
Sir, I'm getting Rate Limit Error when trying to execute print(llm.predict(text)) , kindly help in what must be done?
I am also getting the same error,what is the solution?
Same issue coming with my api. Kindly help
I am also getting rate limit error but I didn't make evena single request
Same error
i am getting same error
Rate limit error while predication of text 😢
bro requirments.txt is not installing can u give me answer
Should we buy open ai subscription to use the key bcz i am getting rate limit eroor
i don't think so, basic open ai key should be enough
I found error when installing langchain. I tried vary hard but failed. Is there any other way?
Sir I am facing RateLimitError while learning Langchain?
Have u resolved it , i m facing same. Error!
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
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
Is there any prerequisite to watch this video?
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
Please Put a video using AI21 instead of Openai
i am getting rate limit exceeded error, even though i am using it for the first time
same
same
Do we need paid subscription of open ai for this?
Did you find out ?
hello sit i ave learn lot of things from you but can you help me i always face issue related to use openai key
Pay karna padega open ai key ke liye ab free nahi hai openaikey
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?
yes, same error, did you resolve it?
@@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.
you need to pay or you can do another sign up with openai using diffrent eamil and phone number.
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
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