Overview
Once an input is created, add a data file to test the model. The Model service has APIs to create, get, update, and delete input test files.
Ensure the input test file’s media type, name, and size match the input requirements.
The inputs object
{
"name": "...",
"acceptedMediaTypes": "...",
"maximumSize": 12345,
"description": "..."
}
Parameters | Type | Description |
---|---|---|
name | string | The input’s name. The input name provided to run a model must match this name. |
acceptedMediaTypes | string | The input file MIME types the model supports. |
maximumSize | number | The maximum amount of data in bytes the model can process per input item. |
description | string | The input’s details such as options, dependencies, requirements, and other special considerations. It’s featured in the Model Details page. It supports content in Markdown format for including rich text, links, images, etc. |