© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
N. ModrzykGo Crazyhttps://doi.org/10.1007/978-1-4842-9666-0_1

1. Go to the Basics

Nicolas Modrzyk1  
(1)
tokyo-to suginami-ku, Japan
 

A cartoon illustration of a bear turned on its right. A text reads a part of me is always waiting for you.

The goal of this first chapter is to write a ChatGPT client in Go. You’ve probably heard about ChatGPT. It is an AI-trained chatbot that generates text according to questions you ask it.

To get to this point, you will run basic Go programs and get used to the language. Then you will put things together into a ChatGPT client. ...

Get Go Crazy: A Fun Projects-based Approach to Golang Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.