Skip to content

Commit

Permalink
add note for model interface
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn committed Feb 25, 2025
1 parent d1448d3 commit b7d8a13
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Sample response
### 1.2 Create Model
Now, let's create a model using the connector we just set up:

Note: The `interface` parameter is optional. If you don't need an interface, you can simply set it as an empty object: `"interface": {}`. For more information about model interfaces, see the [model interface documentation](https://opensearch.org/docs/latest/ml-commons-plugin/api/model-apis/register-model/#the-interface-parameter).

```
POST _plugins/_ml/models/_register?deploy=true
{
Expand Down

0 comments on commit b7d8a13

Please sign in to comment.