Xale's model Memories
Lists Fields and nesting
A List is read back as nested rows with their done state, and saved as a nested Markdown list: one item per line, two spaces per level, up to 8 levels.
Reading a List
xale_ on a List (semanticKind: "list") returns listRows:
json
[
{ "id": "r1", "text": "Passport", "done": true, "children": [] },
{ "id": "r2", "text": "Chargers", "done": false, "children": [
{ "id": "r3", "text": "Phone charger", "done": false, "children": [] }
] }
]Up to 250 rows per level; each row's text up to 1,000 characters.
Saving a List
xale_ takes list, a nested Markdown list:
text
# Packing for Lisbon
- Passport
- [x] Booking confirmation
- Chargers
- Phone charger
- Laptop charger| Rule | Value |
|---|---|
| Item lines | Start with - (or 1. for a numbered List) |
| Nesting | 2 spaces per level, up to 8 levels; one level deeper than the line above at most |
| Done | - [x] item; - [ ] item or no box is not done |
| Title | title, or one optional # Title line before the first item |
| Size | At most 100 items in all, 1,000 characters per item |
A refusal names the line to fix. Fix it and send again with the same requestId.
Changing a List
| To | Use |
|---|---|
| Add items (with sub-items) at the end | xale_, up to 100 items a call |
| Tick or untick one row | xale_, by the row's text exactly as xale_ shows it, with done: false to untick |
| Pick one of several rows with the same text | occurrence: 1 is the first from the top |
A whole List can be archived with archive_.
Limits
Pro allows 1,000 Lists, each up to 100 items and 500 KB stored. Numbered and board views are Pro in the app.
For people
- Checked against main
8aef9b15