• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Image from Amazon
Title: ChatGPT for Java
Author(s): Bruce Hopkins
Publisher: Summary

Amazon wrote:Embrace the future of software development! ChatGPT for Java is the perfect starting point for Java developers to learn how to build intelligent applications using ChatGPT and Open AI APIs.

This book takes you from the ground up to demonstrate how to use ChatGPT programmatically. You will learn the basics of ChatGPT and OpenAI APIs, including how to authenticate, send prompts, generate responses, test in the Playground, and handle errors. Each chapter includes practical exercises which demonstrate different API functionalities and bring your concepts to life. You will learn how to AI-enable your own applications using models such as GPT-4, GPT-3.5, Whisper, DALL-E, and many more.

As a result, developers will understand that generative AI tools will not replace software development jobs! Instead, you will leverage ChatGPT as your Java AI-pair programmer to increase speed and productivity. You will also learn how ChatGPT can provide powerful Natural Language Processing (NLP) capabilities to your Java apps in order to understand various formats of unstructured text. Step-by-step, you will apply the concepts covered to create your own intelligent chatbots that can automatically process messages from either Slack on Discord.

With this book, Java developers will be empowered to take their applications to new heights by leveraging the power of AI as this exciting field continues to evolve and transform.

Book Preview (when available)

From the publisher
  • Table of Contents ([url=https://link.springer.com/content/pdf/bfm:979-8-8688-0116-7/1" target="_blank" rel="nofollow">PDF)

  • Where to get it?
  • Amazon.com
  • Apress/Springer)

  • Related Websites
  • ChatGPT

    author & internet detective
    Posts: 41936
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    “ChatGPT for Java” is a great way to learn about using ChatGPT in general and accessing Java APIs. It's a relatively short book (225 pages), but the pages are narrower than your traditional tech book. This is great for carrying the book around with you. It's not so great for reading code or looking at tables. I felt like there was  a lot of wasted space in the tables and the description column would be 4-5 words long. There was alos 2.5 pages of a bulleted list that I was wondering why it wasn't two columns. None of this takes away from the content of course.

    Early on the book explains how prompts work with a great example. The author compares to regular expressions. I do have to comment re page 6's “I'm thoroughly convinced that every programmer somewhere in their lifetime has met *some guy* who happens to be an expert in writing regular expressions. That's me! Minus the guy part. I did enjoy why LLM and regular expressions are different.

    The vocabulary section was great showing that models and tokens are in Java vs in LLMs. I appreciated the samples of good Dall-E prompts including specifying what should be in the foreground. And I loved “Crook's bank” to ensure it doesn't collide with a real back name. I should hope not!

    The Java code was good although I was a little puzzled why chapter 2's example didn't use a try with resources (later chapters did). Also text blocks (multiline string) were used at the end but not consistently. There was good use of the builder pattern. The reference tables were good other than the narrowness.

    I give this book 8 out of 10 horseshoes.

    Disclosure: I received a copy of this book from the publisher in exchange for writing this review.
      Bookmark Topic Watch Topic
    • New Topic