-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy pathml.infer_trained_model.json
41 lines (41 loc) · 1.07 KB
/
ml.infer_trained_model.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"ml.infer_trained_model": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/infer-trained-model.html",
"description": "Evaluate a trained model."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_ml/trained_models/{model_id}/_infer",
"methods": ["POST"],
"parts": {
"model_id": {
"type": "string",
"description": "The unique identifier of the trained model.",
"required": true
}
}
}
]
},
"params": {
"timeout": {
"type": "time",
"required": false,
"description": "Controls the amount of time to wait for inference results.",
"default": "10s"
}
},
"body": {
"description": "The docs to apply inference on and inference configuration overrides",
"required": true
}
}
}