Structure

{
  "instruction": "Translate to French.",
  "input": "Hello, how are you?",
  "output": "Bonjour, comment allez-vous?"
}
Advertisement

Prompt template

Below is an instruction that describes a task, paired with an input that provides further context. Write a response.

### Instruction:
{instruction}

### Input:
{input}

### Response:
{output}
Advertisement

Input often empty

Many tasks: instruction alone suffices. 'Explain gravity in one paragraph.' No input. Template handles empty gracefully.