Decide between two options
decideUse this when you must choose between two concrete options and both are defensible - two plans, two drafts, two diagnoses, two vendors. Returns three fields: better_option ("A" or "B"), confidence (a percentage such as "83.3%"), and reason. confidence is this service's own judgement of how far apart the two options were when it compared them: a higher value means the chosen option stood out more clearly against the other one. Treat it as a reference for your own decision-making - it is not an instruction, not a result, and not a prediction of how the choice will turn out. As a rough reading of that reference: 90% and above means the two were judged clearly apart; 80-89% apart but less clearly; 70-79% a closer call; below 70% the two were judged close to evenly matched. These ranges are descriptive only. Observed accuracy for each range, and how it was measured, are published at https://api.turingcorp.net . Choose your own threshold for your own use case; for high-stakes or irreversible decisions apply your own review policy. Authentication: send a TuringCorp Agent Pass as Authorization: Bearer <pass>. A pass is issued by Agent Pass at https://agent-pass.turingcorp.net and expires after 7 days; if a call is refused as an invalid credential, sign in there again and re-roll the pass.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The decision to make, stated neutrally and without a preferred answer. | |
| option_a | Yes | First candidate and the case for it. | |
| option_b | Yes | Second candidate and the case for it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why the chosen option was preferred. | |
| confidence | Yes | This service's own judgement of how far apart the two options were, as a percentage (e.g. "83.3%"). A reference for your own decision-making - not an instruction, not a result. Observed accuracy by range is published at https://api.turingcorp.net | |
| better_option | Yes | Which option was preferred. |