mindchain/nemo-datadesigner-api
0
NVIDIA NeMo DataDesigner API
REST API for synthetic data generation using NVIDIA NeMo DataDesigner with z.ai backend.
Endpoints
Usage
Generate Data
curl -X POST https://mindchain-nemo-datadesigner-api.hf.space/generate \
-H "Content-Type: application/json" \
-d '{
"num_records": 5,
"model": "glm-4.7",
"columns": [
{
"name": "category",
"type": "sampler",
"params": {
"sampler_type": "CATEGORY",
"values": ["Electronics", "Books", "Clothing"]
}
},
{
"name": "review",
"type": "llm_text",
"params": {
"prompt": "Write a brief product review for a {{ category }} item."
}
}
]
}'Preview
curl -X POST https://mindchain-nemo-datadesigner-api.hf.space/preview \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7",
"columns": [
{"name": "category", "type": "sampler", "params": {"sampler_type": "CATEGORY", "values": ["A", "B"]}},
{"name": "text", "type": "llm_text", "params": {"prompt": "Generate text about {{ category }}"}}
]
}'