Learn Before
Target Output Indicator in Prompt Templates
When structuring a prompt template, a specific indicator—such as $$—is sometimes used to explicitly denote the exact text that the language model is intended to generate. This indicator helps clearly separate the model's expected response from the rest of the template, such as the static instructional text and the placeholder variables that are replaced by user input.
0
1
Tags
Foundations of Large Language Models
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Examples of Prompt Templates for Weekend Suggestions
Variable vs. Static Prompt Templates
Prompt Templates with Multiple Variables
Literal Text in Prompt Templates
A developer is building an application that uses a language model to generate a two-sentence summary for any user-provided book description. To ensure the model performs this task consistently for different books, the developer needs a reusable input structure that combines a fixed instruction with the variable book description. Which of the following options is the most effective and correctly structured example for this purpose?
Constructing a Prompt Template for a Chatbot
Evaluating a Customer Support Automation Strategy
Target Output Indicator in Prompt Templates
Prompt Templates for Task Adaptation without Structural Modification