Skip to content

Commit f230a15

Browse files
authored
fix profile API in example doc (#712)
Signed-off-by: Yaliang Wu <[email protected]> Signed-off-by: Yaliang Wu <[email protected]>
1 parent 1d1530a commit f230a15

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/model_serving_framework/text_embedding_model_examples.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,20 +178,20 @@ By default, it will monitor last 100 predict requests. You can tune this setting
178178

179179
```
180180
# Sample request
181-
POST /_plugins/_ml/profile/models/yQlW5YUB1qmVrJFlPDXc
181+
GET /_plugins/_ml/profile/models/zwla5YUB1qmVrJFlwzXJ
182182
183183
# Sample response
184184
{
185185
"nodes": {
186-
"0TLL4hHxRv6_G3n6y1l0BQ": {
186+
"0TLL4hHxRv6_G3n6y1l0BQ": { # node id
187187
"models": {
188-
"yQlW5YUB1qmVrJFlPDXc": {
188+
"zwla5YUB1qmVrJFlwzXJ": { # model id
189189
"model_state": "LOADED",
190190
"predictor": "org.opensearch.ml.engine.algorithms.text_embedding.TextEmbeddingModel@1a0b0793",
191-
"target_worker_nodes": [
191+
"target_worker_nodes": [ # plan to deploy model to these nodes
192192
"0TLL4hHxRv6_G3n6y1l0BQ"
193193
],
194-
"worker_nodes": [
194+
"worker_nodes": [ # model deployed to these nodes
195195
"0TLL4hHxRv6_G3n6y1l0BQ"
196196
],
197197
"model_inference_stats": { // in Millisecond, time used in model part

0 commit comments

Comments
 (0)