Prompt Engineering

The Prompt Engineering template is available for advanced users familiar with GPT-3.

When a charm using this template runs, the prompt will run repeatedly-- once for each output cell.

You can add cell references to refer to input cell ranges; these references will be replaced with the value of the input cell corresponding to the iteration offset.

Tips for using this template:

  • Use commands that are local to a single output cell, not an entire range. For example, a ChatGPT-style prompt like rewrite all of the cells in French will not work, but a prompt like rewrite {{ input_text }} in French will work-- assuming you specify a relevant range for the input_text cell reference.

Last updated