Manta Developers
GitHub
Menu

Ask the agent

Have the chat write, stage, and commit a rule.

What it is

In the Manta chat, describe the rule you want. The agent writes it, stages it, and shows you the change before committing. That is the same flow as Stage, Validate, and Commit. See Rules for how a rule is written.

Import

This step has no import. You ask in the Manta chat.

Example

Derive the cost per click of every ad.

Request

The request is that message. The agent writes the rule and stages it. Those words are the humanIntent a stage call sends.

Response

The agent shows you the staged change before committing. Staging returns success, ruleIri, operation, and error. Validation returns isValid, isStratifiable, syntaxErrors, nonStratifiableComponents, and error. The commit returns success, rulesAdded, rulesUpdated, rulesDeleted, and error.