ChatGPT Tutorial -A Crash Course on Chat GPT for Beginners and Javascript developer #openai #chatgpt

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this tutorial we are going to learn about charge GPT how can we to sign up or login then we are going to look how we can boost our productivity as a software developer or working as a lawyer blogger or even doing a normal search with a chat GPT this tutorial will be for the big nerds so those who want to learn how they can do a search what questions they can ask and what the productivity want they want to enhance how they can enhance what the questions and what answer they will get for the chat DPT have the limitations and is they can rely and after that we'll move forward and we are going to discuss the step-by-step development of the node.js application we are going to create some functions then with the help of the charge apt then we'll learn how we can start the server then we as we move forward we will going to discuss how we can create a Docker file with how we can deploy the docker file with the help of the kubernetes then what is the cluster IP and after that we'll be looking how we can deploy uh not just application on all server so now let's start by exploring the chart GPT so I am in my Chrome browser and here we need to type the AI and you will get the first link so this is an organization who has built the chart GPT and you can explore more go to the apis and can explore more about the open Ai and its documentation and what we are looking is for the introduction to the chat jpt so do a click on this one it will do a connection and here you will get a login and the sign up option now we are going to do assign up here you can type your email ID and after when you do those You will get a verification mail and when you click on that you will be prompted to type your name then your number then you enter a code which you will get in your mobile so once you do that so after the successful login you will be able to see this chart CPT where it's going to tell you about what their Google is as they work on the feedback accounts mechanisms so make it safer and there's a safeguard place so there can be a misleading information also which you need to be sure and the conversation is also been reviewed by your AI trainer so they can improve their system and they also suggest not to share the sensitive information we do a next and after that and you we can share your feedback and we are done so now this is the UI looks like for the chat CPT so I'm using a darker version so here you can they are the sum of the few suggested questions which you can ask to the third GPT and also we're going to tell you what the capabilities of that GDP have and it can also decline your inappropriate request it or it may not respond to you now the activity also have the sum of the limitations that it can generate incorrect information because it's an AI will only give you the data up to 2001 it is limited to the only 2005. so now uh there is an option for the switching for the light mode and to the direct mode so this is how you can do which is coming on the right corner so we can change to the light or the dark mode as which is suitable for your eyes so now we are going to ask the chats if it is sub questions which we can see how it's going to response I am going to do a simple mathematical calculation 2 plus 2 and I'm going to ask for the charity so it has given me the answer that is 2 plus 2 is 4 and you can see on the left hand side it has given the name to the r conversation now let's try to ask the chat Deputy are you sure so it's saying that yes in the mathematical it is correct so you can see yes 2 plus 2 is equal to 4 in the mathematics this is a basically automatic operation with charge GPT has given you the response and now give it the appreciation and see what it is going to response as so it is saying that you are well done and it's also saying that if it can't do any other questions for you so now let's ask the that can you add nine minus 12 some complex question I have given so it's given me the correct like 9 minus 12 is minus 3 which is correct so it has given me the correct response I tried it to make it confused but 30pg given me the correct answer first so now let's try to confuse the chart deputy so I am trying to give like giving the answer like 9 minus 2 is minus 4 and trying to make it a confused so Association so it is saying that I apologize you are correct 9 minus 12 though it has given you the correct answer but it is saying that my previous response was incorrected so it is an interaction so charity is still learning which it said that it might generate the inappropriate conversation or it might give you the conversation that is not correct but it's fine you got the correct answer so now let us charge Deputy mother can eat toward division also hence let's see what it's going to give us the response so I asked for the division objective number so it is saying that of course please provide me the number so it can do the operation and we perform the division for the now we'll move to the another we are going to see this sample the suggested example which you can see in the front of the charger with the screen so you need to click on that and once you click on that click on the arrow button so which is act like ascend and now it's going to give you this sum data which is stored in that AI so it's saying that content Computing is the type of the Computing so basically it's telling you about what is quantum computing it has given you the two also in the left hand side now you can switch in between the two of your chats and also it stores your previous conversation for the time the session is active so now let's ask the chat jpt that what exactly is chat's apt so now we are going to ask to the charge Capital what you are let's see how it is going to reply as so I'm going to write how good is chat jpt so let's wait for the answer so now it started giving you the response like that Deputy has a power language model that has been trained over the vast amount of the data and which can generate a human like answer and the text can be vary in the context and that it can work on the tasks and however it's like a machine learning model it's also saying that I'm not a perfect now let us who has developed the chat GPT okay my bad it will be developed so who developed chat CPT so let's see what's going to respond so it is saying that charge GPT is developed by the open AI which is quite current and it's a research organization so it is more telling about the Hope what is and who is the founder of the open AI so so now I'm going to add the chat Deputy that I want to make up is uh so prepare our shopping list for me so let's type I want to make exam so now we are going to see what all the ingredients it is going to this game so it should be list and then let's return the and let's see what's going so it's saying that some basic shopping list copies at home is required some is salt sugar olive oil tomato sauce mozzarella cheese and some of the toppings and at last it's saying that it is the basic list you can add your ingredients or you can remove all so you can use the different type of flows with and more depending on your trust and you can always try with different things and a lot of the things it is telling me now let's ask the chat GPT that where can I find this or I can ask which is the nearest market so let's see whether it's going to give us the response or not so it's saying that uh it's an AI model which is currently not open to the Internet so it will be not be able to access the exact location but it has given you the suggestion that you can do a school girl search where you can type the market near me you can ask the serial Alexa or look at the phone number and ask your local mind that whether they can provide you or not so now let's add the chat Deputy to tell us the story and we and we are going to check whether it's a good in the storytelling or not so I type tell me a story so it is starting typing some of some story so let's see what it is so it's saying that once upon a time there was a king which was generous and he ruled at uh one one day a dragon appeared in the Kingdom destroying the villages and there is terrorizing the people so now the king fought with the bravery and they stuck down the dragon and its kingdom was safe so it was a pretty straightforward and a simple story so now let's ask the chat Deputy to tell us Horror Story and that now we are going to get a horror story or not let's see so tell me a Horror Story so it started printing the story for us let's see there was a small town and there was a abandoned mention on the outskirts of the town and manipulate that the house was cursed so one group of the friend decided to export Dimension one night and to uncover the toxic so they entered the house a hundred first is pretty seems normal but as shown as they go deeper in the house tensing begins to happen so the heart was hearing about some strange noise he goes and then they feel that someone is getting washed after that there is to these stairs there they found that someone is standing on the door got open and slowly they turned around they saw that some terrifying faces and the glowing are and after that they had never seen again and this mentioned remains turned to this eight attack and for holding reminder of the terminal so it told us a pretty horror story so which is upgrade so trajectory is also good at telling the storage so it's giving you the data directly and you can work on the different aspects you can add the more stories to the charge deputy and also it is going to give you the response so now let's check whether the charge Deputy is going to give you the repetitive data or not so let's ask the same question again to the chats APK and we'll see that whether it's going to give the previous response or not so now this time it does given the some different story and some with a different background so is not repeating itself so I stopped the generating so now like if you want to use the chat jpt for building some of the YouTube videos so you can add the depth if you do to give this some of the video suggestions on which you can make the videos so let's ask charging give me some YouTube videos and let's see what ideas it gives so it has given that day in live Vlog you can start DIY product and which is pretty good options it is giving where you can explore and you can create your own videos on these different options yeah so this time with the chat Deputy I'm going to do some coding so let's take the help of the chat CPT and ask how good is that GPT in the JavaScript so it is giving you that yeah I am a language model and trained in the various data as and where your tags so you can solve some of the questions syntax semantics and can write a code and you can help in troubleshoot shooting the sum of your errors in the code so it's also saying that however my ability is unlimited so now let's ask this question like how we can fetch a method in the node.js so we are going to write the fetch API so let's see what it's going to give so I asked to write a fetch method for a weather API so it had created a function where it has created a API key and there is a some URL it has given and now it's just writing the fetch method and which is a promise so it is you using an response after that the data will come up also it did a handling for us now it is going to describe what it has written in the that so it is describing all that uh get where the function has passed the name to retrieve the current weather of that location then it is telling you to replace the API key where to replace it also telling me and also saying that it isn't just an example you have to go to the documentation API so now let's to create a node with an HTTP server and with a fetch method so now we are going to make a bit complex and let's see what's going to reply so I'm including the https server and the fetch method board so let's see what it's going to give the response so it's look searching for the response and now it's given that how we are going to create that so for creating the HTTP server and the fetch in a single file so it are requiring of the https then our file system and after that it is going to get us some Advanced thing which is to read this server key and the server certification which is quite good and now it has created this server and then it is going to write what city API key API URL and it's going to write the fetch method which we saw in the above example so let's see yeah so it is also printing the HTML for you which you can see in the browser and it has also did the error handling part and also host videos the server like it has given you the port so now it's going to tell you that what you have to exactly change or the replace in the but so if you want want to learn if you are learning JavaScript or the node so you can add the chat repeating it can explain you where you are stuck and how to visit that URL it is also telling that HTTP has to host you can go and then and then you can work on it you can see and and you can use your node.js so it is giving you the pretty long contact so there is an option to copy the code which is coming in the corner right and you can go to the code one by line and you can see that as print about the content type HTML time what is the API key effect so everything is there so if you are also it is given a good response and you can go to the API with the open weather map so there's some URL where you have to go and generate the API key so for if you are learning or if you are stuck you can again Ask to the charge deputy that this is the problem or there you are stuck you want to learn about the HTTP or summon another method like fetch post you want so that Deputy is giving a good response so now let's get more deeper into that and we'll start how we can start the node server so let's check how the basic installation of the Note 7 what we have to do to make the nodes application to up and running so let's see what's going to print for us so it started giving the output so it is saying that the type of the server you're building and prefer development environment so it is giving you the some common suggestions like you need to create This Server one Javascript file and it's telling you how to run that so basically we run the part Javascript file with the node then passing the the file name and it is also telling you that how we can automate it with the help of the packet.json so it is giving you the one sample skip which you can copy it into your packet.json and you can do uh npm guns script or you can do a npm start so same it's going to take up that particular command which is node server.js or your file name then you can do and another option which in charge of is telling that you can install a pm2 and which is the process manager so it will start your server multiple times if it gets stop also and the fourth and the last option which is it's telling you that there is a built-in terminal which we are aware in the beautiful Studio you can do and to check which version you are doing so for that it is saying that we can do an node hyphen V which is going to tell you what the version of node.js is installed in your system So based on these four output you can use any one of the options which is more suitable for you and you can start working with the nodes so now I really want to check how charge APD is going to behave when we are asking a more generic portion in the accessing of the files in the node.js where I'm not given any module it has to use so let's see what it is going to and how it is going to give the response so let's type in the text that how to access the file from this specific path and to write it and to write in a another path so let's see what I am guessing like it will be going to give you the fs module so let's see so it is giving me the correct output what I have expecting from it so it has given me the read path and the right path and also writing the snippet how to use the module functions like it as use the fs read and the fs right to write the files over there so this is whatever is looking so it is good in understanding the specific problem so now I want to check then the charge if it is like how it is good in explaining any questions in the programming languages so I will be going to ask what is promise dot all in the node just and let's see how it gives the explanation and what the explanation let's give with either it's up to the mark Or Not so you can ask any questions if you are not getting charged if it will give you the response so it is giving the example and explaining pretty well so has given you the three promises and this is how you should also tell in your interview that these so it created three promises one promises simple tax another way the data set timeout and then it did another text and data promise.all and given you the explanation also like what is This Promise dot or what other functions it have like a resolve or the reject so it has given the good and a brief summary about the promise dot all so now let's move ahead so I'm asking these types of questions which helps in building an application so step by step you can follow these path and you can create problem application so now I'm going to ask the chat GPT how I can create a DB connection so we have learned what is denote then what is the new server how to fetch how to create an HTTP server and now we are going to make a DP connection so I'm asking the chargpt to print the DB connection for the postgres database so it is giving me the prompt and now it is given me this some basic modules then it has created a connection new point it is true and then client dot cannot so here you can give your hostname and your database name your password and the port where the your postgres is posted so this is how you will be able to create a DB connection and you can connect so you need to replace these things so certificate is helping you in doing your work more efficiently and providing the information which you require to work fast for creating a database Connection in the node.js so now let's ask to the charge Deputy what tools are being used for building a chat and what is the technology is used for building the charge GPT so let's type tools used for building charts equity and let's see what it gives the output so it's saying that it's a transformational based model and Destroy developed by the open AI so it's not telling me like what combination of the techniques and tools so it's include the data processing neural network framework then it might have the hyper parameter optimization and and subflow it will have so let's have the distributed training fourth then it's model server so these are the some common tools into technology which are being used for developing any AI so it's not given me the specific tools or anything so it has given us the technique which is used and for building and optimizing the cat CPT so now let's ask to the chat jpt some generic questions which will be usually search in a Google search browser so now I want to for example I want to write uh blog post on the dishes or the favorite dishes in Italy so for that let's type write a blog post on Dish in quickly so we'll going to see what the options it will give whether it's going to give you the restaurant or not precisely it's going to give you the answer so now it's giving me the output and you can use this output as a reference for writing a Blog about the some dishes in the Italy and you can use this sum of the dishes like or you can even giving the option about this unpopular dishes how it which is made up of which ingredient and is also telling about they which are the classic dishes like pizza and and telling about this some another dishes also so we talked about the few dishes so it is giving a good summary about are blocked so which can be used as a reference so it is helping the person and giving the best output to us now let's ask the chart GPT what is the list of the restaurant and will check that uh whether it's going to link the previous conversation or not so for that let's I will not give the city name or the country name so it has picked up the sum of the Italian restaurant which is the good feature of the chart Deputy which I like which you will not found in the Google search also what your context which you have searched previously so it has given the different kinds of restaurants for the different dishes so it has till now it has given the four anodes the fifth it is telling us and all are the three stars okay so it has given the pretty much big list of the restaurants with also the rating and what tradition of the food is served and also it has given the one or another country uh restaurant which is uh in U.S it's a pretty long list so let's move so now I wanted to check the limitation of the charging like that will give me the response or not so I am checking it's one of the limitations currently which is like limited knowledge of the word and the events after t21 so now let's ask this some more generic question with the specific year so I'm asking about tell me something about G20 Summit in 20 22 which is after 2021 so let's check it's saying that it is completely said that I it don't have that data from the G20 Summit but however it has given the sum of the basic things about this G27 which country is involved so now let's step up that GTP journey and we're going to create a one Docker file for a node.js application and let's see whether the activity is able to create a Docker file for a node.js application or not so it started giving me the output and it is following the every step for the creating of one dock of file so which will start your node.js file so this is how we are able to then a basic node.js application where it is doing the packet.json changes and also going on what module installation by running node installation and now if you want to run the Docker file in a kubernetes will go ahead and we'll do for that also so let's create a kubernetes manifest and let's see what is going to create and what example it is going to take so with the kubernetes it is again giving the example so it is basically creating a one deployment to manifest for us when file which will hold the deployment and it is taking the node math labels and then template it will create a node app it is simply saying so we have not given any specific keywords so it is not taking the keyword and it is supposing that our container will be hosted at this point and this will be the r image which will be hosted at my registrator app mode and it has to find the environmental variable which is a good thing and CPU limitation it has given and it also started creating an another kind of manifest which is of a service type so it is doing pretty well so if you want to understand like how to create the kubernetes scripts and the files we can check with the charge GPT and now if you are not getting anything like what the term it is printing or what the type cluster IP means so we can ask the kubernetes also that thing so which will be doing later so now it is also telling you that how you can run this file uh by the command it has given you the command so you can pick up the command and you can copy your file and then you can run you kubernetes manifest so now I am asking like what is cluster IP so let's see what it is going to give so let's hit and enter so charge Deputy started giving us the output which we want to give so it is explaining about the cluster IP so IP service you know kubernetes is a kind of a service which is accessible in the kubernetes cluster and this service is helping in creating the virtual IPS by which we can connect with the outside clusters and to communicate within with the Clusters it is also saying that but we don't need to expose to the public and some advantages as well to telling so it is giving you the pretty much big explanation and also it is doing a summary for that which is a code so we can learn more with the chat meeting now we are going to create a cicd pipeline for our node.js application because we are going to create a end to end flow from the application creation the database connection then three how to create Docker file to present that file in a multiple kubernetes and then to this ICD pipeline for the deployment to our and its other services so we have asked like how to create so it is giving the example so let's see what it is and what output it will generate do we need to add something or if it is going to give everything for us already made script which we can copy so let's check that thing also so now it is a spinning the steps of let's see ICT pipeline The Source cost management what it is what it to and building and task then diploma and release and monitor so these are the some basic some these are the steps which we do for or which we create for the cicd pattern so it has not created the file for me now I need to be more specific that I need a cicd yml file for the node.js application and then it has started generating so it is thinking and now it is generating the output so I am I was not much specific so now I have to directly asked to create a yml file for me so I started creating environment formula so let's check whether it is going to print the all these steps on for us from the bill to the test to the release so it has given a an okay answer which is a more generic thing so that answer is not quite up to the mark so we need to take up this file and then we need to do the sun addition for the cicd pipeline because it's a pretty small and um most common basic pipeline we can say it is so we need to add an enhance more because that is not sufficient for the deployment or for creating the Pipelines so for the basic understanding yes we can go to the Chart Deputy for details and we can ask the different questions so it has explained that this is the basic one and you can create it from Step 8 to and then you can go to the steps that so it is saying that with version everything installation you have to do then dependency you have to do then joining the test so this is all about the cicd pipeline so now we are at the end of our creation of the node.js application and put deployment now we are not going to pass the generic question to check the how the charge if it is good in summarizing anything so I'm going to ask like can you tell me about the Zac Newton so let's see what it is going to give you so it is telling everything about the segment and like where he was born and when he's died and then these telling about his great achievements in the fields of the mathematics and then in the fields of the physics and it is generating a big explanation so if you want to write an essay then you can ask that chat CPT and you can take the key points over that and you can explain or you can enhance this points which is the activity is generating so now our main goal was to check how it is good in the summarizing so we'll limit the output of the charge apt and we will save that list summarize about the exact Newton in some few words so far this I am taking the 50 words so I have not given that uh about sag Newton so it it's checking out previous conversation also because that is all about chat communication so it has given me the output in the 50 words only and it is telling about some work so it has not telling about the birth so it is telling about that it is mathematician and his astronaut and what is the work he has done so now we are moving to our last test section and here we are going to ask the charge of it to write the the resume template or a cover letter for a one application like for a write a cover letter for a senior developer who is having the expertise in the node.js I am going to apply in the Apple company or the XYZ company you can so let make it more precise and adding the skilled in node.js so now I will and react so we are basically building a full stack development so it started with writing the cover letter on writing the application that they are hiring manager that I am to express the interest in the upper position so and highly skilled developer in the react and so it has assumed that I have a 5 million of experience which I have the more and it has added some few things from itself like gate awsmber.com so it has printed the good output so which we can enhance or which we can add more now let's ask the most of the question arised like is it human job is in danger which is the most obvious question is coming in every human mind when the target is announced so it's saying that advance in the AI and the automation has the potential to change the way we work and the jobs may be at the risk of being automated in the future which is quite correct like with so the automated jobs or the repetitive jobs may be repeated and it's going to only help the importance and we are prepared so it has given you the brief something about that it is important to prepare for the future of the works while investing in the education like that so I'll now ask if everything cat GPT to what human is going to do so let's see what's going to reply to us if AI systems like that if it is able to perform all the current tasks done by the hormone it would like lead to specific changes in the job market which is correct it's going to impact some there but as I said that it is only going to help the human with the human task is doing so they can invest their time in doing the other jobs so it is that last also is saying that it's going to improve the productivity and the efficiency it is unlikely to completely replace human in the near future which I said it will is not going to completely replace the human so in the UI you also get the clear Administration option where you can clear your all the conversations so once you click on that your conversation will clear and you will be able to see A banks click which you got at the starting of the chat video so now let's make this at the end now I'm going to so now I'm going to find the chart GPT for all the conversion and let's see how it is responding to us so it is saying that thank you and like I could assist you and also asking for it so in that I will say that the chat GPT is going to yes it is going to replace this some basic work of the human so that the human can work efficiently more on the other things and can work more on the advanced thing so those who are doing these come basic things there is the challenge for them and they have to work for something or they have to enhance with the help of the chat repeating we can say or with the other AIS also and it is for the good for the human beings that uh they are proactivity will increase so thank you for watching if you like it give it thumbs up and do subscribe
Info
Channel: Hustle With Aditya
Views: 2,126
Rating: undefined out of 5
Keywords:
Id: 6ZjD-9DPV-s
Channel Id: undefined
Length: 41min 54sec (2514 seconds)
Published: Sat Jan 28 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.