ai_few_shot
Few-shot example generator — Generate realistic, varied few-shot examples (input/output pairs) for prompting or evaluating an LLM on any task, including edge cases. With labels= the outputs are forced to your exact labels and balanced across them; near-duplicate inputs and off-label outputs are dropped offline. Returns the examples, label counts, balance flag, input length stats and a ready-to-paste prompt block. Optional: labels= comma list, n= 2-12, format=, domain=. Nothing stored. Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "ai_few_shot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | e.g. Classify the sentiment of product reviews |