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

Pass pipeline parameters when vh pipeline run #308

Open
SofiaChar opened this issue May 6, 2024 · 0 comments
Open

Pass pipeline parameters when vh pipeline run #308

SofiaChar opened this issue May 6, 2024 · 0 comments
Labels

Comments

@SofiaChar
Copy link

Would be convenient to have the opportunity to pass the pipelines parameters when starting the pipeline.

For example we have this pipeline defined:

- pipeline:
    name: training
    parameters:
      - name: input-csv
        targets:
          - data-preprocessing.parameters.input-csv
      - name: embeddings-fr
        targets:
          - classification-model-training.parameters.embeddings-fr
    nodes:
      - name: fetch-dump-date
        type: execution
        step: fetch-dump-date
      - name: data-preprocessing
        type: execution
        step: data-preprocessing
      - name: classification-model-training
        type: execution
        step: classification-model-training
    edges:
      - [fetch-dump-date.metadata.formatted_dump_date, data-preprocessing.parameter.csv-dump-date]
      - [data-preprocessing.output.dataset-prod.pickle, classification-model-training.input.input-df]

When staring the pipeline pass the parameters:

vh pipeline run --adhoc training --input-csv=datum://018f3966-85d4-4e02-3fb9-bdb5e0c7bf75 --embeddings-fr=datum://018f399c-381d-eb61-730c-87e65c33994b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant