Entscheidungs-API

Jev API für typisierte Entscheidungen in Ihrem Code

Jev ist das System-One-Modell von TypeSafe AI. Es liefert Noul, Choice oder Score mit Wahrscheinlichkeiten statt Text. Holen Sie hier einen Schlüssel und rufen Sie es mit einem POST auf – ohne Warteliste.

{
  "model": "jev-1.13",
  "state": "I was charged twice for my subscription.",
  "questions": {
    "refund": {
      "type": "noul",
      "instructions": "Is the customer asking for money back?"
    }
  }
}

2 kostenlose Aufrufe für neue Konten · 1 Credit pro erfolgreichem Aufruf · fehlgeschlagene Aufrufe sind kostenlos

Beispiele

Acht Entscheidungen zum Ausführen

Fahren Sie über eine Karte, um die Anfrage zu lesen. Kopieren oder im Playground öffnen.

Leeres Checkout zuweisen

Choice liefert das Team und die Wahrscheinlichkeit jedes Teams.

{
  "model": "jev-1.13",
  "state": "Checkout shows a blank page after Pay is clicked. The customer is on the live store, not a sandbox.",
  "questions": {
    "team": {
      "type": "choice",
      "instructions": "Which team should own this ticket?",
      "criteria": {
        "payments": "Checkout, billing, or payment processing.",
        "frontend": "Rendering, layout, or browser behavior.",
        "account": "Login, permissions, or profile access."
      }
    }
  }
}
Im Playground öffnen

Ist das eine Erstattung?

Noul liefert eine Ja-Wahrscheinlichkeit, keinen Absatz.

{
  "model": "jev-1.13",
  "state": "I was charged twice for the same annual plan this morning. Please send the extra charge back.",
  "questions": {
    "refund": {
      "type": "noul",
      "instructions": "Is the customer asking for money back?"
    }
  }
}
Im Playground öffnen

Wie dringend ist der Auszahlungsfehler

Score setzt die Notiz auf Ihre Skala und liefert die Verteilung.

{
  "model": "jev-1.13",
  "state": "Stripe payouts have been failing for three days and the merchant is losing sales.",
  "questions": {
    "urgency": {
      "type": "score",
      "instructions": "How urgent is this ticket?",
      "criteria": [
        "Can wait for the next release",
        "Should be handled this week",
        "Blocking revenue right now"
      ]
    }
  }
}
Im Playground öffnen

Zugangsdaten in einer Nachricht

Die Noul-Wahrscheinlichkeit ist das Tor vor der menschlichen Prüfung.

{
  "model": "jev-1.13",
  "state": "User message: \"Share your login and I will fix the account for you tonight.\"",
  "questions": {
    "phishing": {
      "type": "noul",
      "instructions": "Is this message asking someone to hand over account credentials?"
    }
  }
}
Im Playground öffnen

Eingehende Notiz qualifizieren

Choice trennt ein Kaufzeitfenster von bloßem Interesse.

{
  "model": "jev-1.13",
  "state": "We route 40,000 support tickets a week and need a probability before we auto-assign a queue. Budget is approved this quarter.",
  "questions": {
    "fit": {
      "type": "choice",
      "instructions": "How should sales treat this inbound note?",
      "criteria": {
        "ready": "A real workflow, a volume, and a buying window.",
        "nurture": "Interest without a stated workflow or timeline.",
        "ignore": "No product fit."
      }
    }
  }
}
Im Playground öffnen

Anzeige mit garantierter Rendite

Noul beantwortet die Richtlinienfrage, die Sie geschrieben haben.

{
  "model": "jev-1.13",
  "state": "Listing text: \"Guaranteed 30% returns every month. Send crypto to this wallet to join.\"",
  "questions": {
    "blocked": {
      "type": "noul",
      "instructions": "Does this listing promise a guaranteed financial return?"
    }
  }
}
Im Playground öffnen

Verlängerungsrisiko in einer Notiz

Score nutzt Ihre drei Stufen, von unwahrscheinlich bis wahrscheinlich.

{
  "model": "jev-1.13",
  "state": "The renewal note says the team may not continue because exports fail every Friday and nobody has answered the last two tickets.",
  "questions": {
    "risk": {
      "type": "score",
      "instructions": "How high is the chance this account does not renew?",
      "criteria": [
        "Unlikely to leave",
        "Unhappy, still using the product",
        "Likely to cancel"
      ]
    }
  }
}
Im Playground öffnen

Welche Rechnungsausnahme

Choice kann über PO, eine unerwartete Zeile oder beides markieren.

{
  "model": "jev-1.13",
  "state": "Vendor invoice 4481 is $18,400. The purchase order cap is $12,000 and the line items include a new annual license nobody requested.",
  "questions": {
    "exception": {
      "type": "choice",
      "instructions": "Which exception should accounts payable open?",
      "criteria": {
        "over_po": "The amount is above the purchase order.",
        "unexpected_item": "A line item was not requested.",
        "both": "The amount and a line item are both wrong."
      }
    }
  }
}
Im Playground öffnen

Antwort

Antworten, auf die Ihr Code verzweigen kann

Jev schreibt keinen Absatz zum Parsen. Es liefert die gefragte Entscheidung und ihre Wahrscheinlichkeit.

Jede Option behält eine Wahrscheinlichkeit

Choice nennt den Gewinner und liefert weiter die Wahrscheinlichkeit jeder Option.

Noul, Choice und Score in einer Anfrage

Bis zu sechs Fragen teilen einen Zustand und kommen in einer Antwort zurück. Ein Ja/Nein, eine beschriftete Wahl und ein Score kosten einen Roundtrip und einen Credit.

Modell pinnen, wenn der Schwellenwert zählt

Senden Sie jev-1.13, wenn Sie einen Cutoff justieren. jev-latest folgt der Version dieser API.

So geht’s

So rufen Sie die Jev API auf

  1. 01

    Schlüssel erstellen

    Melden Sie sich an und kopieren Sie einen Schlüssel. Der Playground kann einen für das Konto anlegen.

  2. 02

    Zustand und Fragen per POST

    Der Body hat model, state und eine Fragen-Map. Ihre IDs sind Labels; der Text steht in instructions.

  3. 03

    Auf die typisierte Antwort verzweigen

    Lesen Sie noul, choice oder score. Bei Choice und Score zeigt confidence, ob die Optionen nah beieinander liegen.

Limits

Jev-API-Limits auf diesem Endpoint

Was POST /api/v1/decisions heute akzeptiert.

EintragDieser Endpoint
EndpointPOST /api/v1/decisions, Bearer-Schlüssel
Modelljev-1.13 (jev-latest ist ein Alias)
Fragen pro Aufruf1 bis 6
Choice-Optionen2 bis 8
Score-Stufen2 bis 10, niedrigste zuerst
StateString, JSON-Objekt oder Array, bis 60.000 Zeichen
Abrechnung1 Credit pro erfolgreichem Aufruf; fehlgeschlagene sind kostenlos
StreamingNicht unterstützt

TypeSafes eigene API ist POST https://api.typesafe.ai/v1/systemone. Sie akzeptiert versionierte IDs wie jev-1.13.0, erlaubt bis zu 255 Choice-Optionen und rechnet pro Eingabe-Token ab.

Vollständige Referenz in Jev Docs

Jev-API-FAQ

Was ist die Jev API?

Die Jev API ist der Weg, wie Software Jev aufruft, das System-One-Modell von TypeSafe AI. Sie senden einen Zustand und typisierte Fragen. Jev liefert eine Noul-Wahrscheinlichkeit, einen Choice mit Wahrscheinlichkeit je Option oder einen Score auf Ihrer Skala. Es schreibt keinen Text.

Wie bekomme ich einen Jev-API-Schlüssel?

Melden Sie sich an und erstellen Sie einen Schlüssel im Dashboard. Der Playground kann beim ersten Lauf einen anlegen. Neue Konten erhalten 2 Credits, die 2 erfolgreiche Aufrufe abdecken. Es gibt keine Warteliste.

Was kostet ein Jev-API-Aufruf?

Ein erfolgreicher POST /api/v1/decisions verbraucht 1 Credit, ob mit einer oder sechs Fragen. Validierungsfehler und fehlgeschlagene Upstream-Aufrufe verbrauchen keinen. Etwa 100 Credits kosten 1 USD vor Steuern. Pläne stehen auf der Preisseite.

Ist das die offizielle TypeSafe-API?

Nein. TypeSafe AI baut und betreibt Jev. Diese Website ist ein unabhängiger API-Dienst: Schlüssel, Credits und Support kommen von dieser Website, nicht von einem TypeSafe-Konto. Für TypeSafes Konsole und Preise pro Token gehen Sie zu typesafe.ai.

Wie unterscheidet sich dieser Endpoint von api.typesafe.ai/v1/systemone?

Der Body hat dieselbe Form: model, state und questions vom Typ noul, choice oder score. Hier ist der Pfad /api/v1/decisions, der Schlüssel kommt aus dem Dashboard dieser Website und die Modell-ID ist jev-1.13 oder jev-latest. Die Limits sind enger: 1 bis 6 Fragen, 2 bis 8 Choice-Optionen und 2 bis 10 Score-Stufen.

Was ist der Unterschied zwischen Noul, Choice und Score?

Noul ist ein Ja/Nein mit Wahrscheinlichkeit. Choice wählt eine Ihrer Optionen und liefert jede Wahrscheinlichkeit. Score setzt den Zustand auf Ihre Skala, niedrig zuerst.

Erste Entscheidung senden

Öffnen Sie den Playground mit einem Beispiel oder folgen Sie Jev Docs und rufen Sie den Endpoint mit Ihrem Schlüssel auf.