Case Study

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 C=Expand(C,f)C' = \text{Expand}(C, f), identify what each component (CC, ff, and CC') represents in this specific scenario.

0

1

Updated 2025-10-08

Contributors are:

Who are from:

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