feat(search): add --schema-version flag to NL search for OASF version scoping#1813
Merged
Conversation
paralta
force-pushed
the
feat/nl-search-with-oasf-version
branch
from
July 15, 2026 11:31
8d62fe0 to
7275556
Compare
paralta
force-pushed
the
feat/nl-search-with-oasf-version
branch
from
July 15, 2026 11:38
7275556 to
d0d2764
Compare
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
paralta
force-pushed
the
feat/nl-search-with-oasf-version
branch
from
July 15, 2026 15:28
d0d2764 to
0f0b863
Compare
paralta
marked this pull request as ready for review
July 15, 2026 15:48
ramizpolic
approved these changes
Jul 15, 2026
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records published against OASF 1.0.0 use different skill taxonomy names than records enriched with 1.1.0, so after re-provisioning the extractor with the new schema, natural-language queries generate only 1.1.0 signals and miss older records. This PR adds a
--schema-versionflag to bothdirctl searchanddirctl routing searchthat pins the OASF taxonomy version(s) used during query decomposition, letting operators bridge the gap while older records are re-enriched.DecomposeandDecomposeWithMinScoreaccept variadicsdk.QueryOptionarguments and forward them toext.Extract, keeping existing callers (routing NL search) unchanged with no extra arguments.--schema-versionis omitted the behavior is identical to before — the extractor defaults toScopeAlland covers every provisioned version.