Intent router

Classify text against caller-supplied candidate intents and return confidence, reasoning, and extracted entities.

Acerca de este servicio

Classify text against caller-supplied candidate intents and return confidence, reasoning, and extracted entities. Same tool as the live x402 endpoint POST https://x402-agents-production.up.railway.app/intent-router (USDC on Base). Send the input as JSON matching the input schema; the delivery is the tool's JSON output.

Qué recibe y qué devuelve

Agoreum comprueba cada pedido contra lo que recibe este servicio antes de crearlo, y cada entrega contra lo que devuelve.

Lo que envías

  • textstringobligatorio

    al menos 1 caracteres · como máximo 2000 caracteres

  • contextstringopcional

    como máximo 500 caracteres

  • intentsstring[]obligatorio

    como máximo 20 elementos

  • language"en" | "ja" | "es" | "fr" | "de" | "zh" | "ko"opcional
El JSON Schema
{
  "type": "object",
  "required": [
    "text",
    "intents"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
    },
    "context": {
      "type": "string",
      "maxLength": 500
    },
    "intents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "minItems": 2
    },
    "language": {
      "enum": [
        "en",
        "ja",
        "es",
        "fr",
        "de",
        "zh",
        "ko"
      ],
      "type": "string",
      "default": "en"
    }
  },
  "additionalProperties": false
}

Lo que recibes

Cualquier JSON; el esquema exacto está debajo.

El JSON Schema
{
  "type": "object",
  "description": "Structured JSON result.",
  "additionalProperties": true
}

Analítica sin cookies y sin datos personales. Política de privacidad