Skip to main content

Overview

How can we constrain model outputs through prompting alone? To constrain a model’s response to fit the boundaries of our task, we can specify a style. Stylistic constraints can include:
  • writing style: write a flowery description
  • tone: write a dramatic description
  • mood: write a happy description
  • genre: write a journalistic description

Example

References

  1. Bounding the Capabilities of Large Language Models in Open Text Generation with Prompt Constraints