From b0dbafe7994a0f52a1cf0e0240a6b8c262768711 Mon Sep 17 00:00:00 2001 From: Nathan Vieira Marcelino Date: Tue, 28 Nov 2023 15:57:46 -0300 Subject: [PATCH] feat: add workflows_gallery --- workflows_gallery/cloud_segmentation_workflow.json | 1 + workflows_gallery/dimensionality_reduction.json | 1 + workflows_gallery/image_filter_workflow.json | 1 + workflows_gallery/nasa_workflow.json | 1 + workflows_gallery/random_forest_pipeline.json | 1 + workflows_gallery/youtube_summarizer.json | 1 + 6 files changed, 6 insertions(+) create mode 100644 workflows_gallery/cloud_segmentation_workflow.json create mode 100644 workflows_gallery/dimensionality_reduction.json create mode 100644 workflows_gallery/image_filter_workflow.json create mode 100644 workflows_gallery/nasa_workflow.json create mode 100644 workflows_gallery/random_forest_pipeline.json create mode 100644 workflows_gallery/youtube_summarizer.json diff --git a/workflows_gallery/cloud_segmentation_workflow.json b/workflows_gallery/cloud_segmentation_workflow.json new file mode 100644 index 0000000..f0b0ecc --- /dev/null +++ b/workflows_gallery/cloud_segmentation_workflow.json @@ -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"}]} \ No newline at end of file diff --git a/workflows_gallery/dimensionality_reduction.json b/workflows_gallery/dimensionality_reduction.json new file mode 100644 index 0000000..6e3e2a6 --- /dev/null +++ b/workflows_gallery/dimensionality_reduction.json @@ -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"}]} diff --git a/workflows_gallery/image_filter_workflow.json b/workflows_gallery/image_filter_workflow.json new file mode 100644 index 0000000..3a07420 --- /dev/null +++ b/workflows_gallery/image_filter_workflow.json @@ -0,0 +1 @@ +{"workflowPieces":{"694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b":{"id":694,"name":"HttpRequestPiece","description":"Makes a HTTP request to a given URL.","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/default_domino_pieces:0.8.0-group0","input_schema":{"$defs":{"MethodTypes":{"enum":["GET","POST","PUT","DELETE"],"title":"MethodTypes","type":"string"}},"properties":{"url":{"description":"URL to make a request to.","title":"Url","type":"string"},"method":{"allOf":[{"$ref":"#/$defs/MethodTypes"}],"default":"GET","description":"HTTP method to use."},"bearer_token":{"default":null,"description":"Bearer token to use for authentication.","title":"Bearer Token","type":"string"},"body_json_data":{"default":"{\n \"key_1\": \"value_1\",\n \"key_2\": \"value_2\"\n}\n","description":"JSON data to send in the request body.","title":"Body Json Data","type":"string","widget":"codeeditor-json"}},"required":["url"],"title":"HttpRequestPiece","type":"object"},"output_schema":{"properties":{"base64_bytes_data":{"description":"Output data as base64 encoded string.","title":"Base64 Bytes Data","type":"string"}},"required":["base64_bytes_data"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"HttpRequestPiece","label":"HTTP Request","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"material-symbols:send","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/default_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/HttpRequestPiece","repository_id":219},"695_7a0d7be2-528e-4149-831a-d0a4308dcb62":{"id":695,"name":"ImageFilterPiece","description":"A Piece that applies selected image filters to an image.","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/default_domino_pieces:0.8.0-group0","input_schema":{"$defs":{"OutputTypeType":{"description":"Output type for the result text","enum":["file","base64_string","both"],"title":"OutputTypeType","type":"string"}},"properties":{"input_image":{"description":"Input image. It should be either a path to a file, or a base64 encoded string.","from_upstream":"always","title":"Input Image","type":"string"},"sepia":{"default":false,"description":"Apply sepia effect.","title":"Sepia","type":"boolean"},"black_and_white":{"default":false,"description":"Apply black and white effect.","title":"Black And White","type":"boolean"},"brightness":{"default":false,"description":"Apply brightness effect.","title":"Brightness","type":"boolean"},"darkness":{"default":false,"description":"Apply darkness effect.","title":"Darkness","type":"boolean"},"contrast":{"default":false,"description":"Apply contrast effect.","title":"Contrast","type":"boolean"},"red":{"default":false,"description":"Apply red effect.","title":"Red","type":"boolean"},"green":{"default":false,"description":"Apply green effect.","title":"Green","type":"boolean"},"blue":{"default":false,"description":"Apply blue effect.","title":"Blue","type":"boolean"},"cool":{"default":false,"description":"Apply cool effect.","title":"Cool","type":"boolean"},"warm":{"default":false,"description":"Apply warm effect.","title":"Warm","type":"boolean"},"output_type":{"allOf":[{"$ref":"#/$defs/OutputTypeType"}],"default":"both","description":"Format of the output image. Options are: `file`, `base64_string`, `both`."}},"required":["input_image"],"title":"ImageFilterPiece","type":"object"},"output_schema":{"properties":{"image_base64_string":{"default":"","description":"Base64 encoded string of the output image.","title":"Image Base64 String","type":"string"},"image_file_path":{"default":"","description":"Path to the output image file.","title":"Image File Path","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"ImageFilterPiece","label":"Image Filter","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"ic:twotone-filter","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/default_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/ImageFilterPiece","repository_id":219}},"workflowPiecesData":{"694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"url":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"https://images.pexels.com/photos/4055758/pexels-photo-4055758.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"},"method":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"GET"},"bearer_token":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":null},"body_json_data":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"{\n \"key_1\": \"value_1\",\n \"key_2\": \"value_2\"\n}\n"}}},"695_7a0d7be2-528e-4149-831a-d0a4308dcb62":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"input_image":{"fromUpstream":true,"upstreamId":"HttpReques_27dd10b0cd4b41a5bb118468b0a3c60b","upstreamArgument":"base64_bytes_data","upstreamValue":"HttpRequestPiece (27dd10b0) - Base64 Bytes Data","value":""},"sepia":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"black_and_white":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true},"brightness":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"darkness":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"contrast":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"red":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"green":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"blue":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"cool":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"warm":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":false},"output_type":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"both"}}}},"workflowNodes":[{"id":"694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b","type":"CustomNode","position":{"x":369,"y":188.5},"data":{"name":"HttpRequestPiece","style":{"module":"HttpRequestPiece","label":"HTTP Request","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"material-symbols:send","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"dragging":false},{"id":"695_7a0d7be2-528e-4149-831a-d0a4308dcb62","type":"CustomNode","position":{"x":656,"y":161.5},"data":{"name":"ImageFilterPiece","style":{"module":"ImageFilterPiece","label":"Image Filter","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"ic:twotone-filter","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":true,"dragging":false}],"workflowEdges":[{"source":"694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b","sourceHandle":"source-694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b","target":"695_7a0d7be2-528e-4149-831a-d0a4308dcb62","targetHandle":"target-695_7a0d7be2-528e-4149-831a-d0a4308dcb62","id":"reactflow__edge-694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60bsource-694_27dd10b0-cd4b-41a5-bb11-8468b0a3c60b-695_7a0d7be2-528e-4149-831a-d0a4308dcb62target-695_7a0d7be2-528e-4149-831a-d0a4308dcb62"}]} diff --git a/workflows_gallery/nasa_workflow.json b/workflows_gallery/nasa_workflow.json new file mode 100644 index 0000000..538faf3 --- /dev/null +++ b/workflows_gallery/nasa_workflow.json @@ -0,0 +1 @@ +{"workflowPieces":{"705_0018c3ba-8c2e-48a3-b79c-8300431e7d52":{"id":705,"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"}},"repository_url":"https://github.com/Tauffer-Consulting/data_apis_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/data_apis_domino_pieces/tree/main/pieces/NasaEarthImagePiece","repository_id":221}},"workflowPiecesData":{"705_0018c3ba-8c2e-48a3-b79c-8300431e7d52":{"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"}}}},"workflowNodes":[{"id":"705_0018c3ba-8c2e-48a3-b79c-8300431e7d52","type":"CustomNode","position":{"x":718,"y":212.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,"selected":true,"positionAbsolute":{"x":718,"y":212.5},"dragging":false}],"workflowEdges":[]} diff --git a/workflows_gallery/random_forest_pipeline.json b/workflows_gallery/random_forest_pipeline.json new file mode 100644 index 0000000..2d49574 --- /dev/null +++ b/workflows_gallery/random_forest_pipeline.json @@ -0,0 +1 @@ +{"workflowPieces":{"2283_b524fe96-9706-4dd7-8b0c-26e83b30202d":{"id":2283,"name":"InferenceModelPiece","description":"Load a trained model and use it to make predictions on new 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":"Data path to inference on.","from_upstream":"always","title":"Data path","type":"string"},"model_path":{"description":"Path to the model to use for inference.","from_upstream":"always","title":"Model path","type":"string"}},"required":["data_path","model_path"],"title":"InferenceModelPiece","type":"object"},"output_schema":{"properties":{"data_path":{"title":"Data Path","type":"string"}},"required":["data_path"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"InferenceModelPiece","label":"Inference Model Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"carbon:machine-learning-model","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/InferenceModelPiece","repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","repository_id":517},"2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1":{"id":2276,"name":"TrainRandomForestClassifierPiece","description":"Train a Random Forest Classifier model over 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":{"$defs":{"Criterion":{"enum":["gini","entropy","log_loss"],"title":"Criterion","type":"string"}},"properties":{"train_data_path":{"description":"The path to the train data to train the data.","from_upstream":"always","title":"Train Data Path","type":"string"},"n_estimators":{"default":100,"description":"The number of trees in the forest.","title":"Number of Estimators","type":"integer"},"criterion":{"allOf":[{"$ref":"#/$defs/Criterion"}],"default":"gini","description":"The function to measure the quality of a split.","title":"Criterion"},"max_depth":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"The maximum depth of the tree.","title":"Max Depth"}},"required":["train_data_path"],"title":"TrainRandomForestClassifierPiece","type":"object"},"output_schema":{"properties":{"random_forest_model_path":{"title":"Random Forest Model Path","type":"string"}},"required":["random_forest_model_path"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"TrainRandomForestClassifierPiece","label":"Train Random Forest Classifier Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"carbon:machine-learning-model","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/TrainRandomForestClassifierPiece","repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","repository_id":517},"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0":{"id":2280,"name":"TrainTestSplitPiece","description":"Split data into train and test sets","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 be split.","from_upstream":"always","title":"Data Path","type":"string"},"test_data_size":{"default":0.8,"description":"The size (%) of the test data.","title":"Test Data Size","type":"number"},"random_state":{"default":42,"description":"The random state for the split.","title":"Random State","type":"integer"}},"required":["data_path"],"title":"TrainTestSplitPiece","type":"object"},"output_schema":{"properties":{"train_data_path":{"title":"Train Data Path","type":"string"},"test_data_path":{"title":"Test Data Path","type":"string"}},"required":["train_data_path","test_data_path"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"TrainTestSplitPiece","label":"Split Data","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"icon-park-outline:split","iconStyle":{"cursor":"pointer"}},"source_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces/tree/main/pieces/TrainTestSplitPiece","repository_url":"https://github.com/Tauffer-Consulting/ml_domino_pieces","repository_id":517},"2228_97944871-206b-4a4a-b64b-79d8557d11db":{"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}},"workflowPiecesData":{"2283_b524fe96-9706-4dd7-8b0c-26e83b30202d":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"data_path":{"fromUpstream":true,"upstreamId":"TrainTestS_9d3f64bf568143feaf79da7cc08768c0","upstreamArgument":"test_data_path","upstreamValue":"TrainTestSplitPiece (9d3f64bf) - Test Data Path","value":""},"model_path":{"fromUpstream":true,"upstreamId":"TrainRando_7c224ef73cd0436ab4a7033dba4f9ed1","upstreamArgument":"random_forest_model_path","upstreamValue":"TrainRandomForestClassifierPiece (7c224ef7) - Random Forest Model Path","value":""}}},"2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"train_data_path":{"fromUpstream":true,"upstreamId":"TrainTestS_9d3f64bf568143feaf79da7cc08768c0","upstreamArgument":"train_data_path","upstreamValue":"TrainTestSplitPiece (9d3f64bf) - Train Data Path","value":""},"n_estimators":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":100},"criterion":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"gini"},"max_depth":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":null}}},"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"data_path":{"fromUpstream":true,"upstreamId":"ToyDataset_97944871206b4a4ab64b79d8557d11db","upstreamArgument":"file_path","upstreamValue":"ToyDatasetsPiece (97944871) - File path","value":""},"test_data_size":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":0.8},"random_state":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":42}}},"2228_97944871-206b-4a4a-b64b-79d8557d11db":{"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":"iris"}}}},"workflowNodes":[{"id":"2283_b524fe96-9706-4dd7-8b0c-26e83b30202d","type":"CustomNode","position":{"x":647,"y":-34.666666666666664},"data":{"name":"InferenceModelPiece","style":{"module":"InferenceModelPiece","label":"Inference Model Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"carbon:machine-learning-model","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":true,"positionAbsolute":{"x":868,"y":294.5},"dragging":false},{"id":"2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1","type":"CustomNode","position":{"x":388.7955801104973,"y":-164.65745856353595},"data":{"name":"TrainRandomForestClassifierPiece","style":{"module":"TrainRandomForestClassifierPiece","label":"Train Random Forest Classifier Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#38b2be"},"useIcon":true,"iconClassName":"carbon:machine-learning-model","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":388.7955801104973,"y":-164.65745856353595},"dragging":false},{"id":"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","type":"CustomNode","position":{"x":147,"y":-34.666666666666664},"data":{"name":"TrainTestSplitPiece","style":{"module":"TrainTestSplitPiece","label":"Split Data","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"icon-park-outline:split","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":347,"y":354.5},"dragging":false},{"id":"2228_97944871-206b-4a4a-b64b-79d8557d11db","type":"CustomNode","position":{"x":-103,"y":-34.666666666666664},"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,"positionAbsolute":{"x":31,"y":246.5},"dragging":false}],"workflowEdges":[{"source":"2228_97944871-206b-4a4a-b64b-79d8557d11db","sourceHandle":"source-2228_97944871-206b-4a4a-b64b-79d8557d11db","target":"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","targetHandle":"target-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","id":"reactflow__edge-2228_97944871-206b-4a4a-b64b-79d8557d11dbsource-2228_97944871-206b-4a4a-b64b-79d8557d11db-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0target-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0"},{"source":"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","sourceHandle":"source-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","target":"2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1","targetHandle":"target-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1","id":"reactflow__edge-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0source-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1target-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1"},{"source":"2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","sourceHandle":"source-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0","target":"2283_b524fe96-9706-4dd7-8b0c-26e83b30202d","targetHandle":"target-2283_b524fe96-9706-4dd7-8b0c-26e83b30202d","id":"reactflow__edge-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0source-2280_9d3f64bf-5681-43fe-af79-da7cc08768c0-2283_b524fe96-9706-4dd7-8b0c-26e83b30202dtarget-2283_b524fe96-9706-4dd7-8b0c-26e83b30202d"},{"source":"2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1","sourceHandle":"source-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1","target":"2283_b524fe96-9706-4dd7-8b0c-26e83b30202d","targetHandle":"target-2283_b524fe96-9706-4dd7-8b0c-26e83b30202d","id":"reactflow__edge-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1source-2276_7c224ef7-3cd0-436a-b4a7-033dba4f9ed1-2283_b524fe96-9706-4dd7-8b0c-26e83b30202dtarget-2283_b524fe96-9706-4dd7-8b0c-26e83b30202d"}]} diff --git a/workflows_gallery/youtube_summarizer.json b/workflows_gallery/youtube_summarizer.json new file mode 100644 index 0000000..769ca96 --- /dev/null +++ b/workflows_gallery/youtube_summarizer.json @@ -0,0 +1 @@ +{"workflowPieces":{"494_0f4005cd-d6c5-49ac-8111-f019bafb2250":{"id":494,"name":"YoutubeListVideosPiece","description":"List videos from youtube channel.","dependency":{"dockerfile":"Dockerfile_youtube","requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/social_media_domino_pieces:0.5.1-group2","input_schema":{"$defs":{"OrderBy":{"description":"The order in which the videos are returned.","enum":["date","rating","relevance","title","viewCount"],"title":"OrderBy","type":"string"},"VideoDuration":{"description":"The duration of the video.","enum":["any","long","medium","short"],"title":"VideoDuration","type":"string"}},"description":"Input data for YoutubeListVideosPiece","properties":{"channel_username":{"default":null,"description":"The username of the Youtube channel.","title":"Channel Username","type":"string"},"max_videos":{"default":10,"description":"The maximum number of videos to be returned","exclusiveMinimum":0,"title":"Max Videos","type":"integer"},"published_at_or_after":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"Filter videos created at or after the specified date","title":"Published At Or After"},"published_at_or_before":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"Filter videos created before or at the specified date","title":"Published At Or Before"},"order_by":{"allOf":[{"$ref":"#/$defs/OrderBy"}],"default":"date","description":"The order in which the videos are returned","title":"Order By"},"video_duration":{"allOf":[{"$ref":"#/$defs/VideoDuration"}],"default":"any","description":"The duration of the video","title":"Video Duration"},"return_only_urls":{"default":false,"description":"If True, only the urls of the videos will be returned","title":"Return only urls","type":"boolean"}},"title":"YoutubeListVideosPiece","type":"object"},"output_schema":{"description":"Output data for YoutubeListVideosPiece","properties":{"message":{"default":"","description":"Output message to log","title":"Message","type":"string"},"videos_list":{"description":"A list containing information about videos.","items":{},"title":"Videos List","type":"array"}},"required":["videos_list"],"title":"OutputModel","type":"object"},"secrets_schema":{"description":"Secrets data for YoutubeListVideosPiece","properties":{"YOUTUBE_API_KEY":{"default":null,"description":"The Youtube Data API Key.","title":"Youtube Api Key","type":"string"}},"title":"SecretsModel","type":"object"},"style":{"module":"YoutubeListVideosPiece","label":"Youtube list videos","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-brands:youtube","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces/tree/main/pieces/YoutubeListVideosPiece","repository_id":179},"469_9d388791-b669-41b0-8983-36923286e964":{"id":469,"name":"GetItemFromArrayPiece","description":"Get one item from an array","dependency":{"dockerfile":null,"requirements_file":"requirements_0.txt"},"source_image":"ghcr.io/tauffer-consulting/default_domino_pieces:0.8.0-group0","input_schema":{"$defs":{"IndexType":{"enum":["first","last","random","another"],"title":"IndexType","type":"string"}},"description":"GetItemFromArrayPiece Input Model","properties":{"input_array":{"description":"Input array to get item from.","from_upstream":"always","items":{},"title":"Input Array","type":"array"},"index":{"allOf":[{"$ref":"#/$defs/IndexType"}],"default":"first","description":"Index of item to get from input array."},"another_index":{"default":1,"description":"Index number of item to get from input array.","minimum":1,"title":"Another Index","type":"integer"}},"required":["input_array"],"title":"GetItemFromArrayPiece","type":"object"},"output_schema":{"description":"GetItemFromArrayPiece Output Model","properties":{"output_value":{"anyOf":[{"type":"string"},{"items":{},"type":"array"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"object"},{"format":"date","type":"string"},{"format":"time","type":"string"},{"format":"date-time","type":"string"}],"description":"Item from input array at specified index.","title":"Output Value"}},"required":["output_value"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"GetItemFromArrayPiece","label":"Get Item From Array Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"fluent:tray-item-remove-24-filled","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/default_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/GetItemFromArrayPiece","repository_id":176},"493_fa2a889d-9299-4b63-a0cd-e051b66d12aa":{"id":493,"name":"YoutubeDownloadPiece","description":"Downloads content from youtube videos as audio or video files.","dependency":{"dockerfile":"Dockerfile_youtube","requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/social_media_domino_pieces:0.5.1-group2","input_schema":{"$defs":{"OutputTypeType":{"enum":["audio","video"],"title":"OutputTypeType","type":"string"}},"description":"Input data for YoutubeDownloadPiece","properties":{"url":{"description":"The url of the video to be downloaded.","title":"Url","type":"string"},"output_type":{"allOf":[{"$ref":"#/$defs/OutputTypeType"}],"default":"audio","description":"The type of output file to be downloaded."}},"required":["url"],"title":"YoutubeDownloadPiece","type":"object"},"output_schema":{"description":"Output data for YoutubeDownloadPiece","properties":{"message":{"default":"","description":"Output message to log","title":"Message","type":"string"},"file_path":{"description":"The path to the downloaded file","title":"File Path","type":"string"}},"required":["file_path"],"title":"OutputModel","type":"object"},"secrets_schema":null,"style":{"module":"YoutubeDownloadPiece","label":"Youtube Download Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:download","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces/tree/main/pieces/YoutubeDownloadPiece","repository_id":179},"475_f7912cd8-32ef-4166-8b1e-d07190e5c52a":{"id":475,"name":"AudioTranscriptionPiece","description":"This Piece uses the OpenAI API to extract text transcripts from audio.","dependency":{"dockerfile":"Dockerfile_01","requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/openai_domino_pieces:0.7.0-group0","input_schema":{"$defs":{"OutputTypeType":{"description":"Output type for the result text","enum":["file","string","file_and_string"],"title":"OutputTypeType","type":"string"}},"description":"AudioTranscriptPiece input model","properties":{"audio_file_path":{"description":"The path to the audio file to process.","title":"Audio File Path","type":"string"},"output_type":{"allOf":[{"$ref":"#/$defs/OutputTypeType"}],"default":"string","description":"The type of output for the result text"},"temperature":{"default":0.1,"description":"What sampling temperature to use, between 0 and 1","exclusiveMinimum":0,"maximum":1,"title":"Temperature","type":"number"}},"required":["audio_file_path"],"title":"AudioTranscriptionPiece","type":"object"},"output_schema":{"description":"AudioTranscriptPiece output model","properties":{"message":{"description":"Output message to log","title":"Message","type":"string"},"string_transcription_result":{"default":null,"description":"The result transcription text as a string.","title":"String Transcription Result","type":"string"},"file_path_transcription_result":{"default":null,"description":"The result transcription text as a file path.","title":"File Path Transcription Result","type":"string"}},"required":["message"],"title":"OutputModel","type":"object"},"secrets_schema":{"description":"AudioTranscriptPiece secret model","properties":{"OPENAI_API_KEY":{"description":"OpenAI API key","title":"Openai Api Key","type":"string"}},"required":["OPENAI_API_KEY"],"title":"SecretsModel","type":"object"},"style":{"module":"AudioTranscriptionPiece","label":"OpenAI Audio Transcript","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:headset","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/openai_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/openai_domino_pieces/tree/main/pieces/AudioTranscriptionPiece","repository_id":177},"480_34d5b73b-34f8-46d5-a08a-24008c814b34":{"id":480,"name":"TextSummarizerPiece","description":"This Piece runs a text summarizer using OpenAI API.","dependency":{"dockerfile":"Dockerfile_01","requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/openai_domino_pieces:0.7.0-group0","input_schema":{"$defs":{"LLMModelType":{"description":"OpenAI model type","enum":["gpt-3.5-turbo","gpt-4"],"title":"LLMModelType","type":"string"},"OutputTypeType":{"description":"Output type for the completion result","enum":["file","string","file_and_string"],"title":"OutputTypeType","type":"string"}},"description":"TextSummarizerPiece Input model","properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Text to summarize","required":false,"title":"Text"},"text_file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Use it only if not using text field. File path to the text to summarize","required":false,"title":"Text File Path"},"output_type":{"allOf":[{"$ref":"#/$defs/OutputTypeType"}],"default":"string","description":"The type of output to return"},"openai_model":{"allOf":[{"$ref":"#/$defs/LLMModelType"}],"default":"gpt-3.5-turbo","description":"OpenAI model name to use for summarization"},"chunk_size":{"default":1000,"description":"Chunk size, measured in tokens, of each pre-summary chunk","title":"Chunk Size","type":"integer"},"chunk_overlap_rate":{"default":0.2,"description":"The percentage of overlap between each chunk","title":"Chunk Overlap Rate","type":"number"},"completion_max_tokens":{"default":500,"description":"The maximum number of tokens to generate in the summary.","title":"Completion Max Tokens","type":"integer"},"temperature":{"default":0.2,"description":"Temperature of the model, between 0 (more precise) and 1 (more creative)","title":"Temperature","type":"number"}},"title":"TextSummarizerPiece","type":"object"},"output_schema":{"description":"TextSummarizerPiece Output model","properties":{"string_summarized_text":{"default":null,"description":"summarized text","title":"String Summarized Text","type":"string"},"file_path_summarized_text":{"default":null,"description":"Path to summarized text file","title":"File Path Summarized Text","type":"string"}},"title":"OutputModel","type":"object"},"secrets_schema":{"description":"TextSummarizerPiece Secrets model","properties":{"OPENAI_API_KEY":{"description":"Your OpenAI API key","title":"Openai Api Key","type":"string"}},"required":["OPENAI_API_KEY"],"title":"SecretsModel","type":"object"},"style":{"module":"TextSummarizerPiece","label":"Text Summarizer","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:align-right","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/openai_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/openai_domino_pieces/tree/main/pieces/TextSummarizerPiece","repository_id":177},"488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99":{"id":488,"name":"EmailSenderPiece","description":"Email sender","dependency":{"dockerfile":null,"requirements_file":null},"source_image":"ghcr.io/tauffer-consulting/social_media_domino_pieces:0.5.1-group0","input_schema":{"$defs":{"InnerArgModel":{"description":"Inner argument model to use in the body and subject texts","properties":{"arg_name":{"title":"Arg Name","type":"string"},"arg_value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}],"title":"Arg Value"}},"required":["arg_name","arg_value"],"title":"InnerArgModel","type":"object"},"ProviderType":{"enum":["gmail","outlook","office365","yahoo"],"title":"ProviderType","type":"string"}},"description":"Input data for EmailSenderPiece","properties":{"email_provider":{"allOf":[{"$ref":"#/$defs/ProviderType"}],"default":"gmail","description":"The email provider to use"},"email_receivers":{"description":"The receivers of the email, as comma-separated values","title":"Email Receivers","type":"string"},"email_subject":{"description":"The subject of the email.","title":"Email Subject","type":"string"},"subject_args":{"anyOf":[{"items":{"$ref":"#/$defs/InnerArgModel"},"type":"array"},{"type":"null"}],"default":null,"description":"List of arguments to insert into the subject of the email","title":"Subject Args"},"email_body":{"description":"The body of the email.","title":"Email Body","type":"string"},"body_args":{"anyOf":[{"items":{"$ref":"#/$defs/InnerArgModel"},"type":"array"},{"type":"null"}],"default":null,"description":"List of arguments to insert into the body of the email","title":"Body Args"},"attachment_path":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Path to the attachment file","title":"Attachment Path"}},"required":["email_receivers","email_subject","email_body"],"title":"EmailSenderPiece","type":"object"},"output_schema":{"description":"Output data for EmailSenderPiece","properties":{"message":{"default":"","description":"Output message to log.","title":"Message","type":"string"},"success":{"description":"The result of the email sending task.","title":"Success","type":"boolean"},"error":{"default":"","description":"The error message, if any.","title":"Error","type":"string"}},"required":["success"],"title":"OutputModel","type":"object"},"secrets_schema":{"description":"Secrets data for EmailSenderPiece","properties":{"EMAIL_SENDER_ACCOUNT":{"description":"The email sender account.","title":"Email Sender Account","type":"string"},"EMAIL_SENDER_PASSWORD":{"description":"The email sender password","title":"Email Sender Password","type":"string"}},"required":["EMAIL_SENDER_ACCOUNT","EMAIL_SENDER_PASSWORD"],"title":"SecretsModel","type":"object"},"style":{"module":"EmailSenderPiece","label":"Email sender Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:envelope","iconStyle":{"cursor":"pointer"}},"repository_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces","source_url":"https://github.com/Tauffer-Consulting/social_media_domino_pieces/tree/main/pieces/EmailSenderPiece","repository_id":179}},"workflowPiecesData":{"494_0f4005cd-d6c5-49ac-8111-f019bafb2250":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"channel_username":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"bbcnews"},"max_videos":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":10},"published_at_or_after":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"2023-11-01"},"published_at_or_before":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":null},"order_by":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"date"},"video_duration":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"short"},"return_only_urls":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":true}}},"469_9d388791-b669-41b0-8983-36923286e964":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"input_array":{"fromUpstream":true,"upstreamId":"YoutubeLis_0f4005cdd6c549ac8111f019bafb2250","upstreamArgument":"videos_list","upstreamValue":"YoutubeListVideosPiece (0f4005cd) - Videos List","value":""},"index":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"first"},"another_index":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":1}}},"493_fa2a889d-9299-4b63-a0cd-e051b66d12aa":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"url":{"fromUpstream":true,"upstreamId":"GetItemFro_9d388791b66941b0898336923286e964","upstreamArgument":"output_value","upstreamValue":"GetItemFromArrayPiece (9d388791) - Output Value","value":""},"output_type":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"audio"}}},"475_f7912cd8-32ef-4166-8b1e-d07190e5c52a":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"audio_file_path":{"fromUpstream":true,"upstreamId":"YoutubeDow_fa2a889d92994b63a0cde051b66d12aa","upstreamArgument":"file_path","upstreamValue":"YoutubeDownloadPiece (fa2a889d) - File Path","value":""},"output_type":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"file"},"temperature":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":0.1}}},"480_34d5b73b-34f8-46d5-a08a-24008c814b34":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"text":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":null},"text_file_path":{"fromUpstream":true,"upstreamId":"AudioTrans_f7912cd832ef41668b1ed07190e5c52a","upstreamArgument":"file_path_transcription_result","upstreamValue":"AudioTranscriptionPiece (f7912cd8) - File Path Transcription Result","value":null},"output_type":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"string"},"openai_model":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"gpt-3.5-turbo"},"chunk_size":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":1000},"chunk_overlap_rate":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":0.2},"completion_max_tokens":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":500},"temperature":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":0.2}}},"488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99":{"storage":{"storageAccessMode":"Read/Write"},"containerResources":{"cpu":{"min":100,"max":100},"memory":{"min":128,"max":128},"useGpu":false},"inputs":{"email_provider":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"gmail"},"email_receivers":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":""},"email_subject":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":"Summary"},"subject_args":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":[]},"email_body":{"fromUpstream":true,"upstreamId":"TextSummar_34d5b73b34f846d5a08a24008c814b34","upstreamArgument":"string_summarized_text","upstreamValue":"TextSummarizerPiece (34d5b73b) - String Summarized Text","value":""},"body_args":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":[]},"attachment_path":{"fromUpstream":false,"upstreamId":"","upstreamArgument":"","upstreamValue":"","value":null}}}},"workflowNodes":[{"id":"494_0f4005cd-d6c5-49ac-8111-f019bafb2250","type":"CustomNode","position":{"x":188,"y":195.5},"data":{"name":"YoutubeListVideosPiece","style":{"module":"YoutubeListVideosPiece","label":"Youtube list videos","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-brands:youtube","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":true,"positionAbsolute":{"x":188,"y":195.5},"dragging":false},{"id":"469_9d388791-b669-41b0-8983-36923286e964","type":"CustomNode","position":{"x":427,"y":213.5},"data":{"name":"GetItemFromArrayPiece","style":{"module":"GetItemFromArrayPiece","label":"Get Item From Array Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#b3cde8"},"useIcon":true,"iconClassName":"fluent:tray-item-remove-24-filled","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":427,"y":213.5},"dragging":false},{"id":"493_fa2a889d-9299-4b63-a0cd-e051b66d12aa","type":"CustomNode","position":{"x":688,"y":241.5},"data":{"name":"YoutubeDownloadPiece","style":{"module":"YoutubeDownloadPiece","label":"Youtube Download Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:download","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":688,"y":241.5},"dragging":false},{"id":"475_f7912cd8-32ef-4166-8b1e-d07190e5c52a","type":"CustomNode","position":{"x":932,"y":276.5},"data":{"name":"AudioTranscriptionPiece","style":{"module":"AudioTranscriptionPiece","label":"OpenAI Audio Transcript","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:headset","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":932,"y":276.5},"dragging":false},{"id":"480_34d5b73b-34f8-46d5-a08a-24008c814b34","type":"CustomNode","position":{"x":1165,"y":289.5},"data":{"name":"TextSummarizerPiece","style":{"module":"TextSummarizerPiece","label":"Text Summarizer","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:align-right","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"positionAbsolute":{"x":1165,"y":289.5},"dragging":false},{"id":"488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99","type":"CustomNode","position":{"x":1446,"y":364.5},"data":{"name":"EmailSenderPiece","style":{"module":"EmailSenderPiece","label":"Email sender Piece","nodeType":"default","nodeStyle":{"backgroundColor":"#ebebeb"},"useIcon":true,"iconClassName":"fa-solid:envelope","iconStyle":{"cursor":"pointer"}},"validationError":false,"orientation":"horizontal"},"width":150,"height":70,"selected":false,"dragging":false}],"workflowEdges":[{"source":"494_0f4005cd-d6c5-49ac-8111-f019bafb2250","sourceHandle":"source-494_0f4005cd-d6c5-49ac-8111-f019bafb2250","target":"469_9d388791-b669-41b0-8983-36923286e964","targetHandle":"target-469_9d388791-b669-41b0-8983-36923286e964","id":"reactflow__edge-494_0f4005cd-d6c5-49ac-8111-f019bafb2250source-494_0f4005cd-d6c5-49ac-8111-f019bafb2250-469_9d388791-b669-41b0-8983-36923286e964target-469_9d388791-b669-41b0-8983-36923286e964"},{"source":"469_9d388791-b669-41b0-8983-36923286e964","sourceHandle":"source-469_9d388791-b669-41b0-8983-36923286e964","target":"493_fa2a889d-9299-4b63-a0cd-e051b66d12aa","targetHandle":"target-493_fa2a889d-9299-4b63-a0cd-e051b66d12aa","id":"reactflow__edge-469_9d388791-b669-41b0-8983-36923286e964source-469_9d388791-b669-41b0-8983-36923286e964-493_fa2a889d-9299-4b63-a0cd-e051b66d12aatarget-493_fa2a889d-9299-4b63-a0cd-e051b66d12aa"},{"source":"493_fa2a889d-9299-4b63-a0cd-e051b66d12aa","sourceHandle":"source-493_fa2a889d-9299-4b63-a0cd-e051b66d12aa","target":"475_f7912cd8-32ef-4166-8b1e-d07190e5c52a","targetHandle":"target-475_f7912cd8-32ef-4166-8b1e-d07190e5c52a","id":"reactflow__edge-493_fa2a889d-9299-4b63-a0cd-e051b66d12aasource-493_fa2a889d-9299-4b63-a0cd-e051b66d12aa-475_f7912cd8-32ef-4166-8b1e-d07190e5c52atarget-475_f7912cd8-32ef-4166-8b1e-d07190e5c52a"},{"source":"475_f7912cd8-32ef-4166-8b1e-d07190e5c52a","sourceHandle":"source-475_f7912cd8-32ef-4166-8b1e-d07190e5c52a","target":"480_34d5b73b-34f8-46d5-a08a-24008c814b34","targetHandle":"target-480_34d5b73b-34f8-46d5-a08a-24008c814b34","id":"reactflow__edge-475_f7912cd8-32ef-4166-8b1e-d07190e5c52asource-475_f7912cd8-32ef-4166-8b1e-d07190e5c52a-480_34d5b73b-34f8-46d5-a08a-24008c814b34target-480_34d5b73b-34f8-46d5-a08a-24008c814b34"},{"source":"480_34d5b73b-34f8-46d5-a08a-24008c814b34","sourceHandle":"source-480_34d5b73b-34f8-46d5-a08a-24008c814b34","target":"488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99","targetHandle":"target-488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99","id":"reactflow__edge-480_34d5b73b-34f8-46d5-a08a-24008c814b34source-480_34d5b73b-34f8-46d5-a08a-24008c814b34-488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99target-488_0bfa63e6-88a7-441d-ac1d-0490d0ba7f99"}]} \ No newline at end of file