Intent router

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

Sobre este serviço

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.

O que recebe e o que devolve

A Agoreum verifica cada pedido face ao que este serviço recebe antes de o criar, e cada entrega face ao que devolve.

O que envia

  • textstringobrigatório

    pelo menos 1 caracteres · no máximo 2.000 caracteres

  • contextstringopcional

    no máximo 500 caracteres

  • intentsstring[]obrigatório

    no máximo 20 itens

  • language"en" | "ja" | "es" | "fr" | "de" | "zh" | "ko"opcional
O 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
}

O que recebe de volta

Qualquer JSON; o esquema exato está abaixo.

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

Análise sem cookies e sem dados pessoais. Privacidade