Example

Examples of Constrained Prompts for Text Summarization

Constrained prompts direct a model to perform a task while adhering to specific limitations. For instance, a prompt for text summarization could impose a length constraint, such as 'Summarize the following article in no more than 50 words,' or a structural constraint, like 'Summarize this text in three sentences.'

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Ch.4 Alignment - Foundations of Large Language Models

Related