62trust / 100

Assistant Sector Ml Task Type Local Classifier

by market.datapackvibe.com in Productivity & SaaS

x402 APIFailing, checked 1 h ago

Task type - Train local text baseline and classify: Train local text baseline and classify for Task type. 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.

POST https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-local-classifier

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
70.0%
Response time
995 ms typical, 2.4 s slowest 5%
Last check
1 h ago: Expected HTTP 402, got 530
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-local-classifier" \
  -H "content-type: application/json" \
  -d '{"query_texts":["research sample"],"records":[{"actual":"research","id":"example-0-0","text":"research sample document number 0 for this supplied dataset."},{"actual":"research","id":"example-0-1","text":"research sample document number 1 for this supplied dataset."},{"actual":"research","id":"example-0-2","text":"research sample document number 2 for this supplied dataset."},{"actual":"writing","id":"example-1-0","text":"writing sample document number 0 for this supplied dataset."},{"actual":"writing","id":"example-1-1","text":"writing sample document number 1 for this supplied dataset."},{"actual":"writing","id":"example-1-2","text":"writing sample document number 2 for this supplied dataset."},{"actual":"analysis","id":"example-2-0","text":"analysis sample document number 0 for this supplied dataset."},{"actual":"analysis","id":"example-2-1","text":"analysis sample document number 1 for this supplied dataset."},{"actual":"analysis","id":"example-2-2","text":"analysis sample document number 2 for this supplied dataset."},{"actual":"implementation","id":"example-3-0","text":"implementation sample document number 0 for this supplied dataset."},{"actual":"implementation","id":"example-3-1","text":"implementation sample document number 1 for this supplied dataset."},{"actual":"implementation","id":"example-3-2","text":"implementation sample document number 2 for this supplied dataset."}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmarket.datapackvibe.com%2Fx402%2Fassistant-sector-ml-task-type-local-classifier
const res = await pay("https://market.datapackvibe.com/x402/assistant-sector-ml-task-type-local-classifier", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"query_texts":["research sample"],"records":[{"actual":"research","id":"example-0-0","text":"research sample document number 0 for this supplied dataset."},{"actual":"research","id":"example-0-1","text":"research sample document number 1 for this supplied dataset."},{"actual":"research","id":"example-0-2","text":"research sample document number 2 for this supplied dataset."},{"actual":"writing","id":"example-1-0","text":"writing sample document number 0 for this supplied dataset."},{"actual":"writing","id":"example-1-1","text":"writing sample document number 1 for this supplied dataset."},{"actual":"writing","id":"example-1-2","text":"writing sample document number 2 for this supplied dataset."},{"actual":"analysis","id":"example-2-0","text":"analysis sample document number 0 for this supplied dataset."},{"actual":"analysis","id":"example-2-1","text":"analysis sample document number 1 for this supplied dataset."},{"actual":"analysis","id":"example-2-2","text":"analysis sample document number 2 for this supplied dataset."},{"actual":"implementation","id":"example-3-0","text":"implementation sample document number 0 for this supplied dataset."},{"actual":"implementation","id":"example-3-1","text":"implementation sample document number 1 for this supplied dataset."},{"actual":"implementation","id":"example-3-2","text":"implementation sample document number 2 for this supplied dataset."}]}),
});
console.log(await res.json());

Example input

{
  "query_texts": [
    "research sample"
  ],
  "records": [
    {
      "actual": "research",
      "id": "example-0-0",
      "text": "research sample document number 0 for this supplied dataset."
    },
    {
      "actual": "research",
      "id": "example-0-1",
      "text": "research sample document number 1 for this supplied dataset."
    },
    {
      "actual": "research",
      "id": "example-0-2",
      "text": "research sample document number 2 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-0",
      "text": "writing sample document number 0 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-1",
      "text": "writing sample document number 1 for this supplied dataset."
    },
    {
      "actual": "writing",
      "id": "example-1-2",
      "text": "writing sample document number 2 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-0",
      "text": "analysis sample document number 0 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-1",
      "text": "analysis sample document number 1 for this supplied dataset."
    },
    {
      "actual": "analysis",
      "id": "example-2-2",
      "text": "analysis sample document number 2 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-0",
      "text": "implementation sample document number 0 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-1",
      "text": "implementation sample document number 1 for this supplied dataset."
    },
    {
      "actual": "implementation",
      "id": "example-3-2",
      "text": "implementation sample document number 2 for this supplied dataset."
    }
  ]
}

Example output

{
  "files": [],
  "order_id": "ord_example",
  "result": {
    "completed": true,
    "workflow": "sector-ml-task-type-local-classifier"
  },
  "sku": "assistant-sector-ml-task-type-local-classifier",
  "status": "delivered"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoExpected HTTP 402, got 53053035 ms-
4 h agoExpected HTTP 402, got 53053037 ms-
8 h agoPassed402995 ms$0.01
11 h agoExpected HTTP 402, got 50250289 ms-
15 h agoPassed4023.0 s$0.01
19 h agoPassed40271 ms$0.01
22 h agoPassed4021.2 s$0.01
27 h agoPassed4022.4 s$0.01
30 h agoPassed402520 ms$0.01
35 h agoPassed402197 ms$0.01