Exploring GPT-3: An unofficial first look at the general-purpose language processing API from OpenAI (Paperback)

Tingiris, Steve

  • 出版商: Packt Publishing
  • 出版日期: 2021-08-27
  • 售價: $1,900
  • 貴賓價: 9.5$1,805
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800563191
  • ISBN-13: 9781800563193
  • 相關分類: 人工智慧
  • 海外代購書籍(需單獨結帳)



Get started with GPT-3 and the OpenAI API for natural language processing using JavaScript and Python


Key Features:

  • Understand the power of potential GPT-3 language models and the risks involved
  • Explore core GPT-3 use cases such as text generation, classification, and semantic search using engaging examples
  • Plan and prepare a GPT-3 application for the OpenAI review process required for publishing a live application


Book Description:

Generative Pre-trained Transformer 3 (GPT-3) is a highly advanced language model from OpenAI that can generate written text that is virtually indistinguishable from text written by humans. Whether you have a technical or non-technical background, this book will help you understand and start working with GPT-3 and the OpenAI API.


If you want to get hands-on with leveraging artificial intelligence for natural language processing (NLP) tasks, this easy-to-follow book will help you get started. Beginning with a high-level introduction to NLP and GPT-3, the book takes you through practical examples that show how to leverage the OpenAI API and GPT-3 for text generation, classification, and semantic search. You'll explore the capabilities of the OpenAI API and GPT-3 and find out which NLP use cases GPT-3 is best suited for. You'll also learn how to use the API and optimize requests for the best possible results. With examples focusing on the OpenAI Playground and easy-to-follow JavaScript and Python code samples, the book illustrates the possible applications of GPT-3 in production.


By the end of this book, you'll understand the best use cases for GPT-3 and how to integrate the OpenAI API in your applications for a wide array of NLP tasks.


What You Will Learn:

  • Understand what GPT-3 is and how it can be used for various NLP tasks
  • Get a high-level introduction to GPT-3 and the OpenAI API
  • Implement JavaScript and Python code examples that call the OpenAI API
  • Structure GPT-3 prompts and options to get the best possible results
  • Select the right GPT-3 engine or model to optimize for speed and cost-efficiency
  • Find out which use cases would not be suitable for GPT-3
  • Create a GPT-3-powered knowledge base application that follows OpenAI guidelines


Who this book is for:

Exploring GPT-3 is for anyone interested in natural language processing or learning GPT-3 with or without a technical background. Developers, product managers, entrepreneurs, and hobbyists looking to get to grips with NLP, AI, and GPT-3 will find this book useful. Basic computer skills are all you need to get the most out of this book.


開始使用JavaScript和Python進行自然語言處理的GPT-3和OpenAI API


- 了解潛在的GPT-3語言模型的威力和相關風險
- 通過引人入勝的示例,探索核心的GPT-3用例,如文本生成、分類和語義搜索
- 計劃和準備一個GPT-3應用程序,以便通過OpenAI審查流程發布實時應用程序


Generative Pre-trained Transformer 3(GPT-3)是OpenAI的一種高度先進的語言模型,可以生成幾乎無法區分出是人類寫的文本。無論您具有技術還是非技術背景,本書都將幫助您了解並開始使用GPT-3和OpenAI API。

如果您想親自體驗利用人工智能進行自然語言處理(NLP)任務,這本易於理解的書籍將幫助您入門。從對NLP和GPT-3的高級介紹開始,本書通過實際示例展示如何利用OpenAI API和GPT-3進行文本生成、分類和語義搜索。您將探索OpenAI API和GPT-3的功能,並了解GPT-3最適合哪些NLP用例。您還將學習如何使用API並優化請求以獲得最佳結果。通過重點介紹OpenAI Playground和易於理解的JavaScript和Python代碼示例,本書展示了GPT-3在實際應用中的可能應用。

通過閱讀本書,您將了解GPT-3的最佳用例以及如何將OpenAI API集成到各種NLP任務的應用程序中。


- 了解GPT-3是什麼,以及它如何用於各種NLP任務
- 獲得GPT-3和OpenAI API的高級介紹
- 實施調用OpenAI API的JavaScript和Python代碼示例
- 結構化GPT-3提示和選項以獲得最佳結果
- 選擇適合的GPT-3引擎或模型以優化速度和成本效益
- 找出哪些用例不適合GPT-3
- 創建一個遵循OpenAI指南的以GPT-3為動力的知識庫應用程序



Steve Tingiris is the founder and managing director of Dabble Lab, a technology research and services company that helps businesses accelerate learning and adoption of natural language processing, conversational AI, and other emerging technologies. He has been designing and building automation solutions for over 20 years and has consulted on conversational AI projects for companies including Amazon, Google, and Twilio. He also publishes technical tutorials on Dabble Lab’s YouTube channel― one of the most popular educational resources for conversational AI developers―and manages several open-source projects, including the Autopilot CLI, Twilio’s recommended tool for building Autopilot bots. To connect with Steve, you can find him on GitHub tingiris or on Twitter tingiris.


Steve Tingiris 是 Dabble Lab 的創始人兼總經理,Dabble Lab 是一家技術研究和服務公司,幫助企業加速學習和採用自然語言處理、對話式人工智慧和其他新興技術。他已經設計和建立自動化解決方案超過20年,並為包括亞馬遜、谷歌和Twilio在內的公司提供對話式人工智慧項目的諮詢服務。他還在Dabble Lab的YouTube頻道上發布技術教程,該頻道是對話式人工智慧開發者最受歡迎的教育資源之一,並管理著幾個開源項目,包括Autopilot CLI,這是Twilio建立Autopilot機器人的推薦工具。要聯繫Steve,您可以在GitHub上找到他的tingiris帳號,或在Twitter上找到他的tingiris帳號。


Table of Contents

  1. Introducing GPT-3 and the OpenAI API
  2. GPT-3 Applications and Use Cases
  3. Working with the OpenAI Playground
  4. Working with the OpenAI API
  5. Calling the OpenAI API in Code
  6. Content Filtering
  7. Generating and Transforming Text
  8. Classifying and Categorizing Text
  9. Building a GPT-3 Powered Question-Answering App
  10. Going Live with OpenAI-Powered Apps



  1. 介紹 GPT-3 和 OpenAI API

  2. GPT-3 的應用和使用案例

  3. 使用 OpenAI Playground

  4. 使用 OpenAI API

  5. 在程式中呼叫 OpenAI API

  6. 內容過濾

  7. 生成和轉換文字

  8. 分類和歸類文字

  9. 建立一個以 GPT-3 為動力的問答應用程式

  10. 使用 OpenAI-Powered 應用程式上線