-
Notifications
You must be signed in to change notification settings - Fork 84
[DOC] MLCommons Tools: Add attributes to toolspec #878
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] MLCommons Tools: Add attributes to toolspec #878
Conversation
Signed-off-by: Pavan Yekbote <[email protected]>
Signed-off-by: Pavan Yekbote <[email protected]>
Attributes is actually a map that can accept any key/value pairs and these are provided to the model for added context. Primarily use input_schema and strict to share context about the expected schema to the model. Any guidelines on how to define this in the spec? |
An open structure with arbitrary key/value pairs is Start by adding/identifying a test into |
Changes AnalysisCommit SHA: 20ce07c API ChangesSummary
ReportThe full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/14917927391/artifacts/3090308855 API Coverage
|
Spec Test Coverage Analysis
|
Signed-off-by: Pavan Yekbote <[email protected]>
Thanks @dblock! I was able to validate the schema by running |
Do you mind reviewing the PR please? Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes generally look good, have added some comments for how to get the CI failures to green. Please also add an entry to the CHANGELOG.md
Signed-off-by: Pavan Yekbote <[email protected]>
Signed-off-by: Pavan Yekbote <[email protected]>
Thanks for the review @Xtansia ! I have addressed the comments, please take a look. Will track the CI. |
This PR should include tests that return these new structures. |
When I modify the attributes spec, these tend to fail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Adds attributes field for tools in ml-commons toolspec
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.