-
Notifications
You must be signed in to change notification settings - Fork 659
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
[Core feature] pyflyte run
should support a simple json/yaml as input for all parameters
#5365
Comments
Flyte's Example: # input.yaml
x: 1
y: hello Command: pyflyte run test.py wf --flyte-input-yaml input.yaml Would you like more detail? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
@RunLLM The given link handles yaml/json for singular inputs. I am suggesting one input field for all inputs as an option |
Flyte's Would you like more detail? Sources: This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
cc @mao3267 |
#take |
Motivation: Why do you think this is important?
Today
pyflyte run
supports passing json/yaml for dataclass/pydantic or json type arguments. But, often times folks just want to pass various parameters are one json/yaml.This should be Optional It should continue to support existing parameters
Goal: What should the final outcome look like, ideally?
For a workflow like
It should be possible to create a yaml like
input.yaml
and then pass it using
Important to note
should list all required and non-required parameters. Also required parameters should be checked before calling the remote.
Describe alternatives you've considered
NA
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: