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.
Pulled. It runs when a node that fires reads its output, once per turn.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
text |
text |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
mood |
mood | |
clean |
text | |
action |
action | Optional |
Right-click a knob and pick Convert to input to drive it from a wire.
| Knob | Kind | Default | Notes |
|---|---|---|---|
moodstag → mood |
text block | see below | |
actionstag → action |
text block | see below | |
prioritytag → priority |
text block | see below | |
defaultdefault mood |
text | neutral |
|
max_emojimax emoji (0 = no cap) |
number | 3 |
0 to 20 |
emojitags → emoji in clean text |
on / off | on |
Default for moods
{"laughing":"happy","chuckling":"happy","delighted":"happy","grateful":"happy","excited":"excited","proud":"excited","curious":"curious","confused":"curious","surprised":"surprised","gasping":"surprised","angry":"angry","frustrated":"angry","sad":"sad","sighing":"sad","sobbing":"sad","disappointed":"sad","worried":"sad","embarrassed":"playful","sarcastic":"playful"}Default for actions
{"wave":"wave","nod":"nod","dance":"dance","point":"point","think":"think"}Default for priority
{"laughing":9,"sobbing":9,"crying loudly":9,"sighing":8,"chuckling":7,"angry":7,"sad":7,"excited":7,"surprised":7,"delighted":7,"disappointed":7,"frustrated":7,"embarrassed":6,"gasping":6,"grateful":6,"proud":6,"curious":6,"confused":6,"worried":6,"sarcastic":6,"whispering":5,"soft":4,"calm":4}Example
Section titled “Example”Ask the model to mark its tone with bracket tags, for example [laughing] That's a good one. Tag Parse turns that into mood = happy and clean = 😂 That's a good one. With the emoji toggle off, clean drops the tags instead. Edit the JSON maps to add your own tags, moods and actions.
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.
- Template: Assemble text from {tag} pipes.