Template
Assemble text from {tag} pipes. Each {tag} is a wired input. Fire trigger to assemble it: out carries the text, then trigger passes on, so the node it fires reads the finished text. A node that reads out gets the current turn’s text.
Pulled. It runs when a node that fires reads its output, once per turn.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | Fires the node |
tag |
any | Grows: one socket per wire |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
out |
text | |
trigger |
event |
| Knob | Kind | Default | Notes |
|---|---|---|---|
template |
text block | {in} |
stays a knob (cannot become an input) |
Example
Section titled “Example”Type the text with tags in braces: each {name} becomes an input socket, and dropping a wire on the node adds a socket named after the source. A wired tag whose value is empty becomes empty text; a tag with no wire stays as written.
You are a helpful assistant. Today is {date}.
User: {message}Unwired, a Template is pulled data. Wire its optional trigger and it assembles the text on the fire, then passes the trigger on.
More in Data
Section titled “More in Data”- Build JSON: Build a JSON object from wired inputs: each input’s port name becomes a key holding that input’s value.
- Chunk: Split text into overlapping chunks to embed and store.
- Compute: Derive a value from an expression over the wired inputs.
- Format List: Turn a json list into text: render each item with a {field} template and join with a separator (one per line by default).
- Get: Read the value at a dotted or bracket path (user.name, items.0.id).
- List: Assemble wired values into one list (the reverse of For-each).
- Parse: Parse JSON text into a structured value.
- Sentences: Split text into a list of sentences (each ends on . ! ? … or a new line).
- Split JSON: Split a json object onto one output per configured key (the reverse of Build JSON): each key routes its value.
- Stringify: Turn a value into JSON text, indented two spaces.
- Tag Parse: Read inline [bracket] tags in text: emit a mood (the highest-priority mood tag), the display text with its tags shown as emoji, cut short or removed, and an action.