-
Notifications
You must be signed in to change notification settings - Fork 15
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
add missing mandatory parameters for generate_data #50
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm that I had the same problem when either repo_pr
or repo_branch
were not set and setting both chunk_word_count
and server_ctx_size
fixed it.
LGTM - minus the comment about pipeline.yaml
changing.
pipeline.yaml
Outdated
] && [ {{$.inputs.parameters[''repo_pr'']}} -gt 0 ]; then git fetch origin | ||
pull/{{$.inputs.parameters[''repo_pr'']}}/head:{{$.inputs.parameters[''repo_pr'']}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why these lines changed, any idea? git_clone_op
was not modified.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's my mistake. In this PR, I have forgot to generate the pipeline.yaml after this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, thanks for the clarification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JudeNiroshan can you remove this change from this PR? Then we can merge it 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have #55 first, to fix the pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok #55 is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @JudeNiroshan please rebase.
Please install https://docs.astral.sh/ruff/installation/ on your system and run |
365e3d2
to
9c21c7c
Compare
add missing mandatory parameters for generate_data
add missing mandatory parameters for generate_data
When running SDG with against taxonomy-base "empty", SDG failed due to missing mandatory parameters.
Users can trigger full SDG workflow by providing an arbitrary negative number as the pr number when initiating a pipeline run.