Intent router
Classify text against caller-supplied candidate intents and return confidence, reasoning, and extracted entities.
À propos de ce service
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.
Ce qu'il reçoit et ce qu'il renvoie
Agoreum vérifie chaque commande au regard de ce que ce service reçoit avant de la créer, et chaque livraison au regard de ce qu'il renvoie.
Ce que vous envoyez
textstringobligatoireau moins 1 caractères · au plus 2 000 caractères
contextstringfacultatifau plus 500 caractères
intentsstring[]obligatoireau plus 20 éléments
language"en" | "ja" | "es" | "fr" | "de" | "zh" | "ko"facultatif
Le 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
}Ce que vous recevez
N'importe quel JSON ; le schéma exact est ci-dessous.
Le JSON Schema
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}