You are on page 1of 5

What Are ChatGPT

and Its Friends?


Opportunities, Costs, and Risks for
Large Language Models

Mike Loukides

Beijing Boston Farnham Sebastopol Tokyo


What Are ChatGPT and Its Friends?
by Mike Loukides
Copyright © 2023 O’Reilly Media. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA
95472.
O’Reilly books may be purchased for educational, business, or sales promotional
use. Online editions are also available for most titles (http://oreilly.com). For more
information, contact our corporate/institutional sales department: 800-998-9938 or
corporate@oreilly.com.

Editor: Mike Loukides Interior Designer: David Futato


Production Editor: Kristen Brown Cover Designer: Randy Comer

March 2023: First Edition

Revision History for the First Edition


2023-03-24: First Release

The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. What Are
ChatGPT and Its Friends?, the cover image, and related trade dress are trademarks of
O’Reilly Media, Inc.
The views expressed in this work are those of the author and do not represent the
publisher’s views. While the publisher and the author have used good faith efforts
to ensure that the information and instructions contained in this work are accurate,
the publisher and the author disclaim all responsibility for errors or omissions,
including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this
work is at your own risk. If any code samples or other technology this work contains
or describes is subject to open source licenses or the intellectual property rights of
others, it is your responsibility to ensure that your use thereof complies with such
licenses and/or rights.

978-1-098-15259-8
[LSI]
Table of Contents

What Are ChatGPT and Its Friends?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1


What Software Are We Talking About? 1
How Does It Work? 4
What Are ChatGPT’s Limitations? 8
What Are the Applications? 10
What Are the Costs? 14
What Are the Risks? 16
What Is the Future? 17

iii
What Are ChatGPT and Its Friends?

ChatGPT, or something built on ChatGPT, or something that’s like


ChatGPT, has been in the news almost constantly since ChatGPT
was opened to the public in November 2022. What is it, how does it
work, what can it do, and what are the risks of using it?
A quick scan of the web will show you lots of things that ChatGPT
can do. Many of these are unsurprising: you can ask it to write a
letter, you can ask it to make up a story, you can ask it to write
descriptive entries for products in a catalog. Many of these go
slightly (but not very far) beyond your initial expectations: you can
ask it to generate a list of terms for search engine optimization, you
can ask it to generate a reading list on topics that you’re interested
in. It has helped to write a book. Maybe it’s surprising that ChatGPT
can write software, maybe it isn’t; we’ve had over a year to get used
to GitHub Copilot, which was based on an earlier version of GPT.
And some of these things are mind blowing. It can explain code that
you don’t understand, including code that has been intentionally
obfuscated. It can pretend to be an operating system. Or a text
adventure game. It’s clear that ChatGPT is not your run-of-the-mill
automated chat server. It’s much more.

What Software Are We Talking About?


First, let’s make some distinctions. We all know that ChatGPT is
some kind of an AI bot that has conversations (chats). It’s important
to understand that ChatGPT is not actually a language model. It’s a
convenient user interface built around one specific language model,
GPT-3.5, which has received some specialized training. GPT-3.5 is
one of a class of language models that are sometimes called “large

You might also like