Skip to content
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

Taxonomy reading API #33

Merged
merged 3 commits into from
Jul 30, 2024
Merged

Conversation

bjhargrave
Copy link
Contributor

Add a central API for parsing and validating taxonomy qna.yaml files.

@bjhargrave bjhargrave force-pushed the taxonomy-reading branch 13 times, most recently from 4eafaac to bbf2c7a Compare July 1, 2024 20:49
bjhargrave added a commit to bjhargrave/instructlab_sdg that referenced this pull request Jul 1, 2024
We remove code duplicated with instructlab to use the shared code
from instructlab-schema package.

See instructlab/schema#33

Signed-off-by: BJ Hargrave <[email protected]>
@bjhargrave bjhargrave force-pushed the taxonomy-reading branch 5 times, most recently from e860d61 to 7b84b29 Compare July 3, 2024 13:09
@bjhargrave bjhargrave force-pushed the taxonomy-reading branch 9 times, most recently from ac285f1 to 603e02f Compare July 7, 2024 10:41
The description is also updated to direct users to v3.

Signed-off-by: BJ Hargrave <[email protected]>
The parse method will yamllint and jsonschema validate a qna.yaml file.
It will return an object holding the parsed yaml.

Signed-off-by: BJ Hargrave <[email protected]>
@bjhargrave bjhargrave merged commit d5a1752 into instructlab:main Jul 30, 2024
14 checks passed
@bjhargrave bjhargrave deleted the taxonomy-reading branch July 30, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants