Example

Example of a Prompt Template for Response Refinement

A prompt template for refining a Large Language Model's output explicitly states the inputs the model will receive to guide the revision. For example, the model can be instructed with the following template: 'You will be provided with a question, its corresponding response, and some feedback on this response.' This structure ensures the LLM uses all three components—the original question, the initial response, and the feedback—to generate an improved answer.

0

1

Updated 2025-10-09

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