Use instructlab-schema package to parse qna.yaml files#1962
Use instructlab-schema package to parse qna.yaml files#1962mergify[bot] merged 1 commit intoinstructlab:mainfrom
Conversation
|
This pull request has merge conflicts that must be resolved before it can be |
fc4518c to
2c90fb8
Compare
|
This pull request has merge conflicts that must be resolved before it can be |
2c90fb8 to
af90b58
Compare
|
Right now taxonomy diff does 5 layers of checking. Those 5 layers will be handled by this now. @nathan-weinberg can you describe the 5 layers here? This came up in our team weekly meeting today, when it was suggested taxonomy diff should check the yaml schema version and let the user know if supported or not. Right now we flag at sdg generate and that's a bit late in the process. |
|
The parsing/validation code will check the knowledge version for v3 and report an error for v1/v2. There is a test case in this PR for this. The parsing/validation code will handle the linting and json schema validation reporting errors if found. I don't know what the 5 layers are. |
We replace parsing/validation code to use the shared code from instructlab-schema package. Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
af90b58 to
0c3a5b2
Compare
|
5 layers are:
This PR should defintely be a |
We replace parsing/validation code to use the shared code from instructlab-schema package.
Checklist:
conventional commits.