🚀 Master building AI workflows and agents with Claude Code! Use AGENTX20 for 20% off Enroll now →
Directional Stimulus Prompting

Directional Stimulus Prompting

Li et al., (2023) (opens in a new tab) proposes a new prompting technique to better guide the LLM in generating the desired summary.

A tuneable policy LM is trained to generate the stimulus/hint. Seeing more use of RL to optimize LLMs.

The figure below shows how Directional Stimulus Prompting compares with standard prompting. The policy LM can be small and optimized to generate the hints that guide a black-box frozen LLM.

DSP

Image Source: Li et al., (2023) (opens in a new tab)

Full example coming soon!

Explore All Courses

Discover our full catalog of AI and prompt engineering courses. From beginners to advanced practitioners.Use code PROMPTING20 for 20% off!

Browse Academy