We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@step
Add a @step decorator allowing to easily create new steps.
@step(inputs=["instruction"], outputs=["generation"]) def MyStep(input: StepInput, runtime_param1: RuntimeParameter[int], runtime_param2: RuntimeParameter[str] = "hello"0 -> StepOutput: ... with Pipeline(): step = MyStep(name="my_step")
The decorator will create a subclass of Step programatically that can be used in a Pipeline.
Step
Pipeline
The text was updated successfully, but these errors were encountered:
step
gabrielmbmb
Successfully merging a pull request may close this issue.
Add a
@step
decorator allowing to easily create new steps.The decorator will create a subclass of
Step
programatically that can be used in aPipeline
.The text was updated successfully, but these errors were encountered: