ChatGPT for Java: A Hands-On Developer's Guide to ChatGPT and Open AI APIs

Hopkins, Bruce

  • 出版商: Apress
  • 出版日期: 2024-02-28
  • 售價: $2,020
  • 貴賓價: 9.5$1,919
  • 語言: 英文
  • 頁數: 233
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798868801150
  • ISBN-13: 9798868801150
  • 相關分類: ChatGPTJava 程式語言人工智慧
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.


What You Will Learn

  • Authenticate with the ChatGPT and OpenAI APIs and learn how to engineer and send prompts
  • Test your prompts in the ChatGPT Playground
  • How to use multiple artificial intelligence models
  • Harness the power the temperature, top_p, and other parameters that can ONLY be accessed by developers to create more unique and engaging responses from ChatGPT
  • Create intelligent bots for Slack or Discord servers
  • Incorporate context into prompts for better responses and apply advanced features of the APIs.
  • Explore future directions for ChatGPT and OpenAI

Who This Book Is For

Beginning and intermediate Java developers who have a basic understanding of Java programming concepts and are interested in learning how to add intelligence to their applications by using ChatGPT programmatically. No prior experience with ChatGPT or OpenAI APIs is required.

商品描述(中文翻譯)

擁抱軟體開發的未來!《ChatGPT for Java》是Java開發者學習如何使用ChatGPT和Open AI APIs建立智能應用程式的完美起點。

本書從基礎開始,示範如何以程式方式使用ChatGPT。您將學習ChatGPT和OpenAI APIs的基礎知識,包括身份驗證、發送提示、生成回應、在Playground中進行測試和處理錯誤。每個章節都包含實際練習,展示不同的API功能,並將概念具體化。您將學習如何使用GPT-4、GPT-3.5、Whisper、DALL-E等模型,使自己的應用程式具備人工智能功能。

結果,開發者將了解生成式人工智能工具不會取代軟體開發工作!相反,您將利用ChatGPT作為Java AI對程式師,提高速度和生產力。您還將學習如何將ChatGPT提供強大的自然語言處理(NLP)功能應用於Java應用程式,以理解各種非結構化文本格式。逐步地,您將應用所學概念,創建自己的智能聊天機器人,可以自動處理來自Slack或Discord的訊息。

通過本書,Java開發者將能夠利用人工智能的力量,將他們的應用程式提升到新的高度,這個令人興奮的領域將繼續發展和轉變。

您將學到什麼:
- 與ChatGPT和OpenAI APIs進行身份驗證,學習如何設計和發送提示
- 在ChatGPT Playground中測試您的提示
- 如何使用多個人工智能模型
- 利用溫度、top_p和其他只有開發者才能訪問的參數,創建更獨特和引人入勝的ChatGPT回應
- 為Slack或Discord伺服器創建智能機器人
- 將上下文納入提示以獲得更好的回應,並應用API的高級功能
- 探索ChatGPT和OpenAI的未來發展方向

本書適合對Java編程概念有基本了解並有興趣以程式方式為應用程式增加智能功能的初級和中級Java開發者。不需要先前使用ChatGPT或OpenAI APIs的經驗。

作者簡介

Bruce Hopkins is a technical writer and world-renown expert. He is both an Oracle Java Champion as well as an Intel Software Innovator. Bruce is also the author of the Apress book, Bluetooth for Java.


作者簡介(中文翻譯)

Bruce Hopkins 是一位技術作家和世界知名專家。他既是 Oracle Java Champion,也是 Intel Software Innovator。Bruce 也是 Apress 書籍《Bluetooth for Java》的作者。