{"uid":"cap_NtT-B-v0DH4O3NPN745XJ","slug":"commerce-intent-local-text-classifier-cb87b170","name":"Commerce Intent Local Text Classifier","description":"Commerce intent - Train local text baseline and classify: Train local text baseline and classify for Commerce intent. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded train local text baseline and classify deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-ml-commerce-intent-local-classifier?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"records":{"type":"array","items":{"type":"object","required":["id","text","actual"],"properties":{"id":{"type":"string","default":"","maxLength":80,"minLength":1},"text":{"type":"string","default":"","maxLength":1000},"actual":{"enum":["browse","purchase","return","other"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"browse sample document number 0 for this supplied dataset.","actual":"browse"},{"id":"example-0-1","text":"browse sample document number 1 for this supplied dataset.","actual":"browse"},{"id":"example-0-2","text":"browse sample document number 2 for this supplied dataset.","actual":"browse"},{"id":"example-1-0","text":"purchase sample document number 0 for this supplied dataset.","actual":"purchase"},{"id":"example-1-1","text":"purchase sample document number 1 for this supplied dataset.","actual":"purchase"},{"id":"example-1-2","text":"purchase sample document number 2 for this supplied dataset.","actual":"purchase"},{"id":"example-2-0","text":"return sample document number 0 for this supplied dataset.","actual":"return"},{"id":"example-2-1","text":"return sample document number 1 for this supplied dataset.","actual":"return"},{"id":"example-2-2","text":"return sample document number 2 for this supplied dataset.","actual":"return"},{"id":"example-3-0","text":"other sample document number 0 for this supplied dataset.","actual":"other"},{"id":"example-3-1","text":"other sample document number 1 for this supplied dataset.","actual":"other"},{"id":"example-3-2","text":"other sample document number 2 for this supplied dataset.","actual":"other"}],"maxItems":200,"minItems":2},"query_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["browse sample"],"maxItems":20,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a_9wUk_FXXY9egU4pAC1e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Trains a naive-Bayes text classifier on up to 200 labelled commerce-intent records and classifies query texts into browse, purchase, return, or other categories","exampleAgentPrompt":"Train a local naive-Bayes commerce intent classifier on my 12 labelled text records — examples of browse, purchase, return, and other messages — then classify these two new query texts: 'I want to see what shoes you have' and 'how do I send this back?'","exampleUseCases":[{"title":"Customer message intent routing","prompt":"I have 50 labelled customer chat messages tagged as browse, purchase, return, or other. Train a local classifier on them and then tell me what intent these three new messages fall into: 'do you have this in blue?', 'I want to buy the large one', and 'my package arrived damaged'."},{"title":"E-commerce query triage baseline","prompt":"We're building a triage system for our online store's support queue. Can you train a naive-Bayes baseline on these 80 labelled support queries and classify the 10 new incoming messages I'm sending you so we can route them to the right team?"},{"title":"Commerce intent model evaluation","prompt":"I have a small labelled dataset of 120 commerce text samples split across browse, purchase, return, and other categories. Train a local text classifier on them and evaluate how well it performs, then classify these 5 test queries I haven't labelled yet."}],"resultDescription":"Returns classification predictions for the supplied query texts, assigning each to one of the four commerce intent labels (browse, purchase, return, other), along with evaluation metrics from the locally trained naive-Bayes baseline model.","failureModes":["Fewer than 2 records supplied — minimum input not met","More than 200 records supplied — exceeds maximum allowed","Text exceeds 1000 character limit per record — truncation or rejection","Invalid or missing 'actual' label value not in enum — validation error","Fewer than 1 or more than 20 query texts supplied — out of range","Poorly balanced training data leads to low-accuracy classifier — model quality degrades silently","Payment failure via x402 — call not executed"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, local text classification baseline for commerce intent without requiring a hosted model or foundation-model API. Ideal for prototyping, evaluating labelled datasets of up to 200 records, or building simple routing logic for browse/purchase/return/other signals. Not suitable when you need high accuracy at scale, multi-class beyond these four categories, or a persistent hosted model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:34.651Z","isFirstParty":false,"canonicalSlug":"commerce-intent-local-text-classifier-cb87b170"}