Example

Example of a Summarization Prompt with a Sentence Constraint

An example of a prompt for text summarization that includes a specific constraint is the instruction: 'Summarize this text in three sentences.' This command directs a Large Language Model not only to perform the summarization task but also to adhere to a strict output length of exactly three sentences.

0

1

Updated 2025-10-09

Contributors are:

Who are from:

Tags

Ch.4 Alignment - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences