Skip to content

Commit

Permalink
fix profile API in example doc (#712)
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>

Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn authored Jan 25, 2023
1 parent 1d1530a commit f230a15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/model_serving_framework/text_embedding_model_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,20 @@ By default, it will monitor last 100 predict requests. You can tune this setting

```
# Sample request
POST /_plugins/_ml/profile/models/yQlW5YUB1qmVrJFlPDXc
GET /_plugins/_ml/profile/models/zwla5YUB1qmVrJFlwzXJ
# Sample response
{
"nodes": {
"0TLL4hHxRv6_G3n6y1l0BQ": {
"0TLL4hHxRv6_G3n6y1l0BQ": { # node id
"models": {
"yQlW5YUB1qmVrJFlPDXc": {
"zwla5YUB1qmVrJFlwzXJ": { # model id
"model_state": "LOADED",
"predictor": "org.opensearch.ml.engine.algorithms.text_embedding.TextEmbeddingModel@1a0b0793",
"target_worker_nodes": [
"target_worker_nodes": [ # plan to deploy model to these nodes
"0TLL4hHxRv6_G3n6y1l0BQ"
],
"worker_nodes": [
"worker_nodes": [ # model deployed to these nodes
"0TLL4hHxRv6_G3n6y1l0BQ"
],
"model_inference_stats": { // in Millisecond, time used in model part
Expand Down

0 comments on commit f230a15

Please sign in to comment.