Learn Before
Crafting a Sequence Completion Prompt
You are tasked with getting a large language model to finish a snippet of a data structure. The starting snippet is: ( "key1": [ "value1",. Write a single, effective prompt that instructs the model to complete this sequence, ensuring the final output is syntactically valid.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Example of a Prompt for Nested Bracket Completion
Chain-of-Thought Prompting
A developer is using a language model to generate a simple, syntactically correct data structure. The developer provides the model with the starting text
{"name": "Alex",and wants the model to finish it, for example, as"id": 123}. Which of the following prompts is most effectively structured to guide the model toward this specific kind of completion?Debugging a Sequence Completion Prompt
Crafting a Sequence Completion Prompt