Build safe, reliable, production-ready AI applications that you can trust. This four-chapter ebook gives you a practical look at the risks that can undermine an AI application as well as the methods used to address them. Examine how systems are exploited through adversarial attacks, evaluate hallucinations with structured detection techniques, learn how to use guardrails to control the flow of information and actions, and see what it takes to deploy and operate an LLM service. By following this curated learning path, you’ll build a stronger foundation for testing AI behavior, making informed design choices, and taking on more advanced work in AI safety, evaluation, agent design, and production engineering.
Introduction to Generative AI, Second Edition is a completely revised and updated guide to the capabilities, risks, and limitations of generative AI. You’ll understand the latest innovations in AI, AI agents, multimodal training, reasoning models, retrieval-augmented generation (RAG), and more. Along the way, you’ll explore how AI is impacting the world, with an expert-level look at AI in industry, education, and society.
Introduction to Generative AI guides you through benefits, risks, and limitations of Generative AI technology. You’ll discover how AI models learn and think, explore best practices for creating text and graphics, and consider the impact of AI on society, the economy, and the law. Along the way, you’ll practice strategies for getting accurate responses and even understand how to handle misuse and security threats.