{"uid":"cap_WB3ShswwmFzohTyq_o4lK","slug":"lead-stage-text-classifier-train-classify-f97d3cfe","name":"Lead Stage Text Classifier – Train & Classify","description":"Lead stage - Train local text baseline and classify: Train local text baseline and classify for Lead stage. 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-lead-stage-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":["enquiry","qualified","negotiation","closed"],"type":"string"}},"additionalProperties":false},"default":[{"id":"example-0-0","text":"enquiry sample document number 0 for this supplied dataset.","actual":"enquiry"},{"id":"example-0-1","text":"enquiry sample document number 1 for this supplied dataset.","actual":"enquiry"},{"id":"example-0-2","text":"enquiry sample document number 2 for this supplied dataset.","actual":"enquiry"},{"id":"example-1-0","text":"qualified sample document number 0 for this supplied dataset.","actual":"qualified"},{"id":"example-1-1","text":"qualified sample document number 1 for this supplied dataset.","actual":"qualified"},{"id":"example-1-2","text":"qualified sample document number 2 for this supplied dataset.","actual":"qualified"},{"id":"example-2-0","text":"negotiation sample document number 0 for this supplied dataset.","actual":"negotiation"},{"id":"example-2-1","text":"negotiation sample document number 1 for this supplied dataset.","actual":"negotiation"},{"id":"example-2-2","text":"negotiation sample document number 2 for this supplied dataset.","actual":"negotiation"},{"id":"example-3-0","text":"closed sample document number 0 for this supplied dataset.","actual":"closed"},{"id":"example-3-1","text":"closed sample document number 1 for this supplied dataset.","actual":"closed"},{"id":"example-3-2","text":"closed sample document number 2 for this supplied dataset.","actual":"closed"}],"maxItems":200,"minItems":2},"query_texts":{"type":"array","items":{"type":"string","default":"","maxLength":1000},"default":["enquiry 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_A0Q-8foqt4hoAE68hoFdd","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 lead-stage records and classifies new query texts into enquiry, qualified, negotiation, or closed stages.","exampleAgentPrompt":"Train a lead-stage text classifier on my 50 labelled CRM notes — some marked enquiry, qualified, negotiation, or closed — and then classify these 3 new prospect messages: 'interested in a demo', 'ready to sign the contract', 'just browsing your website'.","exampleUseCases":[{"title":"CRM note pipeline stage tagger","prompt":"I have 80 past sales notes each labelled as enquiry, qualified, negotiation, or closed. Train a classifier on those and tell me which stage these 5 new prospect emails belong to."},{"title":"Sales lead scoring baseline","prompt":"Can you build a quick text baseline model from my 120 labelled lead records and evaluate how well it can predict whether a new inbound message is an enquiry or already qualified?"},{"title":"Automated deal stage detector","prompt":"I've got 150 annotated conversation snippets from our pipeline — labelled as enquiry, qualified, negotiation, or closed. Train a local classifier and run it against these 10 new chat transcripts so I know what stage each deal is at."}],"resultDescription":"Returns predicted lead-stage labels (enquiry, qualified, negotiation, or closed) for each submitted query text, along with evaluation metrics from the trained naive-Bayes model such as accuracy or per-class scores derived from the supplied labelled dataset.","failureModes":["Fewer than 2 labelled records supplied — minimum input requirement not met","Missing required fields (id, text, actual) in any record — validation error","Text exceeds 1000-character limit per record — truncation or rejection","Fewer than 1 or more than 20 query texts supplied — out-of-range error","Class imbalance in training data leading to poor classification of minority stages","Payment not processed (402 response) — x402 payment required before classification is run"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, local naive-Bayes baseline classifier for CRM lead-stage categorisation without access to a hosted model or LLM. Ideal for small datasets (up to 200 records), quick pipeline-stage prototyping, or cost-sensitive automation where $0.01 per run and a bounded, interpretable model are acceptable tradeoffs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:47:46.741Z","isFirstParty":false,"canonicalSlug":"lead-stage-text-classifier-train-classify-f97d3cfe"}