Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix profile API in example doc #712

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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