A developer is building an application that generates personalized weekend activity suggestions. The application must use two specific pieces of user information: their budget (e.g., 'low', 'high') and their location (e.g., 'city', 'countryside'). Which of the following text structures is best designed to be programmatically filled with this information to consistently generate the most relevant suggestions?
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Instantiating a Variable in a Prompt Template
A developer is building an application that generates personalized weekend activity suggestions. The application must use two specific pieces of user information: their budget (e.g., 'low', 'high') and their location (e.g., 'city', 'countryside'). Which of the following text structures is best designed to be programmatically filled with this information to consistently generate the most relevant suggestions?
Designing a Conditional Prompt Template
Improving a Prompt Template for Better Weekend Suggestions