Creating ChatGPT Apps with JavaScript: A Hands-On Guide for AI Applications with OpenAI APIs
暫譯: 使用 JavaScript 創建 ChatGPT 應用程式:OpenAI API 的 AI 應用實作指南
Hopkins Jr, Bruce, Hopkins Sr, Bruce
- 出版商: Apress
- 出版日期: 2025-03-27
- 售價: $2,210
- 貴賓價: 9.5 折 $2,100
- 語言: 英文
- 頁數: 223
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798868812200
- ISBN-13: 9798868812200
-
相關分類:
ChatGPT、JavaScript、人工智慧
海外代購書籍(需單獨結帳)
商品描述
Transform your JavaScript expertise through the power of Open AI API models using "Creating ChatGPT Apps with JavaScript." This book will guide JavaScript developers to build smart applications while providing tangible knowledge of OpenAI's API for text summarization, creating transcripts from audio files, generating images, and running models locally on your machine.
Through hands-on projects and code examples, readers will discover how to build AI-powered apps from scratch, such as using embeddings to train a Discord bot to answer customers' questions in multiple languages. Readers will also learn to dictate text for writing articles or blogs with a localized integration of Whisper and generate hero images with Dall-E. What's more, in the final chapter of this book, you'll be able to maximize productivity by creating a Smart Assistant like Alexa or Siri with JavaScript and the new Raspberry Pi 5.
From seasoned developers to newcomers, this book offers something for everyone. Not only will readers learn to build apps with ChatGPT and JavaScript, but they will also learn best practices for prompt engineering. They'll understand how AI models can enhance workplace efficiency and utilize natural language processing (NLP) to make interactions with applications feel...well, natural. The end result is expert knowledge in leveraging ChatGPT programmatically and incorporating the technology into diverse applications.
What You Will Learn:
- Gain a deeper understanding of ChatGPT and how OpenAI's models work, and different ways to implement each of their various features.
- Authenticate with ChatGPT and OpenAI's API and learn to send prompts with best practices with prompt engineering.
- Streamline productivity and content creation by leveraging transcription generation for dictation and image generation for creating hero images.
- Stay ahead of the game by incorporating different new features of OpenAI's API and understanding more complex concepts like using GPT-4 to train a Discord bot with an FAQ to assist with multilingual tech support.
Who This Book is for:
This book is written for JavaScript developers and hobbyists that want to use OpenAI and ChatGPT to create intelligent applications and streamline productivity. No prior experience with ChatGPT or OpenAI APIs is required.
商品描述(中文翻譯)
透過《使用 JavaScript 創建 ChatGPT 應用程式》的力量,將您的 JavaScript 專業知識轉化為 Open AI API 模型的應用。本書將指導 JavaScript 開發者構建智能應用程式,同時提供有關 OpenAI 的 API 的具體知識,包括文本摘要、從音頻文件創建文字記錄、生成圖像以及在本地機器上運行模型。
通過實作專案和程式碼範例,讀者將發現如何從零開始構建 AI 驅動的應用程式,例如使用嵌入技術訓練 Discord 機器人,以多種語言回答客戶問題。讀者還將學會如何使用 Whisper 進行文本口述以撰寫文章或部落格,並使用 Dall-E 生成主圖像。此外,在本書的最後一章,您將能夠通過 JavaScript 和全新的 Raspberry Pi 5 創建類似 Alexa 或 Siri 的智能助手,以最大化生產力。
從資深開發者到新手,本書為每個人提供了有價值的內容。讀者不僅將學會如何使用 ChatGPT 和 JavaScript 構建應用程式,還將學習最佳的提示工程實踐。他們將了解 AI 模型如何提升工作效率,並利用自然語言處理 (NLP) 使與應用程式的互動感覺...好吧,自然。最終結果是專業知識,能夠以程式化方式利用 ChatGPT,並將該技術融入各種應用程式中。
您將學到的內容:
- 深入了解 ChatGPT 及 OpenAI 模型的運作方式,以及實現其各種功能的不同方法。
- 使用 ChatGPT 和 OpenAI 的 API 進行身份驗證,並學習以最佳實踐發送提示的提示工程。
- 通過利用轉錄生成進行口述和圖像生成來創建主圖像,簡化生產力和內容創建。
- 通過整合 OpenAI API 的不同新功能,並理解更複雜的概念,例如使用 GPT-4 訓練 Discord 機器人以提供多語言技術支援的常見問題解答,保持領先地位。
本書適合誰:
本書是為希望使用 OpenAI 和 ChatGPT 創建智能應用程式並簡化生產力的 JavaScript 開發者和愛好者而寫的。不需要具備 ChatGPT 或 OpenAI API 的先前經驗。
作者簡介
Bruce Hopkins Jr. is a JavaScript, Typescript, and Rust developer. He has worked in both R&D and professional capacities with ChatGPT and other LLMs (large language model) such as Meta's LLama and LLama 2.
Bruce Hopkins Sr. is an accomplished author and technical writer. His focus has been on pioneering research in natural language processing (NLP) and artificial intelligence (AI), particularly in the domain of speech and chatbot applications. He holds the distinguished title of an Intel Innovator for AI and IoT.
作者簡介(中文翻譯)
布魯斯·霍普金斯 Jr. 是一位 JavaScript、TypeScript 和 Rust 開發者。他曾在 R&D 和專業領域中與 ChatGPT 及其他大型語言模型(LLM)如 Meta 的 LLama 和 LLama 2 合作。
布魯斯·霍普金斯 Sr. 是一位傑出的作者和技術作家。他專注於自然語言處理(NLP)和人工智慧(AI)的開創性研究,特別是在語音和聊天機器人應用領域。他擁有英特爾 AI 和 IoT 創新者的卓越稱號。