Checking your sign-in…
Sign in first
Decision rules belong to an account. Sign in to see yours and change them.
Sign in on the dashboardChecking your sign-in…
Decision rules belong to an account. Sign in to see yours and change them.
Sign in on the dashboardA decision rule answers a question from the facts in a request, before any model is asked.
Decision rules are kept per use case of the Decisions type. Add one under Use cases on the dashboard; it comes with its own key. Then come back here.
Go to Use casesA question id is the name your requests give a question, such as department in questions. Its rules answer every request that asks it under this use case. A question also appears here once a model has answered it over structured facts.
| Question id | Your rules | Learned rules | Learning | Model answers kept |
|---|
No questions yet. Add the first one above.
A rule answers when all of its conditions hold. If two rules give different answers for the same facts, neither is used and the question goes to the model. Rules answer choice and yes/no questions; a score always goes to the model. A request that sends its own rules for this question uses those instead.
| Name | When | Then |
|---|
No rules yet, so every request for this question goes to the model.
| When | Then | Seen in |
|---|
The same thing through the API: PUT /v1/policies/{question_id}.
Rule sets for Rules and Graph use cases (categories, rules and terms) are sent with each call and are not stored with your account. Build and check one in the editor, then export it as JSON for your code.
Open the editor