fix(RAG): Fix RAG support for taxonomies with compositional skills (backport #3060)#3147
Merged
courtneypacheco merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from Feb 17, 2025
mergify/bp/release-v0.23/pr-3060instructlab/instructlab:mergify/bp/release-v0.23/pr-3060Copy head branch name to clipboard
Merged
fix(RAG): Fix RAG support for taxonomies with compositional skills (backport #3060)#3147courtneypacheco merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from mergify/bp/release-v0.23/pr-3060instructlab/instructlab:mergify/bp/release-v0.23/pr-3060Copy head branch name to clipboard
courtneypacheco merged 1 commit intorelease-v0.23instructlab/instructlab:release-v0.23from
mergify/bp/release-v0.23/pr-3060instructlab/instructlab:mergify/bp/release-v0.23/pr-3060Copy head branch name to clipboard
Conversation
6 tasks
Signed-off-by: Bill Murdock <bmurdock@redhat.com> (cherry picked from commit 8f65ae6)
ed1f36e to
1cc3606
Compare
courtneypacheco
approved these changes
Feb 17, 2025
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.
This fixes a bug in RAG convert that causes it to fail on taxonomies that have compositional skills. The correct behavior is to ignore the compositional skills because they have no documents, but instead this was crashing when it encountered them. This PR also adds a compositional skill to the sample test taxonomy, which would have let us catch this bug.
Issue resolved by this Pull Request:
Resolves #3008
Checklist:
conventional commits.
This is an automatic backport of pull request #3060 done by [Mergify](https://mergify.com).