This book is loaded with tons of examples to allow you to quickly get up and running with ChatGPT and OpenAI APIs in your Java applications.
Learn about the terminology necessary to get started from scratch. Get introduced to the models available for developers and learn how to use the Chat Playground. Learn the differences in the models available in order to build AI-enabled apps with Java.
Due to the fact that there is no official ChatGPT API for Java, you'll see the steps necessary to create a lightweight API for yourself. Create your first ChatGPT client app with a single class and few dependencies.
You've heard about the term, "prompt engineering", but does it actually mean? In this chapter, we'll learn the basics of promp engineering to create a text summarizer bot for Slack all in Java.
Aren't you cutious sometimes about what is being discussed in a compelling podcast episode? In this chapter, you'll learn all the steps necessary to create a Podcast Visualizer using the Whisper (speech to text) and DALL·E 3 models.
Discord is a popular tool for community management, however healthy online communities don't create themselves. In this chapter we'll create basic Discord bots for Q&A and for content moderation.
We take the basic Discord bots created in the previous chapter and make them intelligent. We use proper prompt engineering to make the Q&A bot automaticaly answer questions from an externally loaded knowledge base. We also make our content moderator bot delete unwanted messages in the Discord server.
Bruce Hopkins is located in Barcelona, Spain. He is the author of ChatGPT for Java