Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unlocking the Secrets of Prompt Engineering

You're reading from   Unlocking the Secrets of Prompt Engineering Master the art of creative language generation to accelerate your journey from novice to pro

Arrow left icon
Product type Paperback
Published in Jan 2024
Publisher Packt
ISBN-13 9781835083833
Length 316 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Gilbert Mizrahi Gilbert Mizrahi
Author Profile Icon Gilbert Mizrahi
Gilbert Mizrahi
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:Introduction to Prompt Engineering FREE CHAPTER
2. Chapter 1: Understanding Prompting and Prompt Techniques 3. Chapter 2: Generating Text with AI for Content Creation 4. Part 2:Basic Prompt Engineering Techniques
5. Chapter 3: Creating and Promoting a Podcast Using ChatGPT and Other Practical Examples 6. Chapter 4: LLMs for Creative Writing 7. Chapter 5: Unlocking Insights from Unstructured Text – AI Techniques for Text Analysis 8. Part 3: Advanced Use Cases for Different Industries
9. Chapter 6: Applications of LLMs in Education and Law 10. Chapter 7: The Rise of AI Pair Programmers – Teaming Up with Intelligent Assistants for Better Code 11. Chapter 8: AI for Chatbots 12. Chapter 9: Building Smarter Systems – Advanced LLM Integrations 13. Part 4:Ethics, Limitations, and Future Developments
14. Chapter 10: Generative AI – Emerging Issues at the Intersection of Ethics and Innovation 15. Chapter 11: Conclusion 16. Index 17. Other Books You May Enjoy

Using AI to generate fiction

When you intend to write fiction, starting from a blank page can feel daunting. However, with the assistance of an LLM, the process becomes more manageable. In this section, we will see how.

Here’s a step-by-step guide to help you move from a blank page to a full-fledged story using a tool such as ChatGPT:

  1. Idea generation: Begin with brainstorming. Even if you only have a vague idea, you can feed this into the LLM, and it will generate a variety of scenarios, characters, and possible plot directions for you. For example, if you input A story about a time-traveling historian, the model can give you multiple story teasers to choose from.
  2. Character design: With a basic idea at hand, the next step is character creation. Describe your character to the LLM in simple terms, and it can help you flesh out their personality, backstory, appearance, and more. Input Introverted librarian with a secret past, and the model can generate a more detailed...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime