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

RSDK-9945: edits for inline docs #10

Merged
merged 3 commits into from
Feb 11, 2025
Merged

RSDK-9945: edits for inline docs #10

merged 3 commits into from
Feb 11, 2025

Conversation

bhaney
Copy link
Contributor

@bhaney bhaney commented Feb 11, 2025

Adds the meta.json and README edits for inline docs

linting complained about missing "extra" fields in the methods

@bhaney bhaney changed the title edits for inline docs RSDK-9945: edits for inline docs Feb 11, 2025
@bhaney bhaney requested a review from penguinland February 11, 2025 17:20
Copy link

@penguinland penguinland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! None of my feedback is important.

}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Hooray, having POSIX-compliant newlines at the end of files! I believe @Rob1in's IDE is configured to put them in from now on, at which point we should have fewer of these spurious diffs.

README.md Outdated
```json
{
"model_path": "${packages.ml_model.[myMLModel]}/my_model.pt",
"label_path": "${packages.ml_model.[myMLModel]}/labels.txt"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm open to disagreement on this, but I'd remove the square brackets. We want to indicate to the user that the curly braces should literally be there in the config, and I think adding brackets you're supposed to remove confuses this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfectly fine, removed the square brackets

meta.json Outdated
"model": "viam:mlmodel:torch-cpu"
"model": "viam:mlmodel:torch-cpu",
"markdown_link": "README.md#example-configuration",
"short_description": "An ML Model Service that can run PyTorch models of a standard format"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is "of" the right word at the end? I would have gone with "in" but don't feel strongly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not the best at English so I defer to you

@bhaney bhaney merged commit e09ebc1 into main Feb 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants