@huggingface/tasks
Version:
List of ML tasks for huggingface.co/tasks
35 lines (34 loc) • 874 B
JSON
{
"$id": "/inference/schemas/<TASK_ID>/input.json",
"$schema": "http://json-schema.org/draft-06/schema#",
"description": "Inputs for <TASK_ID> inference",
"title": "PlaceholderInput",
"type": "object",
"properties": {
"inputs": {
"description": "TODO: describe the input here. This must be model & framework agnostic.",
"type": "string"
},
"parameters": {
"description": "TODO: describe additional parameters here.",
"$ref": "#/$defs/<TASK_ID>Parameters"
}
},
"$defs": {
"<TASK_ID>Parameters": {
"title": "<TASK_ID>Parameters",
"type": "object",
"properties": {
"dummy_parameter_name": {
"type": "boolean",
"description": "TODO: describe the parameter here"
},
"dummy_parameter_name2": {
"type": "integer",
"description": "TODO: describe the parameter here"
}
}
}
},
"required": ["inputs"]
}