feat: general include exclude models field in sources file#1885
Conversation
pboyd
left a comment
There was a problem hiding this comment.
The this looks really good. I was only expecting a prefix match, but your regex solution is much better.
/lgtm
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
Co-authored-by: Paul Boyd <paul@pboyd.io> Signed-off-by: Alessio Pragliola <83355398+Al-Pragliola@users.noreply.github.com>
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
6ef9c6e to
3958a5b
Compare
jonburdo
left a comment
There was a problem hiding this comment.
/lgtm as long as we do indeed want this to be case-insensitive
| Optional allow-list of models that are eligible for this source. Entries can be | ||
| exact model names or patterns that use `*` as a wildcard. When provided, only | ||
| models matching at least one pattern are considered. |
There was a problem hiding this comment.
To confirm, we want this to be case-insensitive? Maybe worth mentioning that here. I would generally assume a glob is case-sensitive like it would be in a shell.
There was a problem hiding this comment.
yeah making it case insensitive makes totally sense in my opinion in our intended use case, users probably don't even know the exact naming of the models that are needed to be excluded/included or what a glob is
There was a problem hiding this comment.
Sounds good. We should just make sure to document that
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pboyd The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This PR introduces standardized model inclusion/exclusion filtering that works consistently across all catalog source types (YAML, Hugging Face, etc.).
How Has This Been Tested?
local testing plus unit/integration tests
Merge criteria:
DCOcheck)ok-to-testhas been added to the PR.