BUILD / TEST / INTEGRATE

Playground.

Give Dante context. Ask for the decisions your application needs.

“Save on this device” stores this draft in this browser only — nothing is sent to Dante servers.

dante-latest RESEARCH PREVIEW
01 / INPUT
state
Text your questions will evaluate.192 / 5,000
Questions3 QUESTIONS
01
recommendsBOOLEAN

Would this reviewer recommend buying these headphones?

02
sentimentCHOICE

Classify the overall sentiment of this review.

positivemixednegative
03
satisfactionSCORE

Estimate overall customer satisfaction.

Very dissatisfiedDissatisfiedNeutralSatisfiedVery satisfied
Edit questions JSON

Use 1–8 named questions. Choice accepts 2–32 options; score accepts 2–10 ordered levels. Boolean uses noul.

Recorded example availableSign in to run
02 / OUTPUTAWAITING INPUT

Your decisions appear here

The support template includes a recorded model response. Sign in to evaluate your own input.

Open recorded example
03 / APPLICATION BEHAVIOR

Keep the fallback in your code.

Act on the first choice answer when its selected probability meets your threshold. Otherwise, request review or call your LLM.

95%
A choice result will show the route here.

Probability and confidence are different signals. Set thresholds using labeled examples from your application before enabling automatic actions.

INTEGRATE / SERVER SIDE

Use this decision in your app.

Set your API origin and key in your server environment. The TypeScript example includes your current threshold.

dante / integration
SERVER SIDE
POST /v1/systemone
const response = await fetch(
  "https://api.dante.example/v1/systemone",
  {
    method: "POST",
    headers: {
      Authorization: `Bearer ${process.env.DANTE_API_KEY}`,
      "Content-Type": "application/json",
      "Idempotency-Key": crypto.randomUUID(),
    },
    body: JSON.stringify({
      "model": "dante-latest",
      "state": "The headphones sound great and the battery lasts all day. The ear pads are uncomfortable after an hour, though, and the case broke in the first week. I would choose a different pair next time.",
      "questions": {
        "recommends": {
          "type": "noul",
          "instructions": "Would this reviewer recommend buying these headphones?"
        },
        "sentiment": {
          "type": "choice",
          "instructions": "Classify the overall sentiment of this review.",
          "criteria": {
            "positive": "Mostly satisfied",
            "mixed": "Both satisfied and dissatisfied",
            "negative": "Mostly dissatisfied"
          }
        },
        "satisfaction": {
          "type": "score",
          "instructions": "Estimate overall customer satisfaction.",
          "criteria": [
            "Very dissatisfied",
            "Dissatisfied",
            "Neutral",
            "Satisfied",
            "Very satisfied"
          ]
        }
      }
    }),
  },
);

if (!response.ok) {
  throw new Error(`Dante request failed: ${response.status}`);
}

const result = await response.json();

const decision = result.answers["sentiment"];
const probability = decision.probabilities[decision.choice];
const nextStep = probability >= 0.95
  ? decision.choice
  : "needs_review";

Create a scoped key under API keys. Every call is billed from your organization's credits, the same as a playground run.