Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Taxonomy reading API#33

Merged
bjhargrave merged 3 commits intoinstructlab:mainfrom
bjhargrave:taxonomy-reading
Jul 30, 2024
Merged

Taxonomy reading API#33
bjhargrave merged 3 commits intoinstructlab:mainfrom
bjhargrave:taxonomy-reading

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 <bj@hargrave.dev>
@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
Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
The description is also updated to direct users to v3.

Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
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 <hargrave@us.ibm.com>
@bjhargrave bjhargrave merged commit d5a1752 into instructlab:main Jul 30, 2024
@bjhargrave bjhargrave deleted the taxonomy-reading branch July 30, 2024 19:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants