Training Dataset Cleanup
0.02 USDC per completed job
Trim outer whitespace, reject empty records, remove exact duplicates and export JSONL. Up to 500 flat records; no semantic deduplication.
POST /x402/ai-dataset-clean
Request example and input schema
{
"records": [
{
"text": "Delivery was quick.",
"label": "positive"
},
{
"text": "The package arrived damaged.",
"label": "negative"
},
{
"text": "Delivery was quick.",
"label": "positive"
}
]
}{
"type": "object",
"properties": {
"records": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"minItems": 1,
"maxItems": 500,
"default": [
{
"text": "Delivery was quick.",
"label": "positive"
},
{
"text": "The package arrived damaged.",
"label": "negative"
},
{
"text": "Delivery was quick.",
"label": "positive"
}
]
}
},
"required": [
"records"
],
"additionalProperties": false
}