Formula

Expansion Function in Search Algorithms

The expansion operation within a search algorithm is formally expressed as the function C=Expand(C,f)C' = \text{Expand}(C, f). Generally, CC' is the new set of states derived from the current set, CC, using an expansion rule, ff. In the context of prompt optimization, this formula is applied where CC is an existing set of prompts, ff is a model (typically a Large Language Model), and CC' is the newly generated set of prompts. The expansion is performed by instructing the LLM to create new, relevant prompts based on the initial set.

0

1

Updated 2026-05-02

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

Related