Skip to content

Commit

Permalink
feat: add workflows_gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-vm committed Nov 28, 2023
1 parent c1f4862 commit b0dbafe
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions workflows_gallery/cloud_segmentation_workflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"workflowPieces":{"2569_f896c512-7a37-4f85-a1a6-0e256e77848b":{"id":2569,"name":"NasaEarthImagePiece","description":"This Piece uses the NASA EPIC API to get satellite images of the Earth.\nReferences: \n- https://epic.gsfc.nasa.gov/about/api \n- https://api.nasa.gov/","dependency":{"dockerfile":null,"requirements_file":"requirements.txt"},"source_image":"ghcr.io/tauffer-consulting/data_apis_domino_pieces:0.2.0-group0","input_schema":{"$defs":{"LocationTypes":{"enum":["random","America","Atlantic Ocean","Africa","Asia","Pacific Ocean"],"title":"LocationTypes","type":"string"}},"properties":{"location":{"allOf":[{"$ref":"#/$defs/LocationTypes"}],"default":"random","description":"Retrieve image centered approximately on this location."}},"title":"NasaEarthImagePiece","type":"object"},"output_schema":{"properties":{"image_url":{"default":null,"description":"URL of the image.","title":"Image Url","type":"string"},"image_base64_string":{"default":null,"description":"Output data as base64 encoded string.","title":"Image Base64 String","type":"string"},"image_file_path":{"default":null,"description":"Path to the image file.","title":"Image File Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":{"properties":{"NASA_API_KEY":{"default":"DEMO_KEY","description":"API key for NASA Earth Image API.","title":"Nasa Api Key","type":"string"}},"title":"SecretsModel","type":"object"},"style":{"module":"NasaEarthImagePiece","label":"NASA Earth Image","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"ion:earth-sharp","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/data_apis_domino_pieces/tree/main/pieces/NasaEarthImagePiece","repository_url":"https://github.com/Tauffer-Consulting/data_apis_domino_pieces","repository_id":569},"2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7":{"id":2577,"name":"OpenCVFilterPiece","description":"Piece that uses OpenCV filter on an Image","dependency":{"dockerfile":"Dockerfile_opencv","requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/ml-domino-pieces:0.2.0-group1","input_schema":{"$defs":{"FilterNaem":{"enum":["canny","binary"],"title":"FilterNaem","type":"string"}},"properties":{"image_path":{"description":"The path to the image to apply filter.","from_upstream":"always","title":"Image Path","type":"string"},"filter_name":{"allOf":[{"$ref":"#/$defs/FilterNaem"}],"default":"canny","description":"The name of the filter to apply.","title":"Filter Name"}},"required":["image_path"],"title":"OpenCVFilterPiece","type":"object"},"output_schema":{"properties":{"image_path":{"description":"The path to the image with the filter applied.","title":"Output image Path","type":"string"}},"required":["image_path"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"OpenCVFilterPiece","label":"OpenCV Filter Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"material-symbols:image-outline","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/OpenCVFilterPiece","repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","repository_id":570}},"workflowPiecesData":{"2569_f896c512-7a37-4f85-a1a6-0e256e77848b":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"location":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"random"}}},"2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"image_path":{"fromUpstream":true,"upstreamId":"NasaEarthI_f896c5127a374f85a1a60e256e77848b","upstreamArgument":"image_file_path","upstreamValue":"NasaEarthImagePiece (f896c512) - Image File Path","value":""},"filter_name":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"binary"}}}},"workflowNodes":[{"id":"2569_f896c512-7a37-4f85-a1a6-0e256e77848b","type":"CustomNode","position":{"x":556,"y":235.5},"data":{"name":"NasaEarthImagePiece","style":{"module":"NasaEarthImagePiece","label":"NASA Earth Image","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"ion:earth-sharp","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70},{"id":"2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7","type":"CustomNode","position":{"x":842,"y":269.5},"data":{"name":"OpenCVFilterPiece","style":{"module":"OpenCVFilterPiece","label":"OpenCV Filter Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"material-symbols:image-outline","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":true,"dragging":false}],"workflowEdges":[{"source":"2569_f896c512-7a37-4f85-a1a6-0e256e77848b","sourceHandle":"source-2569_f896c512-7a37-4f85-a1a6-0e256e77848b","target":"2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7","targetHandle":"target-2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7","id":"reactflow__edge-2569_f896c512-7a37-4f85-a1a6-0e256e77848bsource-2569_f896c512-7a37-4f85-a1a6-0e256e77848b-2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7target-2577_8a1d77ee-29a8-45c8-8578-9ca890afe3f7"}]}
1 change: 1 addition & 0 deletions workflows_gallery/dimensionality_reduction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"workflowPieces":{"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b":{"id":2228,"name":"ToyDatasetsPiece","description":"Load toy datasets from scikit-learn","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/default_domino_pieces:0.8.0-group0","input_schema":{"$defs":{"DatasetName":{"enum":["iris","diabetes","digits","wine","breast_cancer","linnerrud"],"title":"DatasetName","type":"string"}},"properties":{"dataset":{"allOf":[{"$ref":"#/$defs/DatasetName"}],"default":"iris","title":"Dataset name"}},"title":"ToyDatasetsPiece","type":"object"},"output_schema":{"properties":{"file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"File path"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"ToyDatasetsPiece","label":"Toy Datasets","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"lucide:toy-brick","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/ToyDatasetsPiece","repository_url":"https://github.com/Tauffer-Consulting/default_domino_pieces","repository_id":509},"2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586":{"id":2254,"name":"PCATrainPiece","description":"Applies PCA to the input data","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/ml-domino-pieces:0.2.0-group0","input_schema":{"properties":{"data_path":{"description":"The path to the train data to apply PCA.","from_upstream":"always","title":"Train Data Path","type":"string"},"n_components":{"default":2,"description":"The number of components for PCA.","title":"Number of Components","type":"integer"},"use_class_column":{"default":false,"description":"Whether to use the target column as class to plot.","title":"Use Class Column","type":"boolean"}},"required":["data_path"],"title":"PCATrainPiece","type":"object"},"output_schema":{"properties":{"pca_data_path":{"default":null,"title":"Pca Data Path","type":"string"},"pca_model_path":{"default":null,"title":"Pca Model Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"PCATrainPiece","label":"PCA Train Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/PCATrainPiece","repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","repository_id":513},"2252_8638a24d-f0f0-44a9-bbd1-4a6780888318":{"id":2252,"name":"PCAInferencePiece","description":"Use the trained PCA model to transform the data","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/ml-domino-pieces:0.2.0-group0","input_schema":{"properties":{"model_path":{"description":"The path to the PCA model.","from_upstream":"always","title":"Model Path","type":"string"},"data_path":{"description":"The path to the train data to apply PCA.","from_upstream":"always","title":"Data Path","type":"string"},"use_class_column":{"default":false,"description":"Whether to use the target column as class to plot.","title":"Use Class Column","type":"boolean"}},"required":["model_path","data_path"],"title":"PCAInferencePiece","type":"object"},"output_schema":{"properties":{"pca_data_path":{"default":null,"title":"Pca Data Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"PCAInferencePiece","label":"PCA Inference Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/PCAInferencePiece","repository_id":513},"2251_5ce467db-a67b-4acc-80d9-e94e94309c2d":{"id":2251,"name":"TSNEPiece","description":"Applies t-SNE to the data","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/ml-domino-pieces:0.2.0-group0","input_schema":{"properties":{"data_path":{"description":"The path to data to apply t-SNE.","from_upstream":"always","title":"Data Path","type":"string"},"n_components":{"default":2,"description":"The number of dimensions t-SNE.","title":"Number of Dimensions","type":"integer"},"use_class_column":{"default":false,"description":"Whether to use the target column as class to plot.","title":"Use Class Column","type":"boolean"}},"required":["data_path"],"title":"TSNEPiece","type":"object"},"output_schema":{"properties":{"tsne_data_path":{"default":null,"title":"Tsne Data Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"TSNEPiece","label":"t-SNE Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/TSNEPiece","repository_id":513},"2255_7642c6f0-a73a-4447-9b7c-af99a813eb51":{"id":2255,"name":"UMAPPiece","description":"Applies t-SNE to the data","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/ml-domino-pieces:0.2.0-group0","input_schema":{"properties":{"data_path":{"description":"The path to the data to apply UMAP.","from_upstream":"always","title":"Data Path","type":"string"},"n_components":{"default":2,"description":"The number of dimensions for UMAP.","title":"Number of Dimensions","type":"integer"},"use_class_column":{"default":false,"description":"Whether to use the target column as class to plot.","title":"Use Class Column","type":"boolean"}},"required":["data_path"],"title":"UMAPPiece","type":"object"},"output_schema":{"properties":{"umap_data_path":{"default":null,"title":"Umap Data Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"UMAPPiece","label":"UMAP Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/UMAPPiece","repository_id":513}},"workflowPiecesData":{"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"dataset":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"breast_cancer"}}},"2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"data_path":{"fromUpstream":true,"upstreamId":"ToyDataset_4943b9258f2742128fc49e7028ca9e5b","upstreamArgument":"file_path","upstreamValue":"ToyDatasetsPiece (4943b925) - File path","value":""},"n_components":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":2},"use_class_column":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true}}},"2252_8638a24d-f0f0-44a9-bbd1-4a6780888318":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"model_path":{"fromUpstream":true,"upstreamId":"PCATrainPi_6a654f5c472e4cd38ad8d9bc00cce586","upstreamArgument":"pca_model_path","upstreamValue":"PCATrainPiece (6a654f5c) - Pca Model Path","value":""},"data_path":{"fromUpstream":true,"upstreamId":"ToyDataset_4943b9258f2742128fc49e7028ca9e5b","upstreamArgument":"file_path","upstreamValue":"ToyDatasetsPiece (4943b925) - File path","value":""},"use_class_column":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true}}},"2251_5ce467db-a67b-4acc-80d9-e94e94309c2d":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"data_path":{"fromUpstream":true,"upstreamId":"ToyDataset_4943b9258f2742128fc49e7028ca9e5b","upstreamArgument":"file_path","upstreamValue":"ToyDatasetsPiece (4943b925) - File path","value":""},"n_components":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":2},"use_class_column":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true}}},"2255_7642c6f0-a73a-4447-9b7c-af99a813eb51":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"data_path":{"fromUpstream":true,"upstreamId":"ToyDataset_4943b9258f2742128fc49e7028ca9e5b","upstreamArgument":"file_path","upstreamValue":"ToyDatasetsPiece (4943b925) - File path","value":""},"n_components":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":2},"use_class_column":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true}}}},"workflowNodes":[{"id":"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","type":"CustomNode","position":{"x":699,"y":278.5},"data":{"name":"ToyDatasetsPiece","style":{"module":"ToyDatasetsPiece","label":"Toy Datasets","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"lucide:toy-brick","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"dragging":false},{"id":"2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586","type":"CustomNode","position":{"x":1001,"y":30.5},"data":{"name":"PCATrainPiece","style":{"module":"PCATrainPiece","label":"PCA Train Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":1001,"y":30.5},"dragging":false},{"id":"2252_8638a24d-f0f0-44a9-bbd1-4a6780888318","type":"CustomNode","position":{"x":1266,"y":270.5},"data":{"name":"PCAInferencePiece","style":{"module":"PCAInferencePiece","label":"PCA Inference Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":true,"positionAbsolute":{"x":1266,"y":270.5},"dragging":false},{"id":"2251_5ce467db-a67b-4acc-80d9-e94e94309c2d","type":"CustomNode","position":{"x":981,"y":191.5},"data":{"name":"TSNEPiece","style":{"module":"TSNEPiece","label":"t-SNE Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":981,"y":191.5},"dragging":false},{"id":"2255_7642c6f0-a73a-4447-9b7c-af99a813eb51","type":"CustomNode","position":{"x":978,"y":368.5},"data":{"name":"UMAPPiece","style":{"module":"UMAPPiece","label":"UMAP Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"radix-icons:dimensions","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":978,"y":368.5},"dragging":false}],"workflowEdges":[{"source":"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","sourceHandle":"source-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","target":"2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586","targetHandle":"target-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586","id":"reactflow__edge-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5bsource-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586target-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586"},{"source":"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","sourceHandle":"source-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","target":"2251_5ce467db-a67b-4acc-80d9-e94e94309c2d","targetHandle":"target-2251_5ce467db-a67b-4acc-80d9-e94e94309c2d","id":"reactflow__edge-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5bsource-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b-2251_5ce467db-a67b-4acc-80d9-e94e94309c2dtarget-2251_5ce467db-a67b-4acc-80d9-e94e94309c2d"},{"source":"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","sourceHandle":"source-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","target":"2255_7642c6f0-a73a-4447-9b7c-af99a813eb51","targetHandle":"target-2255_7642c6f0-a73a-4447-9b7c-af99a813eb51","id":"reactflow__edge-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5bsource-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b-2255_7642c6f0-a73a-4447-9b7c-af99a813eb51target-2255_7642c6f0-a73a-4447-9b7c-af99a813eb51"},{"source":"2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","sourceHandle":"source-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b","target":"2252_8638a24d-f0f0-44a9-bbd1-4a6780888318","targetHandle":"target-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318","id":"reactflow__edge-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5bsource-2228_4943b925-8f27-4212-8fc4-9e7028ca9e5b-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318target-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318"},{"source":"2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586","sourceHandle":"source-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586","target":"2252_8638a24d-f0f0-44a9-bbd1-4a6780888318","targetHandle":"target-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318","id":"reactflow__edge-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586source-2254_6a654f5c-472e-4cd3-8ad8-d9bc00cce586-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318target-2252_8638a24d-f0f0-44a9-bbd1-4a6780888318"}]}
Loading

0 comments on commit b0dbafe

Please sign in to comment.