OpenAI API Cookbook: Build intelligent applications including chatbots, virtual assistants, and content generators (OpenAI API 食譜:打造智能應用程式,包括聊天機器人、虛擬助手和內容生成器)

Habib, Henry

  • 出版商: Packt Publishing
  • 出版日期: 2024-03-12
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 192
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1805121359
  • ISBN-13: 9781805121350
  • 相關分類: Chatbot
  • 立即出貨 (庫存 < 3)

相關主題

商品描述

Explore the vast possibilities of integrating the ChatGPT API across various domains, from creating simple wrappers to developing knowledge-based assistants, multi-model applications, and conversational interfaces

Key Features

  • Understand the different elements, endpoints, and parameters of the OpenAI API
  • Build tailored intelligent applications and workflows with the OpenAI API
  • Create versatile assistants with for a multitude of tasks
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

As artificial intelligence continues to reshape industries with OpenAI at the forefront of AI research, knowing how to create innovative applications such as chatbots, virtual assistants, content generators, and productivity enhancers is a game-changer. This book takes a practical, recipe-based approach to unlocking the power of OpenAI API to build high-performance intelligent applications in diverse industries and seamlessly integrate ChatGPT in your workflows to increase productivity.

You'll begin with the OpenAI API fundamentals, covering setup, authentication, and key parameters, and quickly progress to the different elements of the OpenAI API. Once you've learned how to use it effectively and tweak parameters for better results, you'll follow advanced recipes for enhancing user experience and refining outputs. The book guides your transition from development to live application deployment, setting up the API for public use and application backend. Further, you'll discover step-by-step recipes for building knowledge-based assistants and multi-model applications tailored to your specific needs.

By the end of this book, you'll have worked through recipes involving various OpenAI API endpoints and built a variety of intelligent applications, ready to apply this experience to building AI-powered solutions of your own.

What you will learn

  • Grasp the fundamentals of the OpenAI API
  • Navigate the API's capabilities and limitations of the API
  • Set up the OpenAI API with step-by-step instructions, from obtaining your API key to making your first call
  • Explore advanced features such as system messages, fine-tuning, and the effects of different parameters
  • Integrate the OpenAI API into existing applications and workflows to enhance their functionality with AI
  • Design and build applications that fully harness the power of ChatGPT

Who this book is for

This book is perfect for developers, data scientists, AI/tech enthusiasts, citizen developers, and no-code aficionados keen on using and mastering the OpenAI API. Whether you're a beginner or experienced professional, this book is ideal for quickly creating intelligent applications such as chatbots or content generators, through step-by-step recipes that take you from the basics of the API to creating sophisticated applications systematically.

The OpenAI API is accessed with Python in this book, so familiarity with Python and APIs is preferred but not mandatory.

商品描述(中文翻譯)

探索在各個領域中整合ChatGPT API的廣泛可能性,從創建簡單的封裝器到開發基於知識的助手、多模型應用和對話界面。

主要特點:

- 瞭解OpenAI API的不同元素、端點和參數
- 使用OpenAI API構建定制的智能應用和工作流程
- 為多種任務創建多功能助手
- 購買印刷版或Kindle版書籍包括免費的PDF電子書

書籍描述:

隨著人工智能繼續重塑行業,OpenAI在AI研究方面處於領先地位,知道如何創建創新應用程序(如聊天機器人、虛擬助手、內容生成器和提高生產力的工具)將是一個改變遊戲規則的因素。本書以實用的基於配方的方法來解鎖OpenAI API的功能,以在不同行業中構建高性能智能應用程序,並無縫集成ChatGPT到您的工作流程中以提高生產力。

您將從OpenAI API的基礎知識開始,包括設置、身份驗證和關鍵參數,並迅速進展到OpenAI API的不同元素。一旦您學會了如何有效使用它並調整參數以獲得更好的結果,您將按照增強用戶體驗和優化輸出的高級配方進行操作。本書將引導您從開發到實際應用部署,設置API供公眾使用和應用程序後端。此外,您還將發現逐步指南,以構建基於知識的助手和根據您特定需求定制的多模型應用程序。

通過閱讀本書,您將通過涉及各種OpenAI API端點的配方並構建各種智能應用程序,準備好將此經驗應用於構建自己的AI解決方案。

您將學到什麼:

- 掌握OpenAI API的基礎知識
- 瞭解API的功能和限制
- 按步驟設置OpenAI API,從獲取API密鑰到進行第一次調用
- 探索高級功能,如系統消息、微調和不同參數的影響
- 將OpenAI API集成到現有應用程序和工作流程中,以增強其功能
- 設計和構建充分利用ChatGPT功能的應用程序

本書適合對使用和掌握OpenAI API感興趣的開發人員、數據科學家、AI/技術愛好者、公民開發人員和無代碼愛好者。無論您是初學者還是經驗豐富的專業人士,本書都非常適合通過逐步的配方從API的基礎知識到系統地創建智能應用程序,如聊天機器人或內容生成器。

本書使用Python訪問OpenAI API,因此最好熟悉Python和API,但不是必需的。

目錄大綱

  1. Unlocking OpenAI and Setting Up Your API Playground Environment
  2. OpenAI API Endpoints Explained
  3. Understanding Key Parameters and Their Impact on Generated Responses
  4. Incorporating Additional Features from the OpenAI API
  5. Staging the OpenAI API for Application Development
  6. Building Intelligent Applications with the OpenAI API
  7. Building Assistants with the OpenAI API

目錄大綱(中文翻譯)

解鎖 OpenAI 並設置 API Playground 環境
解釋 OpenAI API 端點
了解關鍵參數及其對生成回應的影響
從 OpenAI API 中加入其他功能
為應用程式開發準備 OpenAI API
使用 OpenAI API 建立智能應用程式
使用 OpenAI API 建立助理