_predict
POST /api/v1/_predict
{
"from": "purchases",
"where": { "supplier": "$supplier" },
"predict": "cost_center",
"select": [
"$p",
"feature",
{ "$why": { "highlight": { "posPreTag": "«", "posPostTag": "»" } } }
]
}
How it works
Smart Entry uses aito.._predict with the $why highlight option to fill four fields and explain each prediction. Each field is a single semantic concept — the predicted value lives in the input itself, styled gold-italic until the user accepts it (Tab) or overrides it (typing).
Learn more