{"uid":"cap_l9YUqaqgrwYYlvMPrN5QH","slug":"feedback-theme-local-text-classifier-train-classify-6817ec41","name":"Feedback Theme Local Text Classifier — Train & Classify","description":"Feedback theme - Train local text baseline and classify: Train local text baseline and classify for Feedback theme. 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-feedback-theme-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":["quality","price","delivery","support"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"quality sample document number 0 for this supplied dataset.","actual":"quality"},{"id":"example-0-1","text":"quality sample document number 1 for this supplied dataset.","actual":"quality"},{"id":"example-0-2","text":"quality sample document number 2 for this supplied dataset.","actual":"quality"},{"id":"example-1-0","text":"price sample document number 0 for this supplied dataset.","actual":"price"},{"id":"example-1-1","text":"price sample document number 1 for this supplied dataset.","actual":"price"},{"id":"example-1-2","text":"price sample document number 2 for this supplied dataset.","actual":"price"},{"id":"example-2-0","text":"delivery sample document number 0 for this supplied dataset.","actual":"delivery"},{"id":"example-2-1","text":"delivery sample document number 1 for this supplied dataset.","actual":"delivery"},{"id":"example-2-2","text":"delivery sample document number 2 for this supplied dataset.","actual":"delivery"},{"id":"example-3-0","text":"support sample document number 0 for this supplied dataset.","actual":"support"},{"id":"example-3-1","text":"support sample document number 1 for this supplied dataset.","actual":"support"},{"id":"example-3-2","text":"support sample document number 2 for this supplied dataset.","actual":"support"}],"maxItems":200,"minItems":2},"query_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["quality 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_xx1WI75wwEWgCrvipB-SD","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 local naive-Bayes text classifier on up to 200 labelled feedback records and classifies new query texts into quality, price, delivery, or support themes.","exampleAgentPrompt":"Train a feedback theme classifier using these 12 labelled examples I have — some tagged 'quality', some 'price', some 'delivery', some 'support' — and then classify this new review: 'The package arrived late and the zipper broke after one use.'","exampleUseCases":[{"title":"E-commerce review theme triage","prompt":"I have 80 labelled customer reviews tagged as quality, price, delivery, or support — train a classifier on them and tell me which theme best fits these 5 new reviews I just received."},{"title":"Support ticket auto-routing baseline","prompt":"Train a simple text baseline using my 150 labelled support tickets — each marked as quality, price, delivery, or support — and classify these 10 incoming tickets so I can route them to the right team."},{"title":"Feedback dataset quality check","prompt":"I want to test how well a naive Bayes model separates my feedback categories. Use these 60 labelled records split across quality, price, delivery, and support to train and evaluate a local baseline."}],"resultDescription":"Returns classification predictions for the supplied query texts, with each query mapped to one of the four feedback themes (quality, price, delivery, support), along with baseline model evaluation metrics derived from the supplied labelled training records.","failureModes":["Fewer than 2 labelled records supplied — request rejected due to minItems constraint","More than 200 records submitted — exceeds maxItems limit","Missing required fields (id, text, actual) on any record — validation error","Query texts array empty or exceeds 20 items — schema violation","Insufficient class coverage in training data may produce degenerate classifier","Payment not included or insufficient USDC — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have a small labelled feedback dataset (up to 200 examples) and need a quick, cheap baseline text classifier across the four standard feedback themes (quality, price, delivery, support) without relying on a hosted model or foundation model API. It is ideal for prototyping, evaluation, or low-volume classification tasks where a naive-Bayes local model is sufficient and cost must stay at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:47:14.465Z","isFirstParty":false,"canonicalSlug":"feedback-theme-local-text-classifier-train-classify-6817ec41"}