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

[DOC] ml-framework page example request doesn't work #4966

Closed
1 task done
nateynateynate opened this issue Sep 5, 2023 · 3 comments · Fixed by #5609
Closed
1 task done

[DOC] ml-framework page example request doesn't work #4966

nateynateynate opened this issue Sep 5, 2023 · 3 comments · Fixed by #5609
Assignees
Labels
2 - In progress Issue/PR: The issue or PR is in progress.

Comments

@nateynateynate
Copy link
Member

What do you want to do?

  • Request a change to existing documentation

Tell us about your request. Provide a summary of the request and all versions that are affected.

https://opensearch.org/docs/latest/ml-commons-plugin/ml-framework/ -
The example request here doesn't seem to work. It's missing the model_content_hash_value key.

image

Regarding that, it's not mentioned anywhere. When registering a model via URL, you'll have to pass that value and it's the sha256 checksum of the model zipfile. You'll want to provide instructions on how to calculate that and make it part of the call.

For comparison, the example call to register a model from the API reference page for machine learning works proper-like.

https://opensearch.org/docs/latest/ml-commons-plugin/api/

image

@Naarcha-AWS Naarcha-AWS added 1 - Backlog Issue: The issue is unassigned or assigned but not started good first issue Good for newcomers and removed untriaged labels Sep 8, 2023
@ylwu-amzn ylwu-amzn mentioned this issue Nov 13, 2023
4 tasks
@hdhalter
Copy link
Contributor

Looks like you're working on the same problem under the other issue (5591), @kolchfa-aws , so assigning to you so you can close them both. Thanks.

@kolchfa-aws
Copy link
Collaborator

@nateynateynate Did you have to calculate the hash code and if so, do you have instructions on how to do it?

@kolchfa-aws
Copy link
Collaborator

Actually, never mind. Found the command.

@hdhalter hdhalter added 2 - In progress Issue/PR: The issue or PR is in progress. and removed good first issue Good for newcomers 1 - Backlog Issue: The issue is unassigned or assigned but not started labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - In progress Issue/PR: The issue or PR is in progress.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants