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

Use instructlab-schema package to parse qna.yaml files #62

Merged
merged 4 commits into from
Aug 22, 2024

Conversation

bjhargrave
Copy link
Contributor

We remove code duplicated with instructlab to use the shared code from instructlab-schema package.

See instructlab/schema#33

@mergify mergify bot added the CI/CD Affects CI/CD configuration label Jul 1, 2024
@bjhargrave
Copy link
Contributor Author

@russellb Here is a draft PR using the taxonomy parsing code in instructlab/schema#33. Would be great to get your feedback on the instructlab-schema code before I merge.

@bjhargrave bjhargrave force-pushed the schema-taxonomy-parsing branch from e475b9d to 9a1a748 Compare August 2, 2024 15:03
@bjhargrave bjhargrave marked this pull request as ready for review August 2, 2024 15:03
@mergify mergify bot added the testing Relates to testing label Aug 2, 2024
@bjhargrave
Copy link
Contributor Author

@hickeyma This PR is now ready for review.

@bjhargrave bjhargrave changed the title WIP: Use instructlab-schema package to parse qna.yaml files Use instructlab-schema package to parse qna.yaml files Aug 2, 2024
Copy link
Member

@hickeyma hickeyma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @bjhargrave

@hickeyma hickeyma requested a review from markmc August 6, 2024 14:22
@bjhargrave bjhargrave force-pushed the schema-taxonomy-parsing branch from 9a1a748 to 5c23285 Compare August 19, 2024 18:24
@mergify mergify bot added documentation Improvements or additions to documentation ci-failure labels Aug 19, 2024
@bjhargrave bjhargrave force-pushed the schema-taxonomy-parsing branch from 5c23285 to 4d4aacb Compare August 19, 2024 18:27
@mergify mergify bot removed the ci-failure label Aug 19, 2024
@bjhargrave bjhargrave force-pushed the schema-taxonomy-parsing branch from 4d4aacb to 8476da7 Compare August 19, 2024 18:33
Copy link
Member

@nathan-weinberg nathan-weinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did this in the CLI, we should align SDG as well

@hickeyma
Copy link
Member

hickeyma commented Aug 22, 2024

@Mergifyio rebase

bjhargrave and others added 3 commits August 22, 2024 07:18
The ci build does not test python 3.9 and instructlab now requires
3.10 as the base version of python.

Signed-off-by: BJ Hargrave <[email protected]>
We remove code duplicated with instructlab to use the shared code
from instructlab-schema package.

A test case is also fixed which incorrectly passed a config string when
the name of a config file is the proper argument.

Signed-off-by: BJ Hargrave <[email protected]>
Copy link
Contributor

mergify bot commented Aug 22, 2024

rebase

✅ Branch has been successfully rebased

@hickeyma hickeyma force-pushed the schema-taxonomy-parsing branch from 8476da7 to 0b2f5a4 Compare August 22, 2024 07:18
@mergify mergify bot added the ci-failure label Aug 22, 2024
class for the YAML rule. This is to adhere to the centralized
schema validation and parsing in https://github.com/instructlab/schema.

Signed-off-by: Martin Hickey <[email protected]>
@mergify mergify bot removed the ci-failure label Aug 22, 2024
@hickeyma
Copy link
Member

hickeyma commented Aug 22, 2024

CLI now using schema parsing and validation. Ref: instructlab/instructlab#1962. Reviewed and ready to merge.

@hickeyma hickeyma merged commit 2a1f387 into instructlab:main Aug 22, 2024
13 checks passed
@bjhargrave bjhargrave deleted the schema-taxonomy-parsing branch August 22, 2024 12:27
jwm4 pushed a commit to jwm4/sdg that referenced this pull request Dec 13, 2024
…actions/step-security/harden-runner-2.8.0

build(deps): bump step-security/harden-runner from 2.7.1 to 2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Affects CI/CD configuration documentation Improvements or additions to documentation testing Relates to testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants