-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update workflows examples versions
- Loading branch information
Showing
5 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
frontend/src/features/workflowEditor/utils/workflows/dimensionality_reduction.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
frontend/src/features/workflowEditor/utils/workflows/image_filter_workflow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +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.7.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.7.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"}]} | ||
{"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"}]} |
Oops, something went wrong.