# Product Category Taxonomy Prompt Template Generator

> Product Category Taxonomy Prompt Template Generator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Generates a taxonomy prompt template for classifying product text into categories (apparel, home, electronics, other) using up to 200 labelled sample records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-product-category-prompt-template?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/product-category-taxonomy-prompt-template-generator-b9e0db78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_387_5pq4duIrE3E6k-UA1

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability product-category-taxonomy-prompt-template-generator-b9e0db78 -d '<json body>'
```

Example prompt: I have 12 labelled product description records — 3 each for apparel, home, electronics, and other — and I need you to generate a taxonomy prompt template I can use to classify new product text into those four categories.

## When to prefer this

Choose this endpoint when you need a cheap, fast taxonomy prompt template for classifying product text into the four standard categories (apparel, home, electronics, other) using your own labelled examples as few-shot context — especially when you want a ready-to-use prompt artifact rather than a trained model, and when your dataset is small (under 200 records). Prefer this over full ML training pipelines when speed, cost ($0.01 per call), and simplicity matter more than peak accuracy.

## Known failure modes

- Fewer than 2 records supplied — minItems validation error
- Record text exceeds 1000 characters — schema validation failure
- More than 200 records supplied — maxItems exceeded
- Invalid category label outside enum (apparel, home, electronics, other) — validation error
- Missing required fields (id, text, actual) on any record — schema rejection

## How this service works

Product category - Taxonomy prompt template: Taxonomy prompt template for Product category. 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 taxonomy prompt template deliverable.

## Output

A bounded taxonomy prompt template deliverable built from the supplied labelled records, structured for use in product category classification tasks across the four defined classes (apparel, home, electronics, other). The template incorporates the provided few-shot examples and is suitable for use with local tools or LLM-based classification pipelines.

## Request schema (JSON Schema)

```json
{
 "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": [
       "apparel",
       "home",
       "electronics",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "apparel sample document number 0 for this supplied dataset.",
     "actual": "apparel"
    },
    {
     "id": "example-0-1",
     "text": "apparel sample document number 1 for this supplied dataset.",
     "actual": "apparel"
    },
    {
     "id": "example-0-2",
     "text": "apparel sample document number 2 for this supplied dataset.",
     "actual": "apparel"
    },
    {
     "id": "example-1-0",
     "text": "home sample document number 0 for this supplied dataset.",
     "actual": "home"
    },
    {
     "id": "example-1-1",
     "text": "home sample document number 1 for this supplied dataset.",
     "actual": "home"
    },
    {
     "id": "example-1-2",
     "text": "home sample document number 2 for this supplied dataset.",
     "actual": "home"
    },
    {
     "id": "example-2-0",
     "text": "electronics sample document number 0 for this supplied dataset.",
     "actual": "electronics"
    },
    {
     "id": "example-2-1",
     "text": "electronics sample document number 1 for this supplied dataset.",
     "actual": "electronics"
    },
    {
     "id": "example-2-2",
     "text": "electronics sample document number 2 for this supplied dataset.",
     "actual": "electronics"
    },
    {
     "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/product-category-taxonomy-prompt-template-generator-b9e0db78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
