-
Notifications
You must be signed in to change notification settings - Fork 470
feat(tests): add tests for models and options and api #1111
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
Conversation
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.
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
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.
Looks good! I think we need tests against the NeMoLLM, TaskPrompt, and FiddlerGuardrails BaseModel-inherited classes too. Could you add one valid and one invalid per model, to check the validation is working correctly?
Thank you @tgasser-nv for the review. NeMoLLM is deprecated (just did the rebase so that it is clear), FiddlerGuardrails is not affected by the migration PR and is a community integration. I've opened a separate PR (#1132) for TaskPrompt as I had to implement some fixes. |
fce48ef
to
a7e3fa4
Compare
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.
LGTM, just a typo nit and please merge :-)
- Add test for multiple interactions with same policy - Add test for multiple policies in single interaction - Add test for duplicate policy IDs (currently allowed) - Document missing validations for future improvement
89f0597
to
f191dc1
Compare
Description
Add more tests that might help reviewing #967