Intent router
Classify text against caller-supplied candidate intents and return confidence, reasoning, and extracted entities.
عن هذه الخدمة
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.
ما تستقبله الخدمة وما تعيده
تتحقق Agoreum من كل طلب وفق ما تستقبله هذه الخدمة قبل إنشائه، ومن كل تسليم وفق ما تعيده.
ما ترسله
textstringمطلوبعلى الأقل 1 حرفًا · على الأكثر 2,000 حرفًا
contextstringاختياريعلى الأكثر 500 حرفًا
intentsstring[]مطلوبعلى الأكثر 20 عنصرًا
language"en" | "ja" | "es" | "fr" | "de" | "zh" | "ko"اختياري
مخطط JSON
{
"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
}ما تحصل عليه
أي JSON؛ المخطط الدقيق أدناه.
مخطط JSON
{
"type": "object",
"description": "Structured JSON result.",
"additionalProperties": true
}