ChatGPT Tutorial - A Crash Course on Chat GPT for Beginners

Adrian Twarog
12 Dec 202234:04

Summary

TLDRThis video provides a thorough tutorial on using ChatGPT, the conversational AI system created by Anthropic. It begins by walking through the process of creating a new OpenAI account and logging into ChatGPT for the first time. The presenter highlights some of ChatGPT's capabilities, like remembering context from previous conversations and allowing follow-up questions and corrections. Limitations are also noted, like potential inaccuracies, limited knowledge, and bias. The presenter demonstrates ChatGPT's conversational abilities through some basic math questions, showing how it can provide multiple ways to answer the same question. The importance of providing feedback through upvotes and downvotes is emphasized. Resetting the conversation thread to avoid compounding errors is also shown. More advanced prompts are then provided to showcase ChatGPT's skills. The presenter asks for a list of 10 seafood dishes, then uses the context to ask for a shopping list for the first two items. ChatGPT is able to provide the list based on the earlier context. Asking for cooking instructions for one dish produces a step-by-step recipe. Code examples are shown for making API calls and processing API responses in JavaScript. ChatGPT is able to provide and explain the necessary code. The presenter notes that being specific in prompts is important for programmers and subject matter experts. Other examples include generating stories, jokes, documents, and creative content. Summarization skills are demonstrated by simplifying legal documents. The strengths for blogging and article writing are shown through creating outlines, intros, and rephrasing. Overall, the key points covered are signing up for ChatGPT, understanding its capabilities, learning prompting best practices, leveraging conversation context, applying advanced techniques for coding, content creation and more, providing quality feedback, and knowing its limitations. The presenter provides a comprehensive introductory tutorial for using ChatGPT effectively.

Takeaways

  • You need to create an OpenAI account to use ChatGPT
  • ChatGPT remembers conversation history and context
  • ChatGPT outputs can sometimes be inaccurate or biased
  • ChatGPT has limited knowledge up to 2021 events
  • You can give feedback to ChatGPT with thumbs up/down
  • Use the reset button to clear conversation history
  • Be very specific with prompts for best results
  • Summarize and explain texts by pasting them into ChatGPT
  • ChatGPT can write code snippets based on prompts
  • Translate content to other languages using ChatGPT

Q & A

  • What website do you need an account on to use ChatGPT?

    -You need an account on openai.com to use ChatGPT.

  • How can ChatGPT remember what you said previously?

    -ChatGPT remembers the context and history within a conversation thread.

  • Why might ChatGPT sometimes output incorrect information?

    -Because ChatGPT is an AI model, it can occasionally generate biased, inaccurate or misleading content.

  • What is ChatGPT's knowledge limited to?

    -ChatGPT only has knowledge of events up until 2021.

  • How can you provide feedback to ChatGPT on its outputs?

    -You can give feedback by using the thumbs up and thumbs down icons.

  • What does the reset button do?

    -The reset button clears the current conversation thread history and context.

  • What type of prompts work best with ChatGPT?

    -Very specific prompts tend to produce the best quality outputs from ChatGPT.

  • How can you get ChatGPT to summarize or explain a text?

    -You can copy/paste the text into ChatGPT and ask it to summarize or explain it to you.

  • What kind of coding support does ChatGPT offer?

    -ChatGPT can generate code snippets based on prompts describing what you want the code to do.

  • Can ChatGPT translate content to other languages?

    -Yes, ChatGPT has multilingual support and can translate text to many different languages.

Outlines

00:00

Intro to ChatGPT Tutorial

The first paragraph introduces that this is a beginner's crash course tutorial on ChatGPT. It outlines what will be covered including creating an OpenAI account, logging into ChatGPT, basic and advanced usage examples, and answering commonly asked questions.

05:01

Creating an OpenAI Account

The second paragraph walks through how to create a new OpenAI account step-by-step. It shows signing up with an email, going through email verification, two-factor authentication via a phone number, and finally accessing the ChatGPT system.

10:01

Navigating the ChatGPT Interface

The third paragraph explores the ChatGPT interface including the sidebar, reset thread button, sample inputs, capabilities and limitations, dark/light mode toggle, and links to the Discord community and FAQs.

15:02

ChatGPT Conversations and Context

The fourth paragraph demonstrates a simple ChatGPT conversation, using a math example to show how conversations build on context. It explains the feedback buttons, trying alternative responses, and resetting the conversation thread.

20:03

Advanced Prompt Example - Recipe Creation

The fifth paragraph shows an advanced prompt example where ChatGPT is asked to provide seafood dish ideas, a shopping list, and final recipes with ingredients and instructions. This demonstrates ChatGPT's ability to continue detailed conversations.

25:03

Coding Example - JavaScript HTTP Request

The sixth paragraph illustrates asking ChatGPT programming questions, in this case how to make a HTTP request in JavaScript. It shows how ChatGPT provides context, code snippets, and descriptions in its answers.

30:03

Content Generation Example - Website Policies

The seventh paragraph gives an example of using ChatGPT to generate website content, specifically privacy and copyright policies tailored for an Australian accounting website.

Outro and Next Steps

The final eighth paragraph concludes by summarizing key topics covered in the tutorial including the basics of using ChatGPT and some more advanced examples. It invites viewers to like, comment, and subscribe for more content.

Mindmap

Keywords

💡ChatGPT

ChatGPT is an AI system developed by Anthropic to have natural conversations and provide helpful information to users. It is the main focus of the tutorial video, which shows how to create an account, log in, use prompts and conversations to get AI-generated outputs like stories, code, content etc.

💡Prompt

A prompt is the input text that a user provides to ChatGPT to start a conversation or get a response. The video shows many examples of prompts, like asking for coding help, getting AI to tell a joke, or requesting a blog post outline. Crafting clear, specific prompts is key to getting useful outputs from ChatGPT.

💡Output

The text response generated by ChatGPT based on the user's prompt is called the output. The video demonstrates how outputs can vary based on the phrasing of prompts. Outputs can be stories, explanations, code, summaries, translations etc. But they may sometimes need human correction.

💡Conversation

Unlike a one-off Q&A, ChatGPT allows back-and-forth conversations. It remembers previous context and can provide logical follow-up responses. The video shows conversational prompts to get a shopping list, improve a story, customize a resume etc.

💡Feedback

Users can provide feedback on ChatGPT's outputs using 'thumbs up' or 'thumbs down' buttons. This trains the AI system on what responses are useful or not. The video recommends giving feedback to improve ChatGPT.

💡Limitations

Despite being advanced AI, ChatGPT has limitations like generating incorrect or biased information, lacking up-to-date world knowledge, and struggling with math/calculations. The video cautions users to be aware of these limitations.

💡Applications

The video demonstrates diverse real-world applications of ChatGPT, from coding assistance to content writing. It provides examples of using ChatGPT for shopping lists, jokes, stories, blog outlines and articles, cover letters, resumes etc.

💡Summarization

One useful application is getting ChatGPT to summarize long text passages. The video shows how it can extract key points or simplify complex information on demand, like legal documents.

💡Rephrasing

ChatGPT can rephrase sentences by paraphrasing them or translating them across languages. The video gives examples of getting AI to rephrase, shorten or lengthen sentences, fix grammar, add humor etc.

💡Creativity

The video highlights ChatGPT's creative potential through examples like crafting original stories, puns and jokes, newsletter subject lines, and more based on user prompts. Its AI creativity helps generate novel content.

Highlights

This chat GPT tutorial covers creating a new OpenAI account, logging in and using ChatGPT, advanced ways to use it, capabilities and limitations.

ChatGPT remembers previous conversations and allows follow-ups and corrections to improve responses.

Feedback through upvotes, downvotes and Discord server helps OpenAI improve ChatGPT capabilities.

ChatGPT generations can be inaccurate, have limited knowledge up to 2021 events, bias from previous conversations.

Can trick ChatGPT with contradicting information, needs resetting conversation thread to fix incorrect assumptions.

Asking for specific numbered list outputs and following up with related questions uses conversation context.

Coding examples show ChatGPT can explain code snippets, generate requests, loop through JSON data for website.

When ChatGPT errors, try simpler prompt, refresh page, or restart browser to fix issue.

Storytelling game mode allows picking scenes from movies, literature etc. to create interactive adventure.

Can generate content like privacy policies, cover letters tailored to specifics through detailed prompts.

Good for humor, jokes, puns based on combinations of items or pretending to be someone in a situation.

Effective summarization of long text by word count, age level or keywords based on prompts.

Useful for assisting with blog topics, outlines, introductions, rephrasing and translations.

Remember to be specific in prompts while utilizing conversational context for optimal content generation.

Feedback helps improve capabilities - share experience in Discord community.

Transcripts

play00:00

this chat GPT tutorial is a small crash

play00:03

course for any beginner so we'll be

play00:05

doing a number of things from creating a

play00:07

brand new account on openai to logging

play00:09

and using chat gbt to some of the more

play00:12

advanced ways to use it if there's

play00:13

anything you want to know this video

play00:15

should cover it all let's begin I'm

play00:17

going to start on Google here and I'm

play00:19

gonna browse to find open AI you can

play00:22

also head over to openai.com if you want

play00:25

to skip this step here is the company

play00:28

that basically created chat GPT they've

play00:30

created a number of different types of

play00:32

apis and if you want to have a look at

play00:34

them all you can head over to the API

play00:36

page we're going to be looking at the

play00:38

chat GPT version if you want to head to

play00:41

that you should be able to select the

play00:42

top nav bar here this will take you to a

play00:45

page called

play00:46

chat.openai.com if you don't already

play00:48

have a login with openai you can select

play00:50

to sign up and create a brand new one

play00:52

for the sign up it's quite easy you can

play00:54

simply log in with an email address or

play00:57

with a Google or Microsoft account while

play00:59

I already you have an account I'm going

play01:01

to create a brand new one so that you

play01:03

guys can see this process I'm going to

play01:04

sign up with a new email address and go

play01:07

through the prompts to create an account

play01:09

this way this will require the email

play01:11

address as well as a password and a

play01:13

two-step verification process which will

play01:16

do the first thing that will happen is

play01:18

an email will be sent to the mailbox

play01:20

that you're signed up with in this case

play01:22

it'll be sent to my gmail address I'm

play01:24

going to head over to that inbox now and

play01:27

we're going to select the verification

play01:29

for email address button this will

play01:32

basically activate the account so we can

play01:34

log straight into the open AI systems

play01:36

now the open AI dashboard isn't chat GPT

play01:40

it's a separate dashboard to start using

play01:42

some of their normal models here for

play01:44

their open AI systems but to go back to

play01:47

chatgpt we need to select the link up

play01:49

here that takes us to chat.openai.com

play01:51

here we'll need to log in one more time

play01:55

and this should take us to the chat GPD

play01:58

system so again I'm going to put in my

play01:59

email address as well as my password in

play02:02

here and this will now finally take me

play02:05

to chat GPT as this is the very first

play02:07

time I'm using it I need to fill out

play02:09

just a few more details so here I'm

play02:11

going to fill out my name as well as my

play02:14

phone number which will verify my

play02:16

account this will send me that two-step

play02:18

verification so I'll put in the code I

play02:20

received on my phone number and finally

play02:23

we're now in chat GPT and its systems

play02:26

and we can start to use it the first

play02:27

thing to know is that chat GPT is free

play02:30

and it's mainly used right now for

play02:32

research purposes there are a few

play02:34

prompts worth reading here when you get

play02:36

started things like their goal here is

play02:39

to get some external feedback in order

play02:40

to continue to improve the system as

play02:43

well as making it safer they also have a

play02:45

few safeguards in place because there

play02:48

are occasions where the generations are

play02:50

incorrect or even misleading so be aware

play02:53

of that because if offensive or biased

play02:55

Pro content is produced then you might

play02:58

not want to use the given device let's

play03:01

have a look at what else is being used

play03:03

here so we also have the collection of

play03:06

data so the prompts and items that you

play03:08

are entered in are actually reviewed by

play03:11

their AI trainers in order to improve

play03:13

the systems so this means just take

play03:15

notice of what kind of prompts you're

play03:17

putting in and also don't share

play03:19

sensitive informations that might be

play03:21

happening inside your conversations

play03:22

which means that if you're putting in

play03:24

passwords which really you shouldn't be

play03:26

try not to post screenshots of that

play03:29

there's also a importance of feedback

play03:32

here because as you do discover and

play03:34

utilize the system more giving feedback

play03:36

can help them improve the system there

play03:39

is a Discord server that you can join

play03:41

where you can share your feedback and

play03:43

this one over here is actually

play03:45

accessible so I'm just gonna log into

play03:47

this open AI one and it already has half

play03:50

a million members which wow that is

play03:53

quite a few you'll need to go through

play03:56

the prompts here so visit the website

play03:58

make sure that you read this and then

play04:01

complete the little survey here making

play04:03

sure that you're not going to be doing

play04:05

anything such as spamming or anything

play04:07

like that so I've just applied here and

play04:10

here we've got all our discussion

play04:12

threads and whatnot so you can join as

play04:14

part of the community now let's begin

play04:16

this is chat GPT it actually has a

play04:20

couple of elements here on the page

play04:22

worth knowing we've got the sidebar here

play04:23

which essentially doesn't really do much

play04:25

the main item here is the reset thread

play04:28

which I'll get into shortly here we have

play04:30

a couple of example inputs that we can

play04:32

place and the input is just over here

play04:34

this is where you can type your text we

play04:37

also have some details here about the

play04:39

capabilities and limitations let's take

play04:41

a look at all of this so in terms of the

play04:43

capabilities the chat GPT system

play04:46

actually remembers what you said in

play04:49

previous conversations now be aware that

play04:51

this is the conversation thread that

play04:54

you're currently having if you strike up

play04:56

a brand new conversation thread that

play04:58

won't be remembered just the current one

play05:00

that you're in it also allows you to do

play05:03

follow-ups and Corrections so for

play05:05

example if you didn't get quite the

play05:06

answer that you're looking for you can

play05:08

always ask for another one or really

play05:11

just re-prompt for a different option

play05:13

the AI is also trained to decline

play05:16

providing negative or inappropriate

play05:19

requests so if for example you're asking

play05:22

for something malicious most times out

play05:25

of 10 it will not provide that however

play05:27

there are odd situations where it might

play05:30

accidentally do this and let's go to the

play05:33

limitations this time to have a look at

play05:35

some of the problems that you might

play05:37

encounter when using chatgpt firstly

play05:40

some of the generations might actually

play05:43

be inaccurate it is only trained until

play05:46

the last couple of years of information

play05:48

so it's not able to say access the

play05:51

internet right now it is in an offline

play05:54

State as of a year or two ago it also

play05:56

doesn't do mathematics very well so it

play05:59

might have some issues if you're doing

play06:00

things like 10 plus 9 it might not give

play06:03

you the correct answer there's also some

play06:05

bias to the content that is produced

play06:08

based on what you've produced earlier in

play06:11

the conversation and this could

play06:12

essentially mean that it occasionally

play06:14

produces some harmful instructions and

play06:16

those have to just sort of be ignored

play06:18

and finally as I mentioned earlier there

play06:21

is limited knowledge Because the actual

play06:23

AI is trained for events just towards

play06:26

2021. this means that it won't have

play06:29

up-to-date information of relevant and

play06:31

current facts that are happening in the

play06:33

world with all of this said and done now

play06:35

we can now actually start taking a look

play06:37

at using chat GPT the first thing to

play06:40

take note of is that using it is very

play06:42

simple all we have to do is enter in a

play06:45

message or a query or a prompt of what

play06:47

we want the AI chat GPT to do for us and

play06:50

then we get an output there are a few

play06:53

examples here with buttons basically

play06:55

asking us maybe explain what Quantum

play06:57

Computing is or how to make a HTTP

play07:00

request in JavaScript but I'm going to

play07:03

minus these out and I'm going to use my

play07:05

own which is what is 10 plus 9 as a

play07:09

question mark this is a pretty simple

play07:11

prompt then we simply select enter or

play07:14

set the button here and press and click

play07:16

on it and we start with our very first

play07:18

prompt now here we have two parts to

play07:22

this prompt we've got what we've

play07:23

prompted and then we've got the output

play07:25

here from openai now this is pretty damn

play07:28

simple but there are a few things to

play07:30

take note of here the first thing is the

play07:32

question what is ten plus nine now we've

play07:35

got the output here that says 19 but we

play07:38

also have this option here to try again

play07:40

so if I was to select that what we end

play07:43

up getting is essentially the same

play07:45

answer but just written in a different

play07:47

way in this case it's been written more

play07:49

mathematically which is 10 plus 9 equals

play07:51

19 but it's not just 19 like it was

play07:54

before and we can continue to click on

play07:56

this but if for example we've given as

play07:58

many results as we possibly can then it

play08:01

might error out like you just saw

play08:02

earlier or it might continue to give us

play08:04

better answers like this is a half

play08:06

mathematical half verbal one where it

play08:08

says 10 plus 9 is 19. we can try again

play08:10

and this time it says 10 plus 9 is 19.

play08:13

so it's almost repeating now you'll get

play08:15

to a point where there's only so many

play08:17

ways it can be written we have a number

play08:19

of other things to to take note of we've

play08:21

got these thumbs up and thumbs down

play08:23

icons and this is to give open AI some

play08:26

feedback as to the prompts we have here

play08:28

we also have these arrows here when you

play08:30

hover over to show the different types

play08:32

of outputs that you've gotten based on

play08:35

the input that you've provided now I've

play08:37

just done five of them so I can toggle

play08:39

through them and I like number five the

play08:41

most so this one I can give a thumbs up

play08:43

now if for example it gave a poor answer

play08:46

we could do the same by going back here

play08:48

it says an error occurred and I say

play08:52

no answer provided so this for example

play08:55

is how you would provide feedback to the

play08:58

system if you needed to now this is our

play09:00

very first prompt in this conversation

play09:03

we can continue to make more props such

play09:06

as saying how good is open a eyes chat

play09:11

GPT at maths and ask this question so

play09:16

this question is still part of this

play09:19

conversation and we're getting an answer

play09:20

now being streamlined and generated from

play09:23

open ai's chat GPT it says as a large

play09:26

language model trained by openai it

play09:28

doesn't really have the ability to

play09:30

perform mathematical calculations now

play09:32

here's where you might have to be

play09:33

careful there are situations where the

play09:36

outputs might not actually generate the

play09:38

kind of consistent answers you might be

play09:40

looking for such in this example I'm

play09:43

going to trick the AI saying that it is

play09:45

actually 20. 10 plus 9 is 20. now the

play09:48

prompt will say that it is a language

play09:51

model so what's going to happen now is

play09:53

I'm going to ask one more prompt saying

play09:55

is 10 plus 9 equal 20 and since I

play09:58

previously said that it was now it's

play10:00

been tricked it actually does think that

play10:03

10 plus 9 is 20 and it's going to

play10:05

confirm that answer this is where

play10:07

confirmation biasm might come into play

play10:09

and you have to be careful what kind of

play10:11

prompts you're putting in because they

play10:13

will influence the outputs that chatgpt

play10:15

provides now this entire thing here is a

play10:19

conversation station and we could

play10:21

continue this conversation indefinitely

play10:23

but we're not gonna do that we're going

play10:25

to start a new conversation this is

play10:28

because all of this conversation is

play10:31

essentially structured in such a way

play10:32

that it's in history it's essentially

play10:35

taking reference of what we've said

play10:36

earlier in the conversation and pulling

play10:38

that context into new responses this is

play10:41

why we got 10 plus 9 is now correct as

play10:44

20 which doesn't make much sense in

play10:47

order to go back we're gonna reset the

play10:49

thread and we're going to select at the

play10:51

top left button over here in order to do

play10:53

that it'll take us back to this main

play10:55

dashboard here and now we can start up a

play10:58

brand new conversation I'm going to ask

play11:00

the same question here is 10 plus 9 20

play11:03

which we know is incorrect but we

play11:05

tricked it earlier that it was this time

play11:08

however since the chat GPT system is not

play11:11

referencing that previous conversation

play11:13

it's going to answer the correct manner

play11:15

even though math isn't the best example

play11:17

this is just a good example to Showcase

play11:19

that no 10 plus 9 is not equal to 20.

play11:22

it's actually 19 which is correct and

play11:24

with that said and done we now know all

play11:27

the basics to more or less utilize chat

play11:30

GPT there are a few other things I want

play11:32

to show on the website before we move on

play11:34

to some more advanced examples and how

play11:37

to utilize cha GPT to its full effect

play11:39

let's take a look at the rest of the

play11:41

website here we have this toggle here

play11:44

for dark and light mode so the default

play11:47

I'm pretty sure is the dark mode or

play11:49

whatever your operating system is on I'm

play11:51

going to swap to dark mode which well

play11:54

doesn't do anything but then I can also

play11:56

swap to light mode which is a little bit

play11:58

harsh on the eyes personally I prefer

play12:00

the dark mode which is what I'll keep it

play12:02

connected to I also have the option here

play12:05

to connect to the Discord server that we

play12:07

had a look at earlier as well as the

play12:10

option to have a look at the FAQs and

play12:13

updates which takes you to a form like

play12:15

website here where you get to learn a

play12:17

little bit more about chat GPT how it

play12:20

works and its background it is

play12:22

essentially based on the gbt 3.5 model

play12:25

which is a newer one that provides

play12:27

human-like feedback let's begin with our

play12:29

first Advanced prompt this a prompt will

play12:32

be on how to create some food

play12:33

specifically some seafood first of all I

play12:36

don't particularly know yet what type of

play12:38

food I want so I'm going to ask Chad GPT

play12:40

to give me 10 dishes with seafood and

play12:44

here is an example of a list prompt this

play12:47

is where you ask chat GPT to give you a

play12:50

specific number of items of a specific

play12:53

number of things in this case it's 10

play12:55

items of seafood the output here should

play12:58

be based on the context of that query so

play13:01

in this example it's a human propped

play13:03

that is being outputted with a list of

play13:06

10 items but it also gives you a little

play13:08

bit more context here saying that there

play13:10

are different levels of difficulty for

play13:12

each one of these dishes now this is

play13:15

where things can get interesting because

play13:17

we can now start having a look at this

play13:19

list and selecting options we like such

play13:22

as the first two for shrimp and salmon

play13:24

burgers and then following up this

play13:26

conversation with more queries I'm going

play13:28

to ask in the next part of this

play13:30

conversation if chat GPT can create a

play13:33

shopping list for me based on the very

play13:35

first two items those two being shrimp

play13:37

and salmon I don't have to particularly

play13:39

say shrimp and salmon it should just

play13:41

know based off the context or the

play13:43

conversation

play13:44

and the result here is essentially

play13:46

creating another list but this list does

play13:49

not have a specific length it's based on

play13:52

the options we added in earlier so here

play13:55

it provides an output that is indented

play13:57

and bullet pointed for each one of the

play14:00

dishes for the salmon burgers and the

play14:02

shrimps to let me know exactly what I

play14:03

would need to buy from the shops to be

play14:06

able to put these together that is

play14:08

pretty damn cool and this is just also

play14:11

still the beginning because we can

play14:13

continue this conversation based on all

play14:15

this context now that chat GPT has

play14:18

provided us a list of 10 dishes as well

play14:20

as a shopping list for all the

play14:22

ingredients we would need to make one or

play14:24

two of those dishes the next practical

play14:26

question is quite intuitive which is can

play14:28

you tell me exactly how to cook for

play14:30

example salmon burgers which is

play14:33

something of a thing that we would

play14:35

normally have to Google a lot for but

play14:37

based on this and the ingredients chat

play14:40

GPT will provide us with one final list

play14:42

of exactly what steps we would need to

play14:44

put them together this is just a quick

play14:46

shopping list example of open ai's

play14:49

charge EPT now that you have an idea of

play14:51

how you can continue a conversation

play14:53

let's have a look at some more examples

play14:55

this time I'm going to use chat GPT to

play14:57

do some coding for me I'm going to use

play14:59

one of the pre-made prompts here on how

play15:01

to do a HTTP request in JavaScript this

play15:05

is a pretty ordinary prompt but here

play15:07

we'll get to start to see some of the

play15:09

more coding aspects of charge EBT and

play15:12

what it can perform here it's going to

play15:14

answer this question but it's going to

play15:16

do this in a number of ways first it'll

play15:18

give me some context as to what it's

play15:20

doing then it's going to give me the

play15:22

code snippet of exactly how to perform

play15:25

the function based on the prompt I've

play15:26

put in and then finally it'll give me a

play15:28

description of what the code is

play15:30

specifically doing all of this is quite

play15:32

useful and this is just the beginning

play15:34

I'm going to request chat GPT to update

play15:38

this request and instead of it just

play15:40

being a generic API call for data

play15:43

instead we're going to to grab some

play15:45

weather data now I'm going to ask if it

play15:47

can get me the weather in New York City

play15:49

and I wanted to Output how this query

play15:53

might look like in terms of JavaScript

play15:55

the response back is that openai will

play15:58

generate the request for you it will

play16:00

create a generic version of that request

play16:02

using a weather API that doesn't really

play16:04

exist you'll need to pick your own with

play16:07

an API key that you'll need to enter but

play16:09

the request should look something like

play16:10

this where it's getting an example.com

play16:12

passing in the weather City being New

play16:15

York City as well as the units and

play16:18

passing in the API key it'll then

play16:20

explain exactly how this get request

play16:22

would work as well as how it would come

play16:25

back in the form of a Json that you

play16:27

could then utilize inside your

play16:29

application this is all pretty useful

play16:31

but not quite everything that we're

play16:33

looking for just yet the next step here

play16:36

is to ask it to update this query in

play16:38

order for it to Loop through the data

play16:40

that we would get back from this API and

play16:43

then play lace this into a website now

play16:46

something to take note of here with

play16:48

chatgpt is that you have to be quite

play16:51

accurate in how you're requesting

play16:53

different things this is why if for

play16:55

example you have a background in

play16:57

programming writing these prompts might

play16:59

be a lot easier because you know what

play17:01

you're after whereas if you're not quite

play17:03

sure it might be a little bit more

play17:04

difficult and this is actually kind of

play17:07

true for all types of Industries where

play17:09

chat GPT might be useful in this example

play17:11

I'm getting it to Loop through

play17:13

temperature wind and precipitation and

play17:16

this should create a brand new output

play17:18

for me and this is where the complexity

play17:21

and benefits of what chat gpds start to

play17:23

shine through because what's going to

play17:25

happen here is we're going to get a

play17:26

piece of code that is not just a fetch

play17:29

request but it's also going to be a loop

play17:32

function which is going to pull out the

play17:34

values from the data response and then

play17:36

it's going to put this into a website

play17:39

for us after it pulls out the values of

play17:41

temperature wind speed and precipitation

play17:43

it's then going to create the JavaScript

play17:46

code to place them into a website using

play17:48

p element tags and then append them to

play17:51

the website body finally it's going to

play17:53

go through the code here and explain

play17:54

exactly what's happening like I just

play17:56

have been where it's using an example

play17:58

API with example code so you really need

play18:01

to update this to make it work for your

play18:03

own project there are going to be

play18:05

occasions where the chat GPT systems are

play18:09

going to be offline or for example

play18:11

unable to answer a prompt in this next

play18:14

example I wanted to do a story about a

play18:17

rabbit and a mouse and I put in an

play18:19

option here and I got a response back

play18:21

that an error has occurred I've selected

play18:23

try again a couple of times and that

play18:25

didn't work either now this can

play18:27

sometimes occur when the output of a

play18:29

prompt might for example have some

play18:31

incorrect information maybe something

play18:33

that might be harmful or maybe even

play18:36

inaccurate and in those situations

play18:38

chatgpt is automatically set in such a

play18:41

way as to not to provide a response this

play18:45

is a safety mechanism sometimes a

play18:47

different way to approach this is to

play18:49

Simply write a different prompt so that

play18:52

you might have a different output from

play18:53

Chad gbt but in some situations if the

play18:56

servers are entirely down you might find

play18:59

that you just might have to wait a

play19:00

little bit another thing you can do is

play19:02

always refresh the page or alternatively

play19:05

just log off completely restart the

play19:08

browser and then log back into your

play19:10

session because that also sometimes

play19:12

fixes the problem now let's do a short

play19:15

story I'm gonna do a story about a

play19:17

rabbit and a turtle that went on an

play19:19

adventure this is a simple request for a

play19:22

story from openai and it's actually

play19:24

quite good at providing these it's going

play19:26

to give us a story about these two that

play19:28

go on adventure where they swim across a

play19:30

river there is a small moral to this

play19:33

story which is useful but it's really

play19:36

kind of generic here if I want to have a

play19:40

more specific story based on the prompt

play19:43

I'm putting in I'm gonna have to be be

play19:44

more specific with the prompt and this

play19:46

is where follow-up conversations can be

play19:48

useful for this example I want to change

play19:50

the moral of the story to be one more

play19:53

focused about patience especially when

play19:55

doing a story like this it makes sense

play19:57

between a rabbit and a turtle

play20:00

chat gbt should be able to now rewrite

play20:02

the entire story with more emphasis on

play20:05

this specific moral if we look closely

play20:07

it has done just that it's got a moral

play20:10

here about how it was important to be

play20:13

more patient and the turtle was able to

play20:14

do this

play20:15

this time along I wanted to also give me

play20:18

the same story but throw in a little bit

play20:21

of humor so I'm gonna ask it to keep the

play20:24

moral and add in a joke maybe somewhere

play20:26

at the end let's see what happens this

play20:29

time I'm gonna fast forward a little bit

play20:30

but we can see that it's more or less

play20:32

the same story but at the very end of

play20:35

the story we have a nice little joke

play20:37

here that I guess it goes to show that

play20:39

slow and studied really does win the

play20:41

race another type of prompt that you can

play20:43

work with Chachi PT is one of a sort of

play20:46

Storytelling video game which is a

play20:49

really cool one that I've always enjoyed

play20:50

because of the creative answers that

play20:52

chachibidi provides in this case I'm

play20:55

going to give the prompt that chat GPT

play20:57

is gonna pretend to be a text video game

play20:59

with options of a b c and d and then

play21:02

from that we're gonna pick a scene from

play21:04

The Matrix and we're gonna see what we

play21:06

get presented with the output is based

play21:09

on some storytelling it begins nice and

play21:12

simple you find yourself in a dark alley

play21:14

and we've got the options to select from

play21:16

here I can now continue this

play21:18

conversation by selecting an option such

play21:20

as the option b here and the story

play21:22

continues what's really interesting

play21:24

about this type of prompt is that you

play21:27

can pick any type of story from any type

play21:29

of scenario you can pick ancient history

play21:31

you can pick literature you can pick

play21:33

movies and then you can enjoy the

play21:36

creativity that jat GPT provides while

play21:38

also going through and being a little

play21:40

bit part of that experience another

play21:42

popular way to use chat GPT is to

play21:45

generate content for things like

play21:47

websites or even documents that you

play21:49

might need to prepare while you might

play21:51

not want to use the entire document as

play21:53

is you'll need to modify it it can give

play21:55

you a helping hand in creating these in

play21:58

this example I'm going to create a

play21:59

copyright and privacy policy for a

play22:01

website this is something common I have

play22:03

to do as a developer but here I have an

play22:07

outline of a bit of a template that I

play22:09

can start using and I can be a bit more

play22:11

specific saying that it's for accounting

play22:13

website which allows me to maybe have

play22:15

something more well outline for that

play22:18

type of a website as part of the privacy

play22:21

policy as well as the copyright

play22:23

statement of course if you want to take

play22:26

this a step further we can do that too

play22:28

since I'm located in Australia I want

play22:32

these templates to be more specific to

play22:34

this country so I'm going to ask it to

play22:37

update these in the prompt I'm just

play22:38

going to Simply write that as someone

play22:40

who lives in Australia Perth please

play22:42

update these to be relevant for the

play22:44

country that I live in the output from

play22:47

chat gbt essentially is the same but

play22:49

with new updated information such as the

play22:52

Privacy Act which is specific to

play22:54

Australia as well as wordings such as

play22:56

including Australia and international

play22:57

copyright law in its template chat GPT

play23:00

is also quite creative as well as being

play23:03

able to produce humor in this example

play23:05

I'm going to ask it to write a nerdy pun

play23:08

why was the math book sad because it had

play23:11

too many problems yeah a good one if we

play23:14

do a refresh we get more or less the

play23:15

same game output but we can continue to

play23:18

ask it for more jokes or more puns as we

play23:21

need and we'll get quite a few many of

play23:24

course depending on how you write this

play23:26

prompt is how you'll also get the output

play23:28

so for example you might want a longer

play23:31

joke so in this case I'm going to say

play23:32

write me a nerdy maybe joke or a short

play23:36

story and they would produce a longer

play23:38

content versions of the same output you

play23:41

can also be deliberate about your jokes

play23:43

and content such as combining two

play23:45

elements together to see what is

play23:47

produced in this example I'm going to

play23:49

combine a hat with a rabbit and see what

play23:52

chat GPT can up come up with I'm gonna

play23:54

ask her to tell me a joke combining

play23:56

these two items and here I get why did

play23:58

the Hat keep falling off the rabbit's

play24:00

head because it had a hairline nice you

play24:03

can also put chat GPT into situations to

play24:06

produce humor and jokes too so for

play24:08

example I'm going to get it to pretend

play24:10

to be a say Elon Musk and I'm gonna

play24:13

pretend it had just bought Twitter which

play24:15

you know Elon sort of has done then to

play24:18

create a joke Elon would say after he

play24:21

sport Twitter now since the API doesn't

play24:23

know that Elon has bought Twitter it's

play24:25

going to have to guess here but its

play24:27

guess is actually kind of accurate

play24:29

saying that Elon would increase the

play24:30

character limit there is another type of

play24:32

prompt which is useful and this is the

play24:35

one of writing things such as documents

play24:38

or cover letters or even job

play24:39

applications altogether I'm going to

play24:42

request chatgpt to create a professional

play24:45

cover letter for a junior developer

play24:47

position at a company called meta and

play24:50

it's going to be for myself Adrian

play24:52

tuarog and I want to essentially use it

play24:55

as something that I can do to apply for

play24:58

this job who knows also the basics for

play25:00

programming in general

play25:02

so with this kind of a prompt it's quite

play25:05

specific but it will also give me a

play25:08

specific output so here I've generated

play25:10

one to a hiring manager is giving me a

play25:13

good introduction of who I am and what

play25:15

I've done apparently I've done a

play25:16

bachelor's degree of computer science

play25:18

which is impressive as well as working

play25:20

at an internship company called XYZ so

play25:24

all of these are things that I would

play25:25

maybe need to update a little bit before

play25:27

say posting it off but this also might

play25:30

be inaccurate I might not even have a

play25:32

bachelor's degree this is where we can

play25:35

go through and update this prompt of

play25:37

this cover letter say removing the fact

play25:39

that I have maybe no prior job

play25:41

experience but maybe listing out that I

play25:44

worked on quite a few different types of

play25:46

projects when I actually was doing a

play25:49

boot camp in programming rather than

play25:51

going through University openai will go

play25:54

through this prompt and update it based

play25:56

on the context of what is now required

play25:58

and this is what makes it pretty cool

play26:01

because you can as essentially version

play26:03

out different types of cover letters

play26:05

here depending on your needs the real

play26:07

trick here is to be specific whenever

play26:10

you're prompting cha GPT to create an

play26:13

output for you but in terms of that it

play26:15

usually grabs the context of what you're

play26:17

saying quite effectively as long as you

play26:19

write it in a clear and understood way

play26:22

let me continue this example now this

play26:24

time based on this cover letter I want

play26:27

charging PT to create a resume for me

play26:29

that I could maybe combine as part of

play26:32

this application so I can simply write

play26:34

based on this cover letter write a

play26:36

resume which includes things like skills

play26:38

maybe work experience maybe even other

play26:41

things such as languages or Etc based on

play26:44

the context of this I'm applying for the

play26:46

same position and let's have a look at

play26:48

what GPT produces so here it starts off

play26:51

with some Essentials which is like a

play26:53

phone number as well as a spot there for

play26:55

an email address it has a small summary

play26:57

if for example the person skipped

play26:59

reading the cover letter it then goes

play27:01

through and lists out my skills which is

play27:04

quite cool as well as the education it

play27:07

actually has combined a both a

play27:09

bachelor's degree and a boot camp which

play27:10

are two separate things from that

play27:12

context but we could update that it's

play27:14

added in the experience as well as some

play27:17

example projects and all of this is

play27:20

content that could now be used in a

play27:22

resume as long as it was properly

play27:24

updated with real world examples of what

play27:27

I've actually done chat GPT is also very

play27:29

effective at doing summaries as well as

play27:32

pulling out content from documents let's

play27:34

have a look at the Privacy Act of 1988

play27:37

here from Australia I'm going to scan

play27:39

down to this document and I'm just going

play27:41

to copy paste a random section of it

play27:43

into chat GPT then I'm gonna give Chachi

play27:46

PT a query of what to do in this example

play27:49

I wanted to maybe summarize or explain

play27:52

to me this Privacy Act in simpler terms

play27:55

and then I'm going to copy paste the

play27:57

text here there are a few other

play27:59

variations that we can do here and I'll

play28:01

get into the shortly but for the time

play28:04

being let's just start off with this

play28:06

simple example the output is just a

play28:09

sentence or a paragraph here explaining

play28:12

what this section of the Privacy Act

play28:14

intends to explain and while I won't get

play28:17

into the specifics of that this is just

play28:20

an example of how you can do this this

play28:22

is basic summarization of course you can

play28:24

summarize it even further such as

play28:26

requesting chat GPT to simply pull out

play28:28

the five most important keywords from

play28:31

the above statement summarization with

play28:33

chat GPT can work in a number of ways

play28:35

you don't always just have to explain a

play28:37

summary you can give it specifics of how

play28:40

you want to present that information

play28:41

such as explaining it to me like I'm

play28:43

five years old this can give quite a few

play28:46

different types of answers you can do it

play28:48

for someone who's older younger or you

play28:51

could even simplify that even further by

play28:53

asking to explain it for a

play28:55

three-year-old and I like this answer

play28:57

because it gave a prompt here where I

play28:59

could understand that if someone does

play29:01

something bad with your private

play29:02

information the government will help

play29:04

make it better that is definitely for a

play29:06

three-year-old another way we can

play29:08

request summarization is by being

play29:10

specific with the word count such as

play29:12

explaining it in 20 words or less here

play29:14

it looks like open AI had to think a

play29:17

little bit on how to explain this one

play29:19

but the resulting answer was within the

play29:21

context of what I requested which was

play29:23

for it to be in 20 words or less and I

play29:26

actually really like this one it said

play29:28

the Privacy Act is a law that protects

play29:30

individuals information and provides a

play29:33

mean for privacy concerns I'm now going

play29:35

to explore some of the strengths of chat

play29:38

GPT in terms of blogging writing

play29:40

articles rephrasing and much more we

play29:43

want to create a blog topic and we're

play29:46

going to use chat gbt to assist in that

play29:48

process we're going to request that it

play29:50

provides 10 log topic title ideas for an

play29:55

article that might be something to do

play29:57

with say Graphics design or website

play29:59

Graphics design and that is it

play30:03

from that it's going to give us a list

play30:05

of 10 different types of options we've

play30:07

got things like the essential principles

play30:09

for graphics design role in color common

play30:12

mistakes Etc from this list I'm gonna

play30:14

select option three which I like seven

play30:16

common mistakes to avoid in website

play30:19

Graphics design but I don't particularly

play30:21

like that title just yet so I'm going to

play30:23

ask Chad GPT to give me five variations

play30:26

on that topic title then I'm going to

play30:28

paste in the topic Title Here it gives

play30:30

me five different types of options here

play30:32

but all of them aren't that interesting

play30:34

and I'm actually quite happy with that

play30:36

very first one now we can move into

play30:39

writing the outline for this blog post

play30:41

using chat gbt I'm going to ask it to

play30:45

provide me the outline for the article

play30:46

in clear writing and the title which I

play30:49

picked which is the seven pitfalls to

play30:51

avoid for website Graphics design

play30:53

now I will get a pretty well written

play30:57

outline it'll include include an

play30:59

introduction with a couple of points the

play31:02

seven pitfalls themselves so it'll pick

play31:04

out those pitfalls give me a short

play31:06

summary in dot points of what they are

play31:08

and how they work and then it'll also

play31:11

fill in a conclusion this is pretty much

play31:14

everything that I would need if I was

play31:16

writing a Blog article and this is again

play31:19

still just the beginning because now I'm

play31:21

gonna ask it to even write the

play31:23

introduction for this article and I want

play31:25

it to be at least three sentences long

play31:29

the output here will give me that

play31:32

introduction which is Graphics design

play31:34

plays a crucial role in the success of a

play31:36

website

play31:37

Etc here's where we can start playing

play31:39

around with writing blogs and content in

play31:42

general we could ask chatgpt to rephrase

play31:45

the following sentence and then paste in

play31:47

the sentence we want and here it'll give

play31:49

us an alternative sentence which is a

play31:52

little bit more nuanced I suppose it

play31:54

says the success of a website is heavily

play31:56

influenced by its Graphics design it's

play31:58

essentially saying the same thing but we

play32:00

can also ask chat gbd to do a number of

play32:02

other things such as lengthen the

play32:04

sentence so here it's saying the same

play32:06

sentence but it's a little bit longer

play32:07

the reverse is also true if we've got

play32:10

sentences and that are slightly too

play32:12

large we can also ask cha GPT to shorten

play32:15

them and this provides a shorter version

play32:17

which is very similar to what we

play32:19

originally had and we can even ask it to

play32:22

fix the grammar so say I was just

play32:24

writing my own blog and I wanted to

play32:25

spell check and grammar check then it

play32:28

can work as a bit of a co-writer that

play32:29

there for you essentially making sure

play32:32

that your sentence are good graphics

play32:33

design impact good website comes out

play32:36

essentially saying a good graphics

play32:38

design can impact a good website much

play32:41

better written if you're writing for

play32:43

blogs in different languages Chad GPT

play32:45

can even translate that to pretty much

play32:48

any language I'm just gonna take a guess

play32:50

here and see if it can translate the

play32:52

above statement or sentence into say

play32:55

German in this case I could probably

play32:57

plug this into Google to make sure it's

play33:00

correct but honestly I think I almost

play33:02

trust chatgpt here more within

play33:04

translation than even Google the reverse

play33:06

is also true if you've got something in

play33:09

a different language such as German and

play33:11

you want to translate it back to English

play33:12

you can do that you can even add in

play33:14

things like adding it in a friendly

play33:15

joking way and we get back this example

play33:18

here a good graphics design can totally

play33:20

Rock a website socks off which is pretty

play33:22

funny now that we have a outline for our

play33:25

blog an introduction and say we've

play33:27

written it as well we can even prepare a

play33:29

new newsletter for it to be sent out by

play33:31

email and even have Chad gbt create the

play33:34

subject line for that email here I'm

play33:36

just going to ask it to create the

play33:37

subject line for an email newsletter

play33:39

based on the above and it's going to

play33:41

give me an output here of maximize your

play33:43

website's potential with these Graphics

play33:45

design tips perfect I hope you guys

play33:47

enjoyed this chat GPT tutorial this

play33:49

crash course is just an introduction so

play33:51

that you can understand a better way of

play33:53

how to use it to your best advantage of

play33:55

course if you have questions or if you

play33:57

have suggestions let me know in the

play33:59

comments below don't forget to like the

play34:01

video and subscribe if you want to see

play34:02

content like this thank you

Rate This

5.0 / 5 (0 votes)

Вам нужно реферат на русском языке?