Docs Open app →

The simplest possible pattern

The smallest pattern Weave will accept: a tiny header and a single prompt.

ready to use download the file

The pattern

---
weave-script-version: 3
---

## Welcome

What Weave sees

When Weave reads this file, it pulls out the information below. You don't need to write any of this yourself.

{
  "schemaVersion": 2,
  "meta": {
    "sourceSpecVersion": 3,
    "attributes": {}
  },
  "phases": [
    {
      "id": "1-welcome",
      "index": 0,
      "name": "Welcome",
      "durationSeconds": 0,
      "perParticipant": false,
      "body": "",
      "breakouts": null,
      "attributes": {},
      "segmentId": "s1-phase",
      "segmentRole": "prompt"
    }
  ],
  "segments": [
    {
      "id": "s1-phase",
      "index": 0,
      "name": "",
      "mode": "single",
      "roundRobin": false,
      "breakouts": null,
      "prefacePhaseIndex": null,
      "promptPhaseIndexes": [
        0
      ]
    }
  ]
}