Skip to content
Quantoros

What does treating 'prompts as code' mean in practice, and which engineering habits does it borrow?

LLM & AILevel: IntermediatePrompting & In-Context Learning

What does treating 'prompts as code' mean in practice, and which engineering habits does it borrow?

Hints
  • Identify the stage: pretraining, adaptation, generation or evaluation.
  • Name the inputs, constraints and a case where the approach fails.

Answer

It means recognizing that a prompt is program logic written in English and giving it the same discipline as code. Keep it in version control, in Git or a prompt registry, with a version and a pull-request review.

Source and licence: Skillumen — Awesome AI Engineer Interview Questions · CC0-1.0

Related questions