🎯 Key Takeaways for quick navigation: 00:00 📋 *Introduction and Agenda* - Introduction to LangChain and the purpose of the video. - Agenda for the video, focusing on practical orientation and end-to-end projects. 02:46 🛠️ *Environment Setup and API Key* - Setting up a virtual environment (VENV) for the project. - Obtaining and handling the OpenAI API key. - Installing necessary libraries. 08:35 🧠 *Understanding Temperature in Language Models* - Explanation of the temperature parameter in language models. - How temperature affects model output creativity. 16:12 🤖 *Model Prediction and Output* - Demonstrating model prediction with a sample input. - Displaying the output of the language model. 18:30 🤝 *Using Hugging Face Models* - Installing the Hugging Face library. - Setting up the Hugging Face API token for accessing open-source models. - Exploring available Hugging Face models for text generation. 21:21 🧩 *Understanding LangChain and Hugging Face Integration* - Learn how to integrate LangChain and Hugging Face for language models. 23:28 📊 *Comparing OpenAI GPT-3.5 and Hugging Face LLM Models* - OpenAI GPT-3.5 provides more detailed responses compared to Hugging Face LLM models. 27:09 🧵 *Working with Prompt Templates in LangChain* - Using prompt templates to structure input for LLN models. 34:12 🔗 *Combining Multiple Chains with Simple Sequential Chain* - How to combine multiple chains using the Simple Sequential Chain approach. 01:07:22 🚀 *Setting Up Basic Application* - Creating a basic application. - Initializing a Streamlit app. - Setting page titles and headers. - Handling user input with a submit button. 01:09:55 🧩 *Capturing User Input and Calling OpenAI Model* - Capturing user input using a text field. - Sending user input to the OpenAI model. - Processing and returning the model's response. - Exploring how the OpenAI model can be customized. 01:13:19 🌐 *Deployment on Hugging Face Spaces* - Deploying the application on Hugging Face Spaces. - Adding secret keys for OpenAI API. - Uploading the application files. - Testing the deployed chatbot in a public space. Made with HARPA AI
@ocbhu8666 Жыл бұрын
Thanks Krish , these video are amazing & because of you it seems like its really possible to quickly learn & leverage open ai llm models . Keep up the good work !!! Cheers !!
@AIMLDLNLP-TECH Жыл бұрын
I think practical and particular domain related videos will help more, this is very generic
@lanreuzamere4994 Жыл бұрын
What a Blessing you are! GOD Bless you exponentially 🎉
@PAVANKUMAR-vx9ty Жыл бұрын
it is a great tutorial without doubt! Please upload more videos like this❤❤
@AIMLDLNLP-TECH Жыл бұрын
👏🏼
@Gaurav-my7vv2 ай бұрын
If anybody is encountering this error- {“error”:“Authorization header is correct, but the token seems invalid”} Do the following steps- 1. go to hugging face account → setting → Access Token 2. Edit Access Token Permissions 3. Under the Repositories check box Write access to contents/settings of all repos under your personal namespace. 4. Under the Inference check box Make calls to the serverless Inference API 5. Save and retry to run your code.(If still not working then delete this access token, create a new one will these permissions) Happy Learning!!😉
@adityavipradas3252 Жыл бұрын
Super excited for this series
@AIMLDLNLP-TECH Жыл бұрын
Are you a data scientist Aditya?
@1murali5teja Жыл бұрын
Thank you sir for creating this type of projects with langchain
@aillminsimplelanguage11 ай бұрын
That joke on 3cr package was very subtle :)
@AIforAll-DOMANA Жыл бұрын
learning by practice is the best thing ; THANK YOU SIR KRISH
@aarizmobin4487 Жыл бұрын
Amazing tutorial.. thank you krish .. you are great.. love you ..
@farhanafridi8694 Жыл бұрын
Please try to upload videos on Generative AI more frequently. 😢
@AIMLDLNLP-TECH Жыл бұрын
What kind of videos you are looking for in Generative AI NLP or computer vision related Farhan ?
@gautambegde648411 ай бұрын
Thank you Krish sir for such an informative video!
@himanshupatidar8040 Жыл бұрын
it's a great tutorial. just one issue that video title says hugging face hub and video is mostly implemented using openai where we usually get rate limit error in openai api.
@jimharrington5678 Жыл бұрын
Thanks Krish, Please upload more videos also.
@chidambarjoshi3470 Жыл бұрын
It's my sincere request for you to make a detailed Computer Vision playlist
@AIMLDLNLP-TECH Жыл бұрын
❤
@LalithaReddy-d4o Жыл бұрын
Thanks very much needed resource.
@izainonline Жыл бұрын
Great Sir❤
@soumeshnayak4546 Жыл бұрын
Great tutorial
@qammarbhat397 Жыл бұрын
Please make a video about end to end design of a chatbot using gen ai for any website
@sreejak58668 ай бұрын
I will probably like this video
@maryam12930 Жыл бұрын
Hello Sir, The openAI api and google gemini api both are paid so how a student who wants to include this project in his portfolio bears the cost because they are expensive
@praulayar4805 Жыл бұрын
Nice Explanation
@Danny_DB-xi5lo Жыл бұрын
Good explanation Sir... Please, Can you elaborate how to do deployment using cli as well especially in huggingface?
@laxmiagarwal32858 ай бұрын
very informative video..can we implement embeddings when we use gpt-3.5-turbo model?
@honeybhardwaz74619 ай бұрын
Hey, Krsih make some videos on AutoGen to, BTW awesome job.
@nunoalexandre6408 Жыл бұрын
Love it!!!!!!!!!!!
@d_oddy22 күн бұрын
Probably the video was useful
@raph8240 Жыл бұрын
Thanks for the video
@RamaChandran-fc3hp Жыл бұрын
Thank you sir
@JyotiprakashMandal-bp8ng10 ай бұрын
Legend
@JJGhostHunters Жыл бұрын
You are correct! I was thinking the capital of Austrailia is Melbourne! LOL!
@akj3344 Жыл бұрын
Why are people always begging for more? I always see these comments below krish's videos.
@GaganaMD Жыл бұрын
at 1:17:10 how do we run the app after updating the API key?
@harshsonawane578 Жыл бұрын
i am unable to implement / run part after sequential chain becoz i dont have access to openAI model any alternative for those models cant use opensource models from huggingface in ChatOpenAI please suggest alternet suggestion
@mayanksharma609 Жыл бұрын
I faced ERROR "AttributeError: module 'openai' has no attribute 'Completion' while running llm=OpenAI() after today's update in openai, might be this error is coming. I switched to "openai==v0.28.1" and it worked fine.
@atharvaa.markandey4529 Жыл бұрын
yes, it's the latest openai version that's the issue
@vmajay007 Жыл бұрын
I have downgraded openai to v0.28.1, still I am facing the issue.
@pankajkumar-xr9up Жыл бұрын
how u resolved it my mind is fucked up@@vmajay007
@santoshkv1125 Жыл бұрын
I still get the same error. what is the langchain version you've tried?
@krypton_17 Жыл бұрын
hey krish, can u try to integrate sql in to your projects
@AIMLDLNLP-TECH Жыл бұрын
Can you specify what do you need ? ETL or langchain with ur own data ??
@krypton_17 Жыл бұрын
@@AIMLDLNLP-TECH store and retrieve data in project pipeline
@seanrodrigues1842 Жыл бұрын
What LLM model do you use in the project? I mean is it chatgpt or llama? In the code we dont mention the type of LLM model? Is it gpt4 since we are using OPEN AI? @krish naik
@silviolima07 Жыл бұрын
Is necessary to buy credits to use it? In other video I got the message " insufficient quota" .
@himanshusingh87499 ай бұрын
Did you get the solution?
@arpitaingermany9 ай бұрын
what kind of token I should create in the hugging face
@dhrumil5977 Жыл бұрын
Make a video on how to use AutoGen
@AIMLDLNLP-TECH Жыл бұрын
Do you need autogen research paper explanation or start to end llm project using autogen ?
@sakshisoni315011 ай бұрын
will it be safe to use llm when your main concern is privacy can i use it with my important data
@izainonline Жыл бұрын
Installing IPI kernal required only 1 time for Jupitar Notebook as we are installing out of environment?
@akshayshendre7408 Жыл бұрын
hi Krish! I am getting AttributeError: module 'openai' has no attribute 'error'. while trying to run llm.predict(text). I don't know the issue. tried looking online but couldn't find a soultion. could it possibly a version related issue?
@payaljain3508 Жыл бұрын
I am facing the same issue.. any solution to this? Please help
@payaljain3508 Жыл бұрын
@@atharvpingle6937yes.. i changed my file's name from lanchain.ipynb to something else. That fixed the issue..
@shashanksinghal8395 Жыл бұрын
Temperature value is between 0 and 2.
@cssai47786 ай бұрын
If you don't probably stop using probably so insanely probably incorrectly in ur probable speech, I'll probably unsubscribe despite such probably good content.
@tannaprasanthkumar9119 Жыл бұрын
Sir I have a douby while using API keys , I get rate limit error
@SatvikSrivastava-js6gm Жыл бұрын
Thanks Krish , can you make a video on training lanchain and open ai api with a set of input and output documents so that with a set of new documents it is able to create an output document
@AIMLDLNLP-TECH Жыл бұрын
Langchain llm trained on your pdf document 📃 chatbot system do you need Satvik?
@SatvikSrivastava-js6gm Жыл бұрын
@@AIMLDLNLP-TECH yeah kind of we need to train llm on our pdf(s) so that it is able to create the output document , not a chatbot system definitely
@kaushik1286 Жыл бұрын
It worked completely fine and ven openeed the streamlit webpage, but nothing is shown
@hitsakhavala9623 Жыл бұрын
33:58 Error achhe hai😅
@florenceofori79307 ай бұрын
I like how he keeps dangling the API key infront of us 😂
@SiriRavali6 ай бұрын
Hi Krish, Can you please share what's in the .env file.
@Ashok_kumar_0092 ай бұрын
Can try this in Google colab
@sujjee Жыл бұрын
why there are so many ways to run llm im confuse with them like when to use when like there is predict, call, invoke, generate
@memoonashah8108 Жыл бұрын
can u please make a tutorial that uses Mistral AI 7B from huggingface to make a chatbot
@dipankardandapat549511 ай бұрын
I have this use-case where there are different types of documents. I can parse documents using document loaders using langchain. But, there are images also in these documents. I want to store them as metadata and if answer generated from a context chunk it show the image also. Please help sir
@masdarbaktiar893011 ай бұрын
why when I try pip install, it shows "Defaulting to user installation because normal site-packages is not writeable"
@qzwwzt Жыл бұрын
Hi Sir, you have a video where you teach how to query a PDF. Is it possible to query, at the same .py my PDF and gpt-4, for example? Tks a lot
@AbhijitG2 Жыл бұрын
I am getting that I have exceeded my limit for open AI Do we need to get paid subscription for OpenAI API ?
@kanishkasharma353 Жыл бұрын
ia m also getting the same . kindly reply if u find a soln
@opshorts3205 Жыл бұрын
hey any solution for this@@kanishkasharma353
@tuguest2 Жыл бұрын
I have tried everything i could but still getting this error: ImportError: Can't connect to HTTPS URL because the SSL module is not available.
@mk-uv9ih Жыл бұрын
Krish please tell me why I am getting the error from langchain.llms import google_palm import os from dotenv import load_dotenv load_dotenv() TypeError Traceback (most recent call last) Cell In[16], line 1 ----> 1 llm = google_palm(google_api_key=os.environ["GOOGLE_API_KEY"], temperature=0.1) TypeError: 'module' object is not callable
@sanjaychilveri83867 ай бұрын
how should i solve the rate limit errror
@arnaritbhunia50312 ай бұрын
"Authorization header is correct, but the token seems invalid" ye error bar bar araha hain ..please koi batao kaise fix karun yesab ???
@shreyas9280 Жыл бұрын
why openAI cant we use LLAMA2 for RAG?
@ramusesandasari845111 ай бұрын
if i install packages without versions in requirements.txt am getting following error: pip install -r requirements.txt ERROR: Could not find a version that satisfies the requirement lanchain==0.1.7 (from versions: none) ERROR: No matching distribution found for lanchain==0.1.7
@kshitijmathur13589 ай бұрын
spelling mistake - langchai not lanchain
@santoshkumarit_4thyear_2634 ай бұрын
I am facing Ratelimt error and found no usage on my OpenAi dashboarad, what may be the possible reason? Please help me if anyone know hot to solve this?
@pragneshsolanki8243 Жыл бұрын
Why python==3.9 version is used in this project. There are new version available like 3.10, 3.11, 3.12
@AIMLDLNLP-TECH Жыл бұрын
Because all the python libraries used in this project are compatible and tested with 3.9 versions, if you want you can update only issue is sometime syntax get change
@pragneshsolanki8243 Жыл бұрын
Thanks @@AIMLDLNLP-TECH
@tiwariFlow Жыл бұрын
I am facing RateLimitError... How to fix this error
@sparshadevapalli898 Жыл бұрын
Two things here: 1) If the current execution run after multiple successful response yields this error, then wait for a while before you run for next time. The model has a limit of at least 3 responses per request. 2) if you're facing this issue when your existing API key for the model has expired, create a new API key with new mobile and email address. It will help you create a new API key for the model. Hope this helps.
@payaljain3508 Жыл бұрын
Hi Krish Sir.. I am getting AttributeError: module 'openai' has no attribute 'error' . Can you please help how to resolve and proceed further?
@aswathivishruth4489 Жыл бұрын
Make sure your python version is greater than 3.8. And also upgrade your open AI
@rakeshkumarrout2629 Жыл бұрын
Not everyone is providing how to finetune llms cause they donot have any idea how it works.They will , not now only in future after copy pasting someone ele's content.
@AkankshaBhagat-k1h6 ай бұрын
Hi, Can we access the open Ai api key for free?
@florenceofori79307 ай бұрын
Its quite outdated now. Most of the langchain packages have changed.
@zerotohero10026 ай бұрын
How do I learn I kind of need spoon feeding
@SkillWisKnowlege Жыл бұрын
I am frustrated get job for as fresher I should I can learn
@rohan2718 Жыл бұрын
Communication Skills and English.
@akinolanathaniel5784 Жыл бұрын
Guys is the open AI Api free?
@kunjeshpanchal1621 Жыл бұрын
Naah, It's not 🙃
@aitoquantum Жыл бұрын
Everytime in all your videos you make a virtual env naming venv! I wonder how many venv you have? So for 100 projects if there are 100 venvs won't it be confusing? @KrishNaik
@santoshkv1125 Жыл бұрын
the venv's made here are with -p (path) switch, which tells you not a project specific to that folder. so to activate it you will have to provide the path to that environment. To access this environment globally you have to provide the entire path to that venv which in any case you will know where are going.
@Mr_Sniper57 ай бұрын
evey youtuber make video on openAi why
@captvashu8142 Жыл бұрын
is open ai key free?
@sapnilpatel1645 Жыл бұрын
yes
@RajaBabu-vz6bo9 ай бұрын
Hello Krish I saw ur langchain video. It was nice & i want to implement it. But i m getting error while running api key. Erro code 429. That my credit is used. I have created new (1st time) in openAi, still i m getting this error. Can u help mein this
@tiwariFlow Жыл бұрын
Rate Limit error agya 😢
@KumR9 ай бұрын
half & half
@madarauchiha-m2f6 ай бұрын
Bhai phle to tu probably probably bolna km kr, boht irritate krta h
@HappyDataScience Жыл бұрын
i have made a google form for reasearch study on data science and i want to reach to as many as possible, to collect the study data. if anyone can help me to get in a group or would like to contribute please reply. i'm student so don't worry about the data integrity it's for study!
@AIMLDLNLP-TECH Жыл бұрын
Do you need real data or random data
@HappyDataScience Жыл бұрын
@@AIMLDLNLP-TECH real data, i need response from data science field from student to employee if you know any group i can give you my number, this project is for my study i want to do data cleaning and analysis on this
@chukwumanwakpa3330 Жыл бұрын
I'm interested
@DadCooks4Us9 ай бұрын
Who wants your API KEY dude? C’mon.. and btw you can always create a new one. Stop behaving like a kid about the API KEY
@kavyanshpandey3823 Жыл бұрын
I thought it was Sydney
@3091186 Жыл бұрын
hi Krish, every time when i pass argument in final, getting below error. hipe this will not trouble: "Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded ......."