A developer is building an application that generates personalized story summaries. The system needs three distinct pieces of information to create a summary: the book_title, the user_name, and the desired summary_length (e.g., 'short', 'medium', 'detailed'). To ensure the system can reliably and efficiently handle thousands of these requests, which of the following data structures is the most appropriate for representing the information for a single request?
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Structuring a Prompt for an AI System
A developer is building an application that generates personalized story summaries. The system needs three distinct pieces of information to create a summary: the
book_title, theuser_name, and the desiredsummary_length(e.g., 'short', 'medium', 'detailed'). To ensure the system can reliably and efficiently handle thousands of these requests, which of the following data structures is the most appropriate for representing the information for a single request?Restructuring a Prompt into JSON
Example of a JSON Prompt Representation