What Is ChatGPT? (and How to Use It)

Written by Coursera Staff • Updated on

Learn more about ChatGPT, OpenAI's exciting artificial intelligence chatbot, and how best to use the technology safely and responsibly in your work.

[Featured image] A person in a purple shirt with over-ear headphones and glasses sits in front of a laptop working on ChatGPT.

If you've spent any time online since the first few weeks of 2023, you may have already picked up on the buzz surrounding ChatGPT. But what exactly is this latest tool in generative artificial intelligence (AI)? 

In this article, we'll introduce ChatGPT and the technology that powers it. We'll also cover its features and limitations and present some tips on how it should (and potentially should not) be used.

What is ChatGPT?

ChatGPT is an artificial intelligence chatbot from OpenAI that enables users to "converse" with it in a way that's meant to mimic natural conversation. As a user, you can ask questions or make requests through prompts, and ChatGPT will respond. The intuitive, easy-to-use, and free tool has already gained popularity as an alternative to traditional search engines and a tool for AI writing, among other things.

What does GPT stand for?

The "GPT" in ChatGPT stands for generative pre-trained transformer. In AI, training refers to the process of teaching a computer system to recognize patterns and make decisions based on input data, much like how a teacher gives information to their students and then tests their understanding of that information. 

A transformer is a type of neural network trained to analyze the context of input data and weigh the significance of each part of the data accordingly. Since this type of model learns context, it's commonly used in natural language processing (NLP) to generate text similar to human writing. (In AI, a model is a set of mathematical equations and algorithms a computer uses to analyze data and make decisions. Read more about some common machine learning models here.)

While older AI chatbots could answer questions with detailed responses, ChatGPT uses a dialog format, allowing it to answer follow-up and clarifying questions and recognize and reject inappropriate or dangerous requests (such as questions about illegal activity). 

How to use ChatGPT to augment your work

With a thorough understanding of the features, limitations, and risks associated with generative AI, it becomes a powerful tool for saving time and energy. Knowing how to effectively communicate with ChatGPT or any generative AI model is called prompt engineering.

New use cases are emerging every day; here are just a few ways you might incorporate ChatGPT (or another generative AI model) into your day-to-day work:

1. Conduct research. 

While ChatGPT lacks some critical functionality of Google and other search engines (particularly in making attribution easy to see and access), it can be a useful starting point for conducting research. Here are two examples:

[Screenshot] Screenshot of a ChatGPT response to the prompt: "What topics should I research to better understand the philosophy of knowledge?"

[Screenshot] Screenshot of the ChatGPT response to the prompt "What are five peer-reviewed papers on the limitations of large language models?"

2. Beat writer's block.

You're not alone if you've ever experienced difficulty getting started on a writing project while staring at a blank page. Depending on the source of your writer's block and what you're trying to achieve, you may be able to use ChatGPT to overcome inertia:

  • Get your creativity flowing with generated writing prompts.

  • Build an outline or structure from the key points you want to include.

  • Generate a first paragraph to build upon. (You can go back and revise or delete it later.)

  • Find that word that's on the tip of your tongue.

[Screenshot] A ChatGPT screenshot of the prompt "What's a good word for the feeling of boredom?"

3. Strengthen an existing piece of writing.

You can input an existing piece of text into ChatGPT and ask it to identify uses of passive voice, repetitive phrases or word usage, or grammatical errors. This could be particularly useful if you're writing in a language you're not a native speaker.

4. Write and debug code.

ChatGPT isn't just for use with text as prose. You can also use to:

  • Explain the functionality of unfamiliar input code

  • Generate boilerplate code to build off of

  • Identify bugs within existing code 

  • Add comments to existing code for improved readability and collaboration

  • Identify edge cases where your code might fail

5. Generate keywords for blog posts or marketing campaigns.

ChatGPT's use of a transformer model (the "T" in ChatGPT) makes it a good tool for keyword research. It can generate related terms based on context and associations (compared to the more linear approach of more traditional keyword research tools). You can also input a list of keywords and classify them based on search intent.

[Screenshot] Screenshot of the ChatGPT response to the prompt "What are five peer-reviewed papers on the limitations of large language models?"

6. Summarize long documents or explain complex concepts.

ChatGPT can quickly summarize the key points of long articles or sum up complex ideas in a way that's easier to understand. This could be a time saver if you're trying to get up to speed in a new industry or need help with a tricky concept while studying.

[Screenshot] ChatGPT response to the prompt "Explain logistic regression in a way that a high school student could understand."

How does ChatGPT work?

ChatGPT uses natural language processing (NLP), an AI technology that understands, analyzes, and generates human-like language. The large language model (LLM) was trained using a combination of two major inputs:

1. A massive volume of sample text pulled from web pages and program code before the end of 2021

2. Conversations provided by real humans, who demonstrated the desired responses to provided prompts, then ranked outputs from the model based on the quality of the response  

Providing occasional feedback from humans to an AI model is a technique known as reinforcement learning from human feedback (RLHF). Leveraging this technique can help fine-tune a model by improving safety and reliability.

Features and limitations of ChatGPT (and other generative AI)

ChatGPT represents an exciting advancement in generative AI, with several features that could help accelerate certain tasks when used thoughtfully. It also comes with limitations. Understanding the features and limitations is key to leveraging this technology for the greatest impact.

Features of ChatGPT

Some of the features ChatGPT include the ability to:

  • Generate human-like text that mimics the style and structure of the input data

  • Generate a response to a given prompt or input text. This could include writing a story or answering a question. 

  • Generate text in multiple languages

  • Modify the style of generated text (formal or informal, for example)

  • Ask clarifying questions to better understand the intent of input data

  • Respond with text that is consistent with the context of a conversation, such as offering follow-up instructions or understanding references made to previous questions

Other generative AI models can perform similar tasks with images, sounds, and video.

Limitations and risks of ChatGPT

While ChatGPT is a powerful tool, it has its limitations. To start, these types of transformer models lack common sense reasoning ability. This can translate to a limited ability to handle complexity, nuance, and questions around emotions, values, beliefs, and abstract concepts. These limitations can manifest in many ways:

  • It does not understand the meaning of the text it generates. While some output from ChatGPT may sound humanlike, the model isn't human. This has a few implications. It may be limited to handling nuance, ambiguity, sarcasm, or irony. Perhaps more problematic is the fact that it can generate text that sounds plausible but is incorrect or even nonsensical. What's more, it can't verify the veracity of its output.

  • It can generate biased, discriminatory, or offensive text. A language model like ChatGPT is only as good as its input data. This model was trained on large amounts of text data from the internet, including biased input. If the data used to train the model is biased, this can show up in the generated text. Learn more about AI ethics and why it matters.

  • Responses can be rooted in outdated information. The model has limited knowledge of events after 2021 and is not connected to the wider internet. If you're using ChatGPT to produce code, it could be pulling from outdated examples that no longer meet modern cybersecurity standards.

  • Output can be formulaic. ChatGPT can generate text similar to existing text and is known to overuse certain phrases. This can mean text that reads flat and unimaginative or, in more extreme cases, could constitute plagiarism or a copyright infringement.

  • The tool isn't always available. The exploding popularity of ChatGPT has led to some capacity issues. When the servers get overloaded, you may get a message that "ChatGPT is at capacity."

5 tips for using ChatGPT responsibly

Take advantage of generative AI tools thoughtfully and responsibly by following these five guidelines:

1. Always review and edit generated text for accuracy and quality.

2. Treat generative AI as a starting point rather than a finished product.

3. Use it for repetitive or time-consuming tasks that don't require creativity or originality.

4. Don't use any sensitive or private information as input data.

5. Leverage it in conjunction with other tools and techniques, including your own creativity, emotional intelligence, and strategic thinking skills.

Placeholder

Get started with ChatGPT

ChatGPT is a powerful tool with the potential to streamline many tasks and ignite creativity. By understanding its strengths and limitations, you can leverage ChatGPT responsibly to enhance your workflow while ensuring the accuracy and originality of your work.

Keep exploring generative AI tools and ChatGPT with Prompt Engineering for ChatGPT from Vanderbilt University. Learn more about how these tools work and incorporate them into your daily life to boost productivity.

Keep reading

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.