Statistics
50
Views
0
Downloads
0
Donations
Uploader

高宏飞

Shared on 2025-11-28
Support
Share

AuthorChris Minnick

No description

Tags
No tags
Publisher: Wiley
Publish Year: 2025
Language: 英文
File Format: PDF
File Size: 10.8 MB
Support Statistics
¥.00 · 0times
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

(This page has no text content)
(This page has no text content)
Artificial Intelligence A L L - I N - O N E by Chris Minnick et al.
Artificial Intelligence All-in-One For Dummies® Published by: John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, www.wiley.com Copyright © 2025 by John Wiley & Sons, Inc. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies. Media and software compilation copyright © 2025 by John Wiley & Sons, Inc. All rights reserved, including rights for text and data mining and training of artificial technologies or similar technologies. Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/ permissions. The manufacturer’s authorized representative according to the EU General Product Safety Regulation is Wiley-VCH GmbH, Boschstr. 12, 69469 Weinheim, Germany, e-mail: Product_Safety@wiley.com. Trademarks: Wiley, For Dummies, the Dummies Man logo, Dummies.com, Making Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and may not be used without written permission. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. CERTAIN AI SYSTEMS HAVE BEEN USED IN THE CREATION OF THIS WORK. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS.  THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For technical support, please visit https://hub.wiley.com/community/support/dummies. Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media that is not included in the version you purchased, you may download this material at http://booksupport. wiley.com. For more information about Wiley products, visit www.wiley.com. Library of Congress Control Number: 2025936526 ISBN 978-1-394-34172-6 (pbk); ISBN 978-1-394-34174-0 (ePDF); ISBN 978-1-394-34173-3 (ePUB)
Contents at a Glance Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Book 1: Understanding AI Foundations . . . . . . . . . . . . . . . . . . . . . . . . 7 CHAPTER 1: Delving into What AI Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 CHAPTER 2: Defining Data’s Role in AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CHAPTER 3: Considering the Use of Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 CHAPTER 4: Pioneering Specialized Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 CHAPTER 5: Parsing Machine Learning and Deep Learning . . . . . . . . . . . . . . . . . . . . . 81 CHAPTER 6: Upholding Responsible AI Standards in GenAI Use . . . . . . . . . . . . . . . . 101 CHAPTER 7: Finding Job Security in an AI World . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Book 2: Prompting and Generative AI Techniques . . . . . . . . 131 CHAPTER 1: Mapping the Lay of the Generative AI Land . . . . . . . . . . . . . . . . . . . . . . 133 CHAPTER 2: Introducing the Art of Prompt Engineering . . . . . . . . . . . . . . . . . . . . . . . 149 CHAPTER 3: Navigating the Evolving Landscape of GenAI . . . . . . . . . . . . . . . . . . . . . 161 CHAPTER 4: Introducing ChatGPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 CHAPTER 5: Getting Started with Microsoft Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 CHAPTER 6: Learning Advanced Prompting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 Book 3: Increasing Productivity with AI . . . . . . . . . . . . . . . . . . . . . 223 CHAPTER 1: Applying GenAI in Practical Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 CHAPTER 2: Crunching the Numbers with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237 CHAPTER 3: Presenting with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 CHAPTER 4: Meeting and Collaborating with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . 281 CHAPTER 5: Working with AI in a Roundup of Business Disciplines . . . . . . . . . . . . . 293 CHAPTER 6: Managing AI Adoption and Change in Your Organization . . . . . . . . . . . 317 Book 4: Creating Content with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 CHAPTER 1: Using AI for Ideation and Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 CHAPTER 2: Managing and Writing Emails with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 CHAPTER 3: Developing Creative Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 CHAPTER 4: Producing Long-Form Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 CHAPTER 5: Search Engine Optimization (SEO) in the AI Era . . . . . . . . . . . . . . . . . . . 403 CHAPTER 6: Fine-Tuning Content with Localization and Translation . . . . . . . . . . . . 419
Book 5: AI at Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 CHAPTER 1: Relying on AI to Improve Human Interaction . . . . . . . . . . . . . . . . . . . . . 435 CHAPTER 2: Using AI to Address Medical Needs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445 CHAPTER 3: Leveraging AI in Education . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465 CHAPTER 4: Using GenAI in the Real World . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 481 CHAPTER 5: Financial Planning and Other Money Matters . . . . . . . . . . . . . . . . . . . . . 491 CHAPTER 6: Retirement and Estate Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501 Book 6: Applying AI in Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 CHAPTER 1: How Coding Benefits from AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519 CHAPTER 2: AI Coding Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547 CHAPTER 3: Coding with Chatbots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571 CHAPTER 4: Progressing from Plan to Prototype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 Book 7: Creating Custom AI Solutions . . . . . . . . . . . . . . . . . . . . . . . 631 CHAPTER 1: Personalizing the Customer Journey by Using AI . . . . . . . . . . . . . . . . . . 633 CHAPTER 2: Boosting Online Business Growth with AI . . . . . . . . . . . . . . . . . . . . . . . . 649 CHAPTER 3: Enhancing Customer Service with Conversational AI Chatbots . . . . . . 665 CHAPTER 4: Making Custom Copilots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681 CHAPTER 5: Expanding Copilot’s Capabilities with Plugins . . . . . . . . . . . . . . . . . . . . . 705 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717
Table of Contents v Table of Contents INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 Foolish Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 Icons Used in This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Beyond the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4 Where to Go from Here . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5 BOOK 1: UNDERSTANDING AI FOUNDATIONS . . . . . . . . . . . . . . 7 CHAPTER 1: Delving into What AI Means . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Defining the Term AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9 Discerning intelligence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Examining four ways to define AI . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Reviewing AI categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 Understanding the History of AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18 Considering AI Uses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19 Avoiding AI Hype and Overestimation . . . . . . . . . . . . . . . . . . . . . . . . . . .20 Defining the five tribes and the master algorithm . . . . . . . . . . . . . .20 Considering sources of hype . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21 Managing user overestimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 Connecting AI to the Underlying Computer . . . . . . . . . . . . . . . . . . . . . .22 CHAPTER 2: Defining Data’s Role in AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Finding Data Ubiquitous in This Age . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Using data everywhere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27 Putting algorithms into action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28 Using Data Successfully . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 Considering the data sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30 Obtaining reliable data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31 Making human input more reliable . . . . . . . . . . . . . . . . . . . . . . . . . .31 Using automated data collection . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 Collecting data ethically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33 Manicuring the Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 Dealing with missing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35 Considering data misalignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . .36 Separating useful data from other data . . . . . . . . . . . . . . . . . . . . . . .37 Considering the Five Mistruths in Data . . . . . . . . . . . . . . . . . . . . . . . . . .37 Commission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 Omission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
vi Artificial Intelligence All-in-One For Dummies Perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 Bias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40 Frame of reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41 Defining the Limits of Data Acquisition . . . . . . . . . . . . . . . . . . . . . . . . . .41 Considering Data Security Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43 Understanding purposefully biased data . . . . . . . . . . . . . . . . . . . . .43 Dealing with data-source corruption . . . . . . . . . . . . . . . . . . . . . . . . .44 Handling botnets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45 CHAPTER 3: Considering the Use of Algorithms . . . . . . . . . . . . . . . . . . . 47 Understanding the Role of Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . .48 Examining what an algorithm does . . . . . . . . . . . . . . . . . . . . . . . . . .48 Planning and branching: Trees and nodes . . . . . . . . . . . . . . . . . . . .50 Extending the tree using graph nodes . . . . . . . . . . . . . . . . . . . . . . . .51 Traversing the graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52 Playing adversarial games . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54 Using local search and heuristics . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 Discovering the Learning Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58 Leveraging expert systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59 Introducing machine learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 Achieving new heights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62 CHAPTER 4: Pioneering Specialized Hardware . . . . . . . . . . . . . . . . . . . . . 65 Relying on Standard Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 Examining the standard hardware . . . . . . . . . . . . . . . . . . . . . . . . . . .66 Describing standard hardware deficiencies . . . . . . . . . . . . . . . . . . .66 Relying on new computational techniques . . . . . . . . . . . . . . . . . . . .67 Using GPUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68 Considering the von Neumann bottleneck . . . . . . . . . . . . . . . . . . . .69 Defining the GPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 Considering why GPUs work well . . . . . . . . . . . . . . . . . . . . . . . . . . . .71 Working with Deep Learning Processors (DLPs) . . . . . . . . . . . . . . . . . . .71 Defining the DLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72 Using the mobile neural processing unit (NPU) . . . . . . . . . . . . . . . .72 Accessing the cloud-based tensor processing unit (TPU) . . . . . . . .73 Creating a Specialized Processing Environment . . . . . . . . . . . . . . . . . . .74 Increasing Hardware Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 Advancing neuromorphic computing . . . . . . . . . . . . . . . . . . . . . . . . .75 Exploring quantum processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76 Adding Specialized Sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76 Integrating AI with Advanced Sensor Technology . . . . . . . . . . . . . . . . .77 Devising Methods to Interact with the Environment . . . . . . . . . . . . . . .78
Table of Contents vii CHAPTER 5: Parsing Machine Learning and Deep Learning . . . . . 81 Decoding Machine and Deep Learning . . . . . . . . . . . . . . . . . . . . . . . . . .81 Defining key concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 Thinking about neural networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82 Training and testing models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85 Demystifying Natural-Language Processing . . . . . . . . . . . . . . . . . . . . . .87 History of NLP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88 Overcoming the challenges of NLP . . . . . . . . . . . . . . . . . . . . . . . . . . .89 Understanding Transformers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91 Learning to pay attention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 Getting tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93 Illuminating Generative AI Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 Recognizing AI’s Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96 Language models are bad at math . . . . . . . . . . . . . . . . . . . . . . . . . . .96 Language models are wordy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97 AI has limited knowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98 AI lacks common sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98 AI has accuracy issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98 AI has the potential to be biased . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99 CHAPTER 6: Upholding Responsible AI Standards in GenAI Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Achieving Originality and Excellence in GenAI- Generated Content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 Strategies for ensuring originality in GenAI creations . . . . . . . . . .102 Maintaining quality standards in GenAI outputs . . . . . . . . . . . . . .105 Applying Journalism Ethics to GenAI-Generated Content . . . . . . . . . .106 Following basic journalistic principles . . . . . . . . . . . . . . . . . . . . . . .107 Adhering to truth and integrity in GenAI-assisted reporting . . . .108 Balancing speed with ethical considerations in GenAI content generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109 Joining the Responsible AI Movement . . . . . . . . . . . . . . . . . . . . . . . . . .110 Understanding the goals of the responsible AI movement . . . . .110 Contributing to ethical AI development and use . . . . . . . . . . . . . .111 Aligning with global efforts for responsible AI practices . . . . . . . .112 CHAPTER 7: Finding Job Security in an AI World . . . . . . . . . . . . . . . . . . 115 Identifying Tasks That AI Can’t Replace . . . . . . . . . . . . . . . . . . . . . . . . .115 Cultivating emotional intelligence and human interaction . . . . . .116 Sparking creative and strategic thinking . . . . . . . . . . . . . . . . . . . . .116 Engaging in jobs of the future . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Discovering new roles that use AI . . . . . . . . . . . . . . . . . . . . . . . . . . .119
viii Artificial Intelligence All-in-One For Dummies Upskilling for AI-Proof Jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 Translating Your Current Skills into AI-Proof Roles . . . . . . . . . . . . . . .121 Analyzing skills transferability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122 Understanding role evolution and adaptation . . . . . . . . . . . . . . . .123 Presenting the AI-resilient career journey . . . . . . . . . . . . . . . . . . . .124 Navigating Career Transitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 Adapting to new realities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125 Shifting professional landscapes . . . . . . . . . . . . . . . . . . . . . . . . . . . .126 Steering clear of pitfalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127 Becoming an Early Adopter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128 Adopting new technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .128 Utilizing AI for thought leadership . . . . . . . . . . . . . . . . . . . . . . . . . .129 Gaining a competitive advantage through innovation . . . . . . . . . .130 BOOK 2: PROMPTING AND GENERATIVE AI TECHNIQUES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 CHAPTER 1: Mapping the Lay of the Generative AI Land . . . . . . . 133 So, What Exactly Is Generative AI? . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133 Understanding parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134 How GenAI uses parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134 Unveiling the BIG Secret to Working Successfully with GenAI . . . . . .136 Understanding the Infamous Finger Problem and Other GenAI Quirks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139 Figuring Out How to Work with GenAI — It’s All About Your Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 Why GenAI appears so human . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140 Realizing the human influences behind generative AI’s abilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142 Discovering the Differences in GenAI Models and Options . . . . . . . .143 Checking Out Practical Uses of GenAI . . . . . . . . . . . . . . . . . . . . . . . . . .145 Separating Gen AI Fact from Fiction . . . . . . . . . . . . . . . . . . . . . . . . . . . .147 CHAPTER 2: Introducing the Art of Prompt Engineering . . . . . . . . 149 First Things First: What Is a Prompt? . . . . . . . . . . . . . . . . . . . . . . . . . . .149 Revealing the Secret Behind Successful Prompting . . . . . . . . . . . . . . .151 Discovering the secret sauce in prompt engineering . . . . . . . . . . .151 Understanding how prompts guide GenAI responses . . . . . . . . . .152 Crafting Effective Prompts for Diverse AI Applications . . . . . . . . . . . .154 Tips and Tricks for Optimizing Your Prompts . . . . . . . . . . . . . . . . . . . .156 Using Prompts to Provide Supplemental Data for the Model . . . . . .157 Avoiding Common Prompting Pitfalls . . . . . . . . . . . . . . . . . . . . . . . . . .158
Table of Contents ix CHAPTER 3: Navigating the Evolving Landscape of GenAI . . . . . . 161 Identifying Key Players and Evaluating GenAI Providers . . . . . . . . . . .162 Who’s who in the GenAI market . . . . . . . . . . . . . . . . . . . . . . . . . . . .162 Assessing GenAI services and solutions . . . . . . . . . . . . . . . . . . . . . .166 Getting GenAI that Plays Nice with Other Technologies . . . . . . . . . . .167 Integrating ChatGPT with other software . . . . . . . . . . . . . . . . . . . .167 Bringing in autonomous AI agents . . . . . . . . . . . . . . . . . . . . . . . . . .169 Keeping Up with the Pace of GenAI Advancements . . . . . . . . . . . . . . .170 Staying informed on GenAI trends . . . . . . . . . . . . . . . . . . . . . . . . . .170 Preparing for the future of generative AI . . . . . . . . . . . . . . . . . . . . .172 CHAPTER 4: Introducing ChatGPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Comparing Different Account Versions of ChatGPT . . . . . . . . . . . . . . .176 Setting Up an Individual Account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .176 Touring the User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178 Selecting a GPT Model on the ChatGPT UI . . . . . . . . . . . . . . . . . . . . . . .182 Model options in the drop-down menu . . . . . . . . . . . . . . . . . . . . . .182 The GPT’s latest release . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183 Considering GPT Minis in the GPT Store on the ChatGPT UI . . . . . . .184 Rendering ChatGPT Outputs to Final Forms . . . . . . . . . . . . . . . . . . . . .185 CHAPTER 5: Getting Started with Microsoft Copilot . . . . . . . . . . . . . 189 Defining Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189 Overview of Microsoft Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 Understanding how Copilot works . . . . . . . . . . . . . . . . . . . . . . . . . .193 Integration with Microsoft 365 apps . . . . . . . . . . . . . . . . . . . . . . . . .194 Signing Up for Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 Installing Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 Eligibility criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 Subscription plans and pricing . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 Step-by-step sign-up process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .198 Taking Copilot for a Test Flight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201 Understanding why mine looks different . . . . . . . . . . . . . . . . . . . .201 Prompting and interacting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201 CHAPTER 6: Learning Advanced Prompting . . . . . . . . . . . . . . . . . . . . . . . 203 Starting at the End: Defining Desired Outputs before Prompting . . .203 Managing Data for Targeted Impact on Outputs . . . . . . . . . . . . . . . . .205 Adding Data to Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207 Using image inputs in ChatGPT prompts . . . . . . . . . . . . . . . . . . . . .208 Adding information to memory in ChatGPT . . . . . . . . . . . . . . . . . .214 Manipulating memory in ChatGPT . . . . . . . . . . . . . . . . . . . . . . . . . .216 Changing the Model’s Temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . .220 Changing the Model’s Weights . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .220
x Artificial Intelligence All-in-One For Dummies BOOK 3: INCREASING PRODUCTIVITY WITH AI . . . . . . . . . . . . 223 CHAPTER 1: Applying GenAI in Practical Scenarios . . . . . . . . . . . . . . 225 GenAI as Writing Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225 Using GenAI to generate ideas . . . . . . . . . . . . . . . . . . . . . . . . . . . . .226 Drafting content with the help of GenAI . . . . . . . . . . . . . . . . . . . . .227 Sprucing up your writing with GenAI . . . . . . . . . . . . . . . . . . . . . . . .230 Getting a Visual Assist from GenAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . .231 GenAI in graphic design and visual arts . . . . . . . . . . . . . . . . . . . . . .232 Generating visual content with AI tools . . . . . . . . . . . . . . . . . . . . . .232 Harnessing GenAI for even more visual creativity . . . . . . . . . . . . .234 Problem-Solving with AI in Creative Projects . . . . . . . . . . . . . . . . . . . . .234 CHAPTER 2: Crunching the Numbers with Copilot . . . . . . . . . . . . . . . 237 Launching Copilot in Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .238 Working with Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .239 Understanding the two kinds of data . . . . . . . . . . . . . . . . . . . . . . . .239 Finding free data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240 Preparing the Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241 Converting the data to a table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241 Adding context to the headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .242 Formatting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .245 Changing data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .246 Sorting data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .247 Cleaning data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .248 Automating Data Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .250 Using Copilot for automated insights . . . . . . . . . . . . . . . . . . . . . . . .250 Asking for a specific analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .252 Creating Formulas with Copilot’s Assistance . . . . . . . . . . . . . . . . . . . . .253 Formula creation and troubleshooting . . . . . . . . . . . . . . . . . . . . . .254 Advanced formula techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256 Visualizing Data with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256 Opening and cleaning data in Excel . . . . . . . . . . . . . . . . . . . . . . . . .257 Creating charts and graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .258 Customizing charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260 Considering Copilot’s Limitations in Excel . . . . . . . . . . . . . . . . . . . . . . .261 CHAPTER 3: Presenting with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Interacting with Copilot in PowerPoint . . . . . . . . . . . . . . . . . . . . . . . . . .263 Using Copilot’s built-in PowerPoint actions . . . . . . . . . . . . . . . . . . .264 Defining and refining your topic . . . . . . . . . . . . . . . . . . . . . . . . . . . .265 Personalizing the idea . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267 Evaluating the generated presentation . . . . . . . . . . . . . . . . . . . . . .268 Evaluating the generated content . . . . . . . . . . . . . . . . . . . . . . . . . . .269
Table of Contents xi Evaluating the generated design . . . . . . . . . . . . . . . . . . . . . . . . . . . .269 Evaluating the use of images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .270 Designing Slides with Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .271 Redesigning Slides with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .272 Sticking to the Built-in Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .273 Enhancing visual appeal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .274 Prompting for images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .274 Organizing a Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .277 Practicing Your Presentation with Copilot Feedback . . . . . . . . . . . . . .277 CHAPTER 4: Meeting and Collaborating with Copilot . . . . . . . . . . . 281 Using Copilot in Microsoft Teams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282 Preparing for and setting up meetings . . . . . . . . . . . . . . . . . . . . . .283 Getting real-time meeting assistance . . . . . . . . . . . . . . . . . . . . . . . .286 Accessing post-meeting summaries . . . . . . . . . . . . . . . . . . . . . . . . .288 Understanding the Limitations of Copilot in Teams . . . . . . . . . . . . . . .290 CHAPTER 5: Working with AI in a Roundup of Business Disciplines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Using GenAI for Marketing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293 Creating general to detailed content . . . . . . . . . . . . . . . . . . . . . . . .294 Analyzing customer data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .294 Retrieving Smart Answers for HR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295 Harnessing GenAI in Legal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .297 Drafting and editing a routine legal document . . . . . . . . . . . . . . . .298 Researching for legal precedents and statutes . . . . . . . . . . . . . . . .301 Drafting client responses or legal arguments . . . . . . . . . . . . . . . . .301 Monitoring your GenAI use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302 Storytelling in Journalism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302 Exploring politics and current issues . . . . . . . . . . . . . . . . . . . . . . . .303 Prompting AI for facts, figures, and summaries . . . . . . . . . . . . . . .303 Organizing notes and pitching a story . . . . . . . . . . . . . . . . . . . . . . .304 Preparing interview questions, translating, and promoting . . . . .306 Checking your GenAI history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307 Consulting GenAI in Healthcare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307 Identifying successful healthcare use cases . . . . . . . . . . . . . . . . . .307 Exploring other GenAI applications in healthcare . . . . . . . . . . . . .309 Cashing In on GenAI in Finance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .310 Using GenAI in IT Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .312 Examining New Businesses Based on GenAI . . . . . . . . . . . . . . . . . . . .313
xii Artificial Intelligence All-in-One For Dummies CHAPTER 6: Managing AI Adoption and Change in Your Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 Leading AI Adoption and Change Management Efforts . . . . . . . . . . .317 Identifying key stakeholders and champions for AI adoption . . .318 Communicating the benefits of AI adoption . . . . . . . . . . . . . . . . . .319 Aligning AI adoption with organizational culture . . . . . . . . . . . . . .319 Creating a roadmap for AI adoption . . . . . . . . . . . . . . . . . . . . . . . . .320 Understanding Different Models for Change and Transition . . . . . . .322 Using the ADKAR model for change management . . . . . . . . . . . . .322 William Bridges’ model for change and transition . . . . . . . . . . . . .326 Introducing the DIRECT model for project leadership . . . . . . . . . .326 Overcoming Resistance to AI Adoption . . . . . . . . . . . . . . . . . . . . . . . . .327 Understanding the root causes of resistance . . . . . . . . . . . . . . . . .328 Addressing fears about job displacement . . . . . . . . . . . . . . . . . . . .328 Building trust through transparency . . . . . . . . . . . . . . . . . . . . . . . .329 Involving employees in the AI adoption process . . . . . . . . . . . . . .329 Providing support and resources for the transition . . . . . . . . . . . .330 Celebrating success stories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .331 BOOK 4: CREATING CONTENT WITH AI . . . . . . . . . . . . . . . . . . . . . 333 CHAPTER 1: Using AI for Ideation and Planning . . . . . . . . . . . . . . . . . . 335 Engaging AI to Ideate on Behalf of Human Beings . . . . . . . . . . . . . . . .336 Deciding Whether AI Hallucinations Are a Feature or a Bug . . . . . . . .339 Bringing in unexpected ideas and concepts . . . . . . . . . . . . . . . . . .340 Branching out with non-traditional storytelling . . . . . . . . . . . . . . .340 Facilitating testing and experimentation . . . . . . . . . . . . . . . . . . . . .341 Staying the course with generative AI . . . . . . . . . . . . . . . . . . . . . . .342 Following Practical Steps for Idea Generation with AI . . . . . . . . . . . . .342 Starting with the right prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342 Stepping through an AI-for-ideation exercise . . . . . . . . . . . . . . . . .343 Deciding on AI Ideation Tools to Use . . . . . . . . . . . . . . . . . . . . . . . . . . .345 CHAPTER 2: Managing and Writing Emails with AI . . . . . . . . . . . . . . . 349 Using AI as Your Assistant for Writing Emails . . . . . . . . . . . . . . . . . . . .350 Generating Precise Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .352 Emailing with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .352 Summarizing with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353 Summarizing email threads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353 Summarizing long emails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355 Composing Emails with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356 Drafting emails with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356 Reply suggestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .359
Table of Contents xiii Email coaching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .359 Meeting management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361 Using GenAI for Email with Discernment . . . . . . . . . . . . . . . . . . . . . . . .362 CHAPTER 3: Developing Creative Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . 363 Trying Out an AI-Generated Where’s Waldo? Illustration . . . . . . . . . .364 Exploring an Approach for Creating Visual Assets with AI . . . . . . . . .365 Minding the integrity of your customers, data, and teams . . . . . .369 Examining an example scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . .370 Enhancing Existing Creative Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . .371 Enhancing and restoring images . . . . . . . . . . . . . . . . . . . . . . . . . . . .371 Enhancing and clarifying audio . . . . . . . . . . . . . . . . . . . . . . . . . . . . .371 Analyzing and editing video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .372 Adding and modifying content . . . . . . . . . . . . . . . . . . . . . . . . . . . . .372 Fine-Tuning Creativity with AI Tools and Techniques . . . . . . . . . . . . . .373 Crafting descriptions for image creation . . . . . . . . . . . . . . . . . . . . .374 Automating creative production . . . . . . . . . . . . . . . . . . . . . . . . . . . .375 Tips and tricks for producing attention-grabbing creative assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .377 Choosing AI Tools for Creating Visual Assets . . . . . . . . . . . . . . . . . . . .379 CHAPTER 4: Producing Long-Form Content . . . . . . . . . . . . . . . . . . . . . . . 381 Writing Academic Papers with GenAI Assistance . . . . . . . . . . . . . . . . .382 Using GenAI for research and academic writing . . . . . . . . . . . . . . .382 Supporting the academic publication process . . . . . . . . . . . . . . . .387 Developing White Papers and Reports Using Generative AI . . . . . . . .388 Crafting professional documents with AI support . . . . . . . . . . . . .389 Enhancing business communication with AI . . . . . . . . . . . . . . . . . .390 Crafting Research Designs and Outlines with GenAI . . . . . . . . . . . . . .391 Structuring research projects with AI . . . . . . . . . . . . . . . . . . . . . . . .392 From concept to outline: GenAI as a planning tool . . . . . . . . . . . .393 Integrating Citations and References . . . . . . . . . . . . . . . . . . . . . . . . . . .394 GenAI-assisted reference management . . . . . . . . . . . . . . . . . . . . . .395 Ensuring academic integrity with GenAI . . . . . . . . . . . . . . . . . . . . .395 Producing Long-Form Articles with GenAI . . . . . . . . . . . . . . . . . . . . . . .396 Techniques for GenAI-enhanced feature writing . . . . . . . . . . . . . .397 Maintaining depth and quality in GenAI-assisted articles . . . . . . .398 Writing Books with GenAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399 CHAPTER 5: Search Engine Optimization (SEO) in the AI Era . . . 403 Describing Search Generative Experiences (SGEs) . . . . . . . . . . . . . . . .404 Enhanced interpretation of queries . . . . . . . . . . . . . . . . . . . . . . . . .405 Personalized search results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .405 Strategies for SEO Success in the AI Era . . . . . . . . . . . . . . . . . . . . . . . . .406
xiv Artificial Intelligence All-in-One For Dummies Enhancing the User Experience with AI . . . . . . . . . . . . . . . . . . . . . . . . .409 Maximizing Your SEO Efforts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .411 Streamlining keyword and metadata research . . . . . . . . . . . . . . . .411 Automating content optimization . . . . . . . . . . . . . . . . . . . . . . . . . . .413 Building SEO links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .414 Harnessing predictive SEO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .415 Knowing the AI Tools to Use with SEO . . . . . . . . . . . . . . . . . . . . . . . . . .416 CHAPTER 6: Fine-Tuning Content with Localization and Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419 Exploiting AI for Localization and Translation . . . . . . . . . . . . . . . . . . . .420 Capturing cultural context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .420 Harnessing multilingual large language models . . . . . . . . . . . . . . .421 Applying AI’s capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .423 Checking out AI tools you can use . . . . . . . . . . . . . . . . . . . . . . . . . .424 Adopting Core Strategies for Localization . . . . . . . . . . . . . . . . . . . . . . .426 Leveraging machine learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .426 Adopting AI-driven cultural adaptation tools . . . . . . . . . . . . . . . . .427 Enhancing personalization and localization efficiency . . . . . . . . . .428 Controlling quality when using AI . . . . . . . . . . . . . . . . . . . . . . . . . . .428 Examining Real-Time Localization and Translation Solutions . . . . . . .429 Seeing how real-time solutions work . . . . . . . . . . . . . . . . . . . . . . . .430 Recognizing the benefits of real-time solutions . . . . . . . . . . . . . . .431 Applying real-time solutions in marketing . . . . . . . . . . . . . . . . . . . .431 BOOK 5: AI AT HOME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433 CHAPTER 1: Relying on AI to Improve Human Interaction . . . . . 435 Developing New Ways to Communicate . . . . . . . . . . . . . . . . . . . . . . . .436 Creating new alphabets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .437 Working with emojis and other meaningful graphics . . . . . . . . . .437 Automating language translation . . . . . . . . . . . . . . . . . . . . . . . . . . .438 Incorporating body language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .439 Exchanging Ideas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440 Creating connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440 Augmenting communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440 Defining trends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .441 Using Multimedia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .441 Embellishing Human Sensory Perception . . . . . . . . . . . . . . . . . . . . . . .442 Shifting data spectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .443 Augmenting human senses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .443
Table of Contents xv CHAPTER 2: Using AI to Address Medical Needs . . . . . . . . . . . . . . . . . . 445 Implementing Portable Patient Monitoring . . . . . . . . . . . . . . . . . . . . . .446 Wearing helpful monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446 Relying on critical wearable monitors . . . . . . . . . . . . . . . . . . . . . . .447 Using movable monitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .448 Making Humans More Capable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .449 Using games for therapy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .449 Considering the use of exoskeletons . . . . . . . . . . . . . . . . . . . . . . . .451 Addressing Special Needs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .452 Considering the software-based solutions . . . . . . . . . . . . . . . . . . .453 Relying on hardware augmentation . . . . . . . . . . . . . . . . . . . . . . . . .453 Completing Analysis in New Ways . . . . . . . . . . . . . . . . . . . . . . . . . . . . .454 Relying on Telepresence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455 Defining telepresence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455 Considering examples of telepresence . . . . . . . . . . . . . . . . . . . . . .456 Understanding telepresence limitations . . . . . . . . . . . . . . . . . . . . .456 Devising New Surgical Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . .457 Making surgical suggestions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .457 Assisting a surgeon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .458 Replacing the surgeon with monitoring . . . . . . . . . . . . . . . . . . . . . .459 Performing Tasks Using Automation . . . . . . . . . . . . . . . . . . . . . . . . . . .459 Working with medical records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460 Predicting the future . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460 Making procedures safer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461 Creating better medications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461 Combining Robots and Medical Professionals . . . . . . . . . . . . . . . . . . .462 Considering Disruptions That AI Causes for Medical Professionals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .462 CHAPTER 3: Leveraging AI in Education . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465 Using AI Is Here to Stay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .466 Avoiding false accusations of cheating . . . . . . . . . . . . . . . . . . . . . . .466 Accepting the role of AI at school and work . . . . . . . . . . . . . . . . . .467 Changing the Structure of Education . . . . . . . . . . . . . . . . . . . . . . . . . . .467 Using AI in tutoring, testing, and updating curriculum . . . . . . . . .468 Preparing for shifts in educator roles . . . . . . . . . . . . . . . . . . . . . . . .468 Flipping the Teaching Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .470 Leveraging GenAI to Aid Overworked Educators . . . . . . . . . . . . . . . . . . . . 472 Getting help with grading assignments . . . . . . . . . . . . . . . . . . . . . .472 Exploiting AI for efficient mentoring . . . . . . . . . . . . . . . . . . . . . . . . .473 Adapting lessons and admin tasks . . . . . . . . . . . . . . . . . . . . . . . . . .473 Changing How Subjects Are Taught . . . . . . . . . . . . . . . . . . . . . . . . . . . .474 Providing safer spaces for learning . . . . . . . . . . . . . . . . . . . . . . . . .474 Learning collaboratively . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .475
xvi Artificial Intelligence All-in-One For Dummies Supporting Special Education Needs . . . . . . . . . . . . . . . . . . . . . . . . . . .476 Delivering Data-Driven Insights for Educators . . . . . . . . . . . . . . . . . . .477 Using GenAI tools for efficiency . . . . . . . . . . . . . . . . . . . . . . . . . . . .477 Questionable student progress tracking . . . . . . . . . . . . . . . . . . . . .478 Banning GenAI Stifles Education . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .478 Adopting a nuanced approach to AI . . . . . . . . . . . . . . . . . . . . . . . . .479 Preparing students for the future . . . . . . . . . . . . . . . . . . . . . . . . . . .479 CHAPTER 4: Using GenAI in the Real World . . . . . . . . . . . . . . . . . . . . . . . 481 Dying Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482 Diminishing website traffic fallout . . . . . . . . . . . . . . . . . . . . . . . . . .482 Evolving SEO tactics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .483 Over-relying on AI-curated information . . . . . . . . . . . . . . . . . . . . . .483 Moving from Information Search to Knowledge Assistants . . . . . . . .484 Finding new purposes for knowledge assistants . . . . . . . . . . . . . .484 Noting the pros and cons of knowledge assistants . . . . . . . . . . . .485 Living with Misinformation and Manipulation . . . . . . . . . . . . . . . . . . .485 Narrowing Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .487 Recognizing the limitations of GenAI info . . . . . . . . . . . . . . . . . . . .487 Looking only for confirmation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .487 Exploiting varied information sources . . . . . . . . . . . . . . . . . . . . . . .488 Your Brain on GenAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .488 Effects of GenAI on thinking skills . . . . . . . . . . . . . . . . . . . . . . . . . . .489 Effects of AI tools on interpersonal skills . . . . . . . . . . . . . . . . . . . . .489 Protecting yourself from GenAI fallout . . . . . . . . . . . . . . . . . . . . . . .490 CHAPTER 5: Financial Planning and Other Money Matters . . . . 491 Walking through the Stages of Financial Planning . . . . . . . . . . . . . . . .492 Getting a Handle on Budgeting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .496 Spotlighting College Expenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .499 CHAPTER 6: Retirement and Estate Planning . . . . . . . . . . . . . . . . . . . . . 501 Digging into Retirement Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .501 Your starting point: A personal balance sheet . . . . . . . . . . . . . . . .502 The “5–10 approach” and a reality check . . . . . . . . . . . . . . . . . . . . .504 A helpful checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .506 Even more AI retirement planning prompts . . . . . . . . . . . . . . . . . .509 Thinking about Estate Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .511 Defining “estate planning” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .511 Beginning the estate planning process . . . . . . . . . . . . . . . . . . . . . .513
Table of Contents xvii BOOK 6: APPLYING AI IN CODING . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 CHAPTER 1: How Coding Benefits from AI . . . . . . . . . . . . . . . . . . . . . . . . . 519 Banishing Boring Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .519 Spotting boring tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .520 Letting AI write the template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .520 Crafting CRUD with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .523 Helping with Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .529 Stop remembering trivial details . . . . . . . . . . . . . . . . . . . . . . . . . . . .530 Hinting at code mastery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .530 Adapting to new syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .532 Linting with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .534 Detecting bad code with static code analysis . . . . . . . . . . . . . . . . .534 Integrating AI with static code analysis . . . . . . . . . . . . . . . . . . . . . .535 Using AI as a Tutor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .536 Studying AI’s potential in education . . . . . . . . . . . . . . . . . . . . . . . . .536 Avoiding potential pitfalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .536 Pairing Up with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .537 Overview of pair programming styles . . . . . . . . . . . . . . . . . . . . . . .537 Understanding the pros and cons of pair programming with AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .537 AI pair programming session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .538 CHAPTER 2: AI Coding Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547 Navigating GitHub Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .547 Installing the Copilot plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .548 Working efficiently with Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . .549 Using keyboard shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .554 Exploring Tabnine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .555 Installing Tabnine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .556 Setting up Tabnine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .557 Understanding Tabnine’s AI-driven code completion . . . . . . . . . .558 Reviewing Replit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .559 Starting a website with Replit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .561 Exploring the Replit workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . .562 Pairing up with Replit AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565 CHAPTER 3: Coding with Chatbots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571 Improving Your Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .571 Adjusting the temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .572 Deciphering the elements of a prompt . . . . . . . . . . . . . . . . . . . . . .574 Open-ended versus closed-ended prompts . . . . . . . . . . . . . . . . . .575 Using different types of prompts . . . . . . . . . . . . . . . . . . . . . . . . . . .575 Prompting like a pro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .578
xviii Artificial Intelligence All-in-One For Dummies Chatting with Github Copilot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579 Understanding slash commands . . . . . . . . . . . . . . . . . . . . . . . . . . .579 Knowing Copilot’s agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .580 Getting the most out of Copilot Chat . . . . . . . . . . . . . . . . . . . . . . . .580 Chatting with ChatGPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .582 Signing up and setting up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .583 Setting custom instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .584 Diving into the OpenAI Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .588 Checking your credits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .589 Messing around in the Playground . . . . . . . . . . . . . . . . . . . . . . . . . .590 Running examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .591 Playing the roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592 Adjusting the model’s settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592 Getting an API key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .594 Developing a Chatbot with OpenAI . . . . . . . . . . . . . . . . . . . . . . . . . . . . .595 CHAPTER 4: Progressing from Plan to Prototype . . . . . . . . . . . . . . . . . 601 Understanding Project Requirements . . . . . . . . . . . . . . . . . . . . . . . . . .601 Determining the software requirements . . . . . . . . . . . . . . . . . . . . .602 Domain requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .602 Functional requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .603 Non-functional requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .604 Writing an SRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .605 Generating Code from an SRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .608 Using a zero-shot approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .608 Breaking down the problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .610 Blending Manually Written and AI-Generated Code . . . . . . . . . . . . . .611 Writing the prompt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .611 Writing the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .612 Submitting follow-up prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .615 Testing the server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .615 Implementing few-shot prompting on the server . . . . . . . . . . . . .617 Improving the client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .621 Moving logic from AI to the client . . . . . . . . . . . . . . . . . . . . . . . . . . .624 Tips and Tricks for Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . .627 Don’t stop coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .627 Be specific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .627 Think in steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .627 Ask follow-up questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .628 Check the official documentation . . . . . . . . . . . . . . . . . . . . . . . . . . .628 Use examples and context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .628 Prioritize security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .628 Keep learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .628 Keep your tools updated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .629 Be mindful of AI’s limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .629
The above is a preview of the first 20 pages. Register to read the complete e-book.