ai-cfia / nachet-backend

A flask-based backend for Nachet to handle Azure endpoint and Azure storage API requests from the frontend.
MIT License
1 stars 3 forks source link

Create the pipeline insertion module #60

Closed MaxenceGui closed 3 months ago

MaxenceGui commented 4 months ago

Issue Description

To help the data scientist to build and push pipelines and models to the blob storage a script was drafted to create this functionality. However, it is not complete and does not reflect code standards. A complete refactoring is needed to give a more complete tool to help our data scientists.

Work to do

Create a command line application to upload the JSON file containing the pipeline and the models to the Blob Storage. Version one should be simple and ask the user the path of the document to insert in the blob storage.

Acceptance Criteria

Tasks

rngadam commented 3 months ago

Given ai-cfia/nachet-frontend#111, also a check to validate that at least one model has default = true ?

MaxenceGui commented 3 months ago

Given ai-cfia/nachet-frontend#111, also a check to validate that at least one model has default = true ?

My plan was to add a default key to the pipeline_template.yaml and allow the user (data scientist) to decide which pipeline is the default pipeline. Adding the key means I will need to add it to the Pydantic validation.

But for sure, I will add a check to validate that one of the inserted pipeline is the default one.