Learn Before
Applying the Expansion Function in Prompt Engineering
A team is optimizing a prompt for a customer service chatbot. Their initial prompt set consists of a single prompt: {'You are a helpful assistant.'}. To improve it, they use a large language model, giving it the instruction: 'Rewrite the following prompt to be more empathetic and specific to a retail context. Generate 5 variations.' The model then produces a new set of five more detailed prompts. Based on the formal expression , identify what each component (, , and ) represents in this specific scenario.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A search algorithm is exploring a graph with the following direct connections: Node A is connected to Node B and Node C; Node B is connected to Node A and Node D; Node C is connected to Node A; Node D is connected to Node B. The algorithm's current set of states is
C = {Node A}. If the expansion function is defined asC' = Expand(C, f), where the rulefis 'identify all unique nodes that are directly connected to any node in the current setC', what is the resulting new set of statesC'?Deconstructing the Expansion Function
Applying the Expansion Function in Prompt Engineering