Listen and read

Step into an infinite world of stories

  • Listen and read as much as you want
  • Over 400 000+ titles
  • Bestsellers in 10+ Indian languages
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Subscribe now
Details page - Device banner - 894x1036
Cover for Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs

Prompt Engineering for Generative AI: Future-Proof Inputs for Reliable AI Outputs

Duration
11H 6min
Language
English
Format
Category

Non-Fiction

Large language models (LLMs) and diffusion models such as ChatGPT and Stable Diffusion have unprecedented potential. Because they have been trained on all the public text and images on the internet, they can make useful contributions to a wide variety of tasks. And with the barrier to entry greatly reduced today, practically any developer can harness LLMs and diffusion models to tackle problems previously unsuitable for automation.

With this book, you'll gain a solid foundation in generative AI, including how to apply these models in practice. When first integrating LLMs and diffusion models into their workflows, most developers struggle to coax reliable enough results from them to use in automated systems. Authors James Phoenix and Mike Taylor show you how a set of principles called prompt engineering can enable you to work effectively with AI.

This book explains the structure of the interaction chain of your program's AI model and the fine-grained steps in between; how AI model requests arise from transforming the application problem into a document completion problem in the model training domain; the influence of LLM and diffusion model architecture—and how to best interact with it; and how these principles apply in practice in the domains of natural language processing, text and image generation, and code.

© 2025 Ascent Audio (Audiobook): 9781663753083

Release date

Audiobook: 20 May 2025

Others also enjoyed ...

  1. AI and Machine Learning for On-Device Development: A Programmer's Guide, 1st Edition
    AI and Machine Learning for On-Device Development: A Programmer's Guide, 1st Edition Laurence Moroney
  2. Economics in Plain English: 300+ Essential Economic Terms You Need to Know
    Economics in Plain English: 300+ Essential Economic Terms You Need to Know David A Mayer
  3. Security Chaos Engineering: Sustaining Resilience in Software and Systems
    Security Chaos Engineering: Sustaining Resilience in Software and Systems Aaron Rinehart
  4. AI for beginners: Begin your AI developer journey in 2024
    AI for beginners: Begin your AI developer journey in 2024 Et Tu Code
  5. ChatGPT And The Future of AI: The Deep Language Revolution
    ChatGPT And The Future of AI: The Deep Language Revolution Terrence J. Sejnowski
  6. The Kaggle Book: Data analysis and machine learning for competitive data science
    The Kaggle Book: Data analysis and machine learning for competitive data science Luca Massaron
  7. Rethinking Work: Seismic Changes in the Where, When, and Why
    Rethinking Work: Seismic Changes in the Where, When, and Why Rishad Tobaccowala
  8. Machine Learning, Deep Learning & Generative AI: Understanding the Complete Modern AI in 2024: ML, DL & Gen AI
    Machine Learning, Deep Learning & Generative AI: Understanding the Complete Modern AI in 2024: ML, DL & Gen AI Et Tu Code
  9. Algorithms: Discover The Computer Science and Artificial Intelligence Used to Solve Everyday Human Problems, Optimize Habits, Learn Anything and Organize Your Life
    Algorithms: Discover The Computer Science and Artificial Intelligence Used to Solve Everyday Human Problems, Optimize Habits, Learn Anything and Organize Your Life Trust Genics
  10. Electronics All-in-One For Dummies, 3rd Edition
    Electronics All-in-One For Dummies, 3rd Edition Doug Lowe
  11. AI Value Creators: Beyond the Generative AI User Mindset
    AI Value Creators: Beyond the Generative AI User Mindset Rob Thomas
  12. Machine Learning Interviews: Kickstart Your Machine Learning and Data Career
    Machine Learning Interviews: Kickstart Your Machine Learning and Data Career Susan Shu Chang
  13. LangGraph: A comprehensive guide to building LLM agent-based AI systems with LangGraph
    LangGraph: A comprehensive guide to building LLM agent-based AI systems with LangGraph Et Tu Code
  14. Machine Learning: Artificial Intelligence and Deep Learning in a Big Data Driven Society
    Machine Learning: Artificial Intelligence and Deep Learning in a Big Data Driven Society David Feldspar
  15. Learning SQL: Generate, Manipulate, and Retrieve Data, 3rd Edition
    Learning SQL: Generate, Manipulate, and Retrieve Data, 3rd Edition Alan Beaulieu
  16. Site Reliability Engineering: How Google Runs Production Systems
    Site Reliability Engineering: How Google Runs Production Systems Chris Jones
  17. The Autonomous Revolution: Reclaiming the Future We’ve Sold to Machines: Reclaiming the Future We've Sold to Machines
    The Autonomous Revolution: Reclaiming the Future We’ve Sold to Machines: Reclaiming the Future We've Sold to Machines William H. Davidow
  18. Accounting For Dummies, 7th Edition
    Accounting For Dummies, 7th Edition John A. Tracy
  19. Python Machine Learning: Complete and Clear Introduction to the Basics of Machine Learning with Python. Comprehensive Guide to Data Science and Analytics.
    Python Machine Learning: Complete and Clear Introduction to the Basics of Machine Learning with Python. Comprehensive Guide to Data Science and Analytics. Alex Campbell
  20. Docker Essentials: Simplifying containerization : A Beginner's Guide
    Docker Essentials: Simplifying containerization : A Beginner's Guide Mike Wilson
  21. Solutions Architect's Handbook: Kick-start your career as a solutions architect by learning architecture design principles and strategies
    Solutions Architect's Handbook: Kick-start your career as a solutions architect by learning architecture design principles and strategies Saurabh Shrivastava
  22. Inspired INC.: Become a Company the World Will Get Behind
    Inspired INC.: Become a Company the World Will Get Behind Nicole Howson
  23. Gold, Oil and Avocados: A Recent History of Latin America in Sixteen Commodities
    Gold, Oil and Avocados: A Recent History of Latin America in Sixteen Commodities Andy Robinson
  24. Being Online: On Computing, Data, the Internet, and the Cloud
    Being Online: On Computing, Data, the Internet, and the Cloud Jian Wang
  25. DeFi For Dummies
    DeFi For Dummies Seoyoung Kim
  26. Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith
    Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith Sam Newman
  27. Generative Deep Learning: Teaching Machines To Paint, Write, Compose, and Play (2nd Edition)
    Generative Deep Learning: Teaching Machines To Paint, Write, Compose, and Play (2nd Edition) David Foster
  28. The AI Conundrum: Harnessing the Power of AI for Your Organization--Profitably and Safely
    The AI Conundrum: Harnessing the Power of AI for Your Organization--Profitably and Safely Cales Briggs
  29. Wordcraft: The Complete Guide to Clear, Powerful Writing
    Wordcraft: The Complete Guide to Clear, Powerful Writing Jack Hart
  30. Deep Learning for Finance: Creating Machine & Deep Learning Models for Trading in Python
    Deep Learning for Finance: Creating Machine & Deep Learning Models for Trading in Python Sofien Kaabar
  31. The Scientific American Healthy Aging Brain: The Neuroscience of Making the Most of Your Mature Mind
    The Scientific American Healthy Aging Brain: The Neuroscience of Making the Most of Your Mature Mind Scientific American
  32. Software Architectures for Beginners: Navigating the Building Blocks of Modern Software Design
    Software Architectures for Beginners: Navigating the Building Blocks of Modern Software Design Steve Abrams
  33. Zero-Sum Game: The Rise of the World's Largest Derivatives Exchange
    Zero-Sum Game: The Rise of the World's Largest Derivatives Exchange Erika S. Olson
  34. Big Tech and the Digital Economy: The Moligopoly Scenario
    Big Tech and the Digital Economy: The Moligopoly Scenario Nicolas Petit
  35. Learning Systems Thinking: Essential Non-Linear Skills and Practices for Software Professionals
    Learning Systems Thinking: Essential Non-Linear Skills and Practices for Software Professionals Diana Montalion
  36. Hacking For Dummies, 7th Edition
    Hacking For Dummies, 7th Edition Kevin Beaver, CISSP
  37. Artificial Intelligence Basics: A Non-Technical Introduction
    Artificial Intelligence Basics: A Non-Technical Introduction Tom Taulli
  38. Python Essentials For Dummies
    Python Essentials For Dummies Alan Simpson
  39. Python Machine Learning for Beginners: All You Need to Know about Machine Learning with Python
    Python Machine Learning for Beginners: All You Need to Know about Machine Learning with Python Alex Campbell
  40. Data Science for Beginners: Comprehensive Guide to Most Important Basics in Data Science
    Data Science for Beginners: Comprehensive Guide to Most Important Basics in Data Science Alex Campbell
  41. Seeing the Unseen: Behind Chinese Tech Giants' Global Venturing
    Seeing the Unseen: Behind Chinese Tech Giants' Global Venturing Guoli Chen
  42. Data Visualization: Ultimate Guide to Data Mining and Visualization.
    Data Visualization: Ultimate Guide to Data Mining and Visualization. Alex Campbell
  43. The Science of Genius
    The Science of Genius Scientific American
  44. Cybersecurity All-in-One For Dummies
    Cybersecurity All-in-One For Dummies Joseph Steinberg
  45. The Challenge Culture: Why the Most Successful Organizations Run on Pushback
    The Challenge Culture: Why the Most Successful Organizations Run on Pushback Nigel Travis
  46. The Burnout Challenge: Managing People’s Relationships with Their Jobs
    The Burnout Challenge: Managing People’s Relationships with Their Jobs Michael P. Leiter
  47. Software Architecture for Developers: Designing Scalable and Maintainable Systems for the Real World
    Software Architecture for Developers: Designing Scalable and Maintainable Systems for the Real World Steve Abrams
  48. Penny Stocks For Dummies
    Penny Stocks For Dummies Peter Leeds
  49. Push Play: Gaming For a Better World
    Push Play: Gaming For a Better World SONGYEE YOON
  50. Metaverse For Dummies
    Metaverse For Dummies Ian Khan
  51. Deep Learning: Machine Learning and Data Analytics Explained
    Deep Learning: Machine Learning and Data Analytics Explained David Feldspar
  52. Honest Answers: Interview and Negotiation Skills to Get to the Truth
    Honest Answers: Interview and Negotiation Skills to Get to the Truth Lena Sisco
  53. Machines of Loving Grace: The Quest for Common Ground Between Humans and Robots
    Machines of Loving Grace: The Quest for Common Ground Between Humans and Robots John Markoff
  54. The CISO Evolution: Business Knowledge for Cybersecurity Executives
    The CISO Evolution: Business Knowledge for Cybersecurity Executives Kyriakos Lambros
  55. Generative AI in Practice: 100+ Amazing Ways Generative Artificial Intelligence Is Changing Business And Society
    Generative AI in Practice: 100+ Amazing Ways Generative Artificial Intelligence Is Changing Business And Society Bernard Marr
  56. The Real Business of IT: How CIOs Create and Communicate Value
    The Real Business of IT: How CIOs Create and Communicate Value George Westerman
  57. The Brain-Based Classroom: Accessing Every Child's Potential Through Educational Neuroscience
    The Brain-Based Classroom: Accessing Every Child's Potential Through Educational Neuroscience Kieran O'Mahony
  58. Leading Effective Engineering Teams: Lessons for Individual Contributors and Managers from 10 Years at Google
    Leading Effective Engineering Teams: Lessons for Individual Contributors and Managers from 10 Years at Google Addy Osmani
  59. Machine Learning for Beginners: An Introduction to Artificial Intelligence and Machine Learning
    Machine Learning for Beginners: An Introduction to Artificial Intelligence and Machine Learning John Slavio
  60. Applied Psychology
    Applied Psychology Warren Hilton
  61. The 7 Most Important Equations for Your Retirement: The Fascinating People and Ideas Behind Planning Your Retirement Income
    The 7 Most Important Equations for Your Retirement: The Fascinating People and Ideas Behind Planning Your Retirement Income Moshe A. Milevsky
  62. The Future of Us: The Science of What We'll Eat, Where We'll Live, and Who We'll Be
    The Future of Us: The Science of What We'll Eat, Where We'll Live, and Who We'll Be Jay Ingram
  63. Door to Door: The Magnificent, Maddening, Mysterious World of Transportation
    Door to Door: The Magnificent, Maddening, Mysterious World of Transportation Edward Humes
  64. Business to Diplomacy: The Complexity of Leadership
    Business to Diplomacy: The Complexity of Leadership Dr Andrew Campbell
  65. The Soul of the Deal: Creative Frameworks for Buying, Selling, and Investing in Any Business
    The Soul of the Deal: Creative Frameworks for Buying, Selling, and Investing in Any Business Marc H. Morgenstern
  66. How to Handle a Crowd: The Art of Creating Healthy and Dynamic Online Communities
    How to Handle a Crowd: The Art of Creating Healthy and Dynamic Online Communities Anika Gupta
  67. Python for Data Science: Clear and Complete Guide to Data Science and Analysis with Python.
    Python for Data Science: Clear and Complete Guide to Data Science and Analysis with Python. Alex Campbell
  68. Freedom or Equality: The Key to Prosperity Through Social Capitalism
    Freedom or Equality: The Key to Prosperity Through Social Capitalism Daniel Lacalle
  69. Artificial Intelligence and Life: A Complete Guide to the Basic Concepts in AI, Neural Networks, Machine Learning and Data Science
    Artificial Intelligence and Life: A Complete Guide to the Basic Concepts in AI, Neural Networks, Machine Learning and Data Science Hans Weber
  70. Nanovation: How a Little Car Can Teach the World to Think Big and Act Bold
    Nanovation: How a Little Car Can Teach the World to Think Big and Act Bold Kevin Freiberg
  71. Know What Matters: Lessons from a Lifetime of Transformations
    Know What Matters: Lessons from a Lifetime of Transformations Ron Shaich
  72. Assemblage: The Art and Science of Brand Transformation
    Assemblage: The Art and Science of Brand Transformation Emmanuel Probst
  73. Battling Drought
    Battling Drought Scientific American
  74. Mind Over Explicit Matter: Quit Porn and Improve Intimacy through Neuroscience
    Mind Over Explicit Matter: Quit Porn and Improve Intimacy through Neuroscience Dr. Trish Leigh
  75. Ask the Experts: The Human Body and Mind
    Ask the Experts: The Human Body and Mind Scientific American
  76. Fast, Cheap & Under Control: Lessons Learned from the Greatest Low-Budget Movies of All Time
    Fast, Cheap & Under Control: Lessons Learned from the Greatest Low-Budget Movies of All Time John Gaspard
  77. Data Driven: Truckers, Technology, and the New Workplace Surveillance
    Data Driven: Truckers, Technology, and the New Workplace Surveillance Karen Levy
  78. Converge: Transforming Business at the Intersection of Marketing and Technology
    Converge: Transforming Business at the Intersection of Marketing and Technology Ray Velez
  79. Python Machine Learning for Beginners: Perfect guide on How to Become a Successful Data Scientist
    Python Machine Learning for Beginners: Perfect guide on How to Become a Successful Data Scientist Alex Campbell
  80. Data Science and Machine Learning Demystified: Mastering Data Science and Machine Learning: Advanced Techniques and Applications
    Data Science and Machine Learning Demystified: Mastering Data Science and Machine Learning: Advanced Techniques and Applications Liam Stone
  81. The Art of Agile Development, 2nd Edition
    The Art of Agile Development, 2nd Edition James Shore
  82. Deep Dive (Greenleaf): The Proven Method for Building Strategy, Focusing Your Resources, and Taking Smart Action
    Deep Dive (Greenleaf): The Proven Method for Building Strategy, Focusing Your Resources, and Taking Smart Action Rich Horwath
  83. Java Programming for beginners: Learn Java Development in this illustrated step by step Coding Guide
    Java Programming for beginners: Learn Java Development in this illustrated step by step Coding Guide White Belt Mastery
  84. Designing Distributed Systems: Patterns and Paradigms for Scalable, Reliable Systems Using Kubernetes, 2nd Edition
    Designing Distributed Systems: Patterns and Paradigms for Scalable, Reliable Systems Using Kubernetes, 2nd Edition Brendan Burns
  85. Chaos is a Gift: Leading Oneself in Times of Uncertain and Complex Environment
    Chaos is a Gift: Leading Oneself in Times of Uncertain and Complex Environment Dr Andrew Campbell
  86. The Psychology of Advertising: 3rd Edition
    The Psychology of Advertising: 3rd Edition Wolfgang Stroebe
  87. Humanizing Human Capital: Invest in Your People for Optimal Business Returns
    Humanizing Human Capital: Invest in Your People for Optimal Business Returns Solange Charas, PhD
  88. World Development Report 2015: Mind, Society, and Behavior
    World Development Report 2015: Mind, Society, and Behavior The World Bank
  89. The Elements of Voice First Style: A Practical Guide to Voice User Interface Design
    The Elements of Voice First Style: A Practical Guide to Voice User Interface Design Ahmed Bouzid
  90. The Ancient Art of Thinking For Yourself: The Power of Rhetoric in Polarized Times
    The Ancient Art of Thinking For Yourself: The Power of Rhetoric in Polarized Times Robin Reames
  91. Your Data, Their Billions: Unraveling and Simplifying Big Tech
    Your Data, Their Billions: Unraveling and Simplifying Big Tech Jane S. Hoffman
  92. Chat GPT Bible - Developer and Coder Special Edition: Enhancing Coding Productivity with AI-Assisted Conversations
    Chat GPT Bible - Developer and Coder Special Edition: Enhancing Coding Productivity with AI-Assisted Conversations Lucas Foster
  93. Future Care: Sensors, Artificial Intelligence, and the Reinvention of Medicine
    Future Care: Sensors, Artificial Intelligence, and the Reinvention of Medicine Dr. Jag Singh