diff --git a/prompts/ai-builder/convert-csv-json/README.md b/prompts/ai-builder/convert-csv-json/README.md new file mode 100644 index 0000000..bf367d0 --- /dev/null +++ b/prompts/ai-builder/convert-csv-json/README.md @@ -0,0 +1,30 @@ +# Convert CSV to JSON + +## Description + +This prompt helps in converting CSV data to JSON format. + +## Prompt +Convert CSV data [CSVData] to JSON object without any text information. + + +### Supported Language(s) + +[English](./en-us/prompt.md) + +## Authors + +Solution|Author(s) +--------|--------- +Convert CSV to JSON | [Manish Solanki](https://github.com/Solanki-Manish) + +## Minimal Path to Awesome + +* Copy the prompt +* Paste prompt into the AIBuilder tool + +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + + diff --git a/prompts/ai-builder/convert-csv-json/assets/sample.json b/prompts/ai-builder/convert-csv-json/assets/sample.json new file mode 100644 index 0000000..2038606 --- /dev/null +++ b/prompts/ai-builder/convert-csv-json/assets/sample.json @@ -0,0 +1,51 @@ +[ + { + "$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json", + "name": "pnp-powerplatform-prompts-convert-csv-json", + "version": "1.0.0.0", + "source": "pnp", + "creationDateTime": "2024-08-14T00:00:00.000Z", + "updateDateTime": "2024-08-14T00:00:00.000Z", + "title": "Convert CSV to JSON", + "shortDescription": "This prompt helps in converting CSV data to JSON format.", + "longDescription": [ + "" + ], + "url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/convert-csv-json/", + "products": [ + "AI Builder", + "AIBuilder", + "Power Platform", + "powerplatform-prompts", + "ai-builder-prompts" + ], + "tags": [ + "CSV", + "JSON" + ], + "categories": [ + "AI Builder" + ], + "metadata": [ + { + "key": "Prompt", + "value": "Convert CSV data [CSVData] to JSON object without any text information." + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/templates/previewprompts.png", + "alt": "Preview GIF" + } + ], + "authors": [ + { + "gitHubAccount": "Solanki-Manish", + "name": "Manish Solanki", + "pictureUrl": "https://github.com/Solanki-Manish.png" + } + ] + } +] diff --git a/prompts/ai-builder/convert-csv-json/en-us/prompt.md b/prompts/ai-builder/convert-csv-json/en-us/prompt.md new file mode 100644 index 0000000..37903cd --- /dev/null +++ b/prompts/ai-builder/convert-csv-json/en-us/prompt.md @@ -0,0 +1 @@ +Convert CSV data [CSVData] to JSON object without any text information. \ No newline at end of file diff --git a/prompts/ai-builder/file-extension-from-mime-type/README.md b/prompts/ai-builder/file-extension-from-mime-type/README.md new file mode 100644 index 0000000..e9a4852 --- /dev/null +++ b/prompts/ai-builder/file-extension-from-mime-type/README.md @@ -0,0 +1,30 @@ +# Retrieve file extension from MIME type + +## Description + +This prompt helps in retrieving file extenstion from its MIME type. + +## Prompt +Retrieve file extension from [MIMEtype]. + + +### Supported Language(s) + +[English](./en-us/prompt.md) + +## Authors + +Solution|Author(s) +--------|--------- +Retrieve file extension from MIME type | [Manish Solanki](https://github.com/Solanki-Manish) + +## Minimal Path to Awesome + +* Copy the prompt +* Paste prompt into the AIBuilder tool + +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + + diff --git a/prompts/ai-builder/file-extension-from-mime-type/assets/sample.json b/prompts/ai-builder/file-extension-from-mime-type/assets/sample.json new file mode 100644 index 0000000..f4887b7 --- /dev/null +++ b/prompts/ai-builder/file-extension-from-mime-type/assets/sample.json @@ -0,0 +1,51 @@ +[ + { + "$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json", + "name": "pnp-powerplatform-prompts-file-extension-from-mime-type", + "version": "1.0.0.0", + "source": "pnp", + "creationDateTime": "2024-08-24T00:00:00.000Z", + "updateDateTime": "2024-08-24T00:00:00.000Z", + "title": "Retrieve file extension from MIME type", + "shortDescription": "This prompt helps in retrieving file extenstion from its MIME type.", + "longDescription": [ + "" + ], + "url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/file-extension-from-mime-type/", + "products": [ + "AI Builder", + "AIBuilder", + "Power Platform", + "powerplatform-prompts", + "ai-builder-prompts" + ], + "tags": [ + "File Extension", + "MIME type" + ], + "categories": [ + "AI Builder" + ], + "metadata": [ + { + "key": "Prompt", + "value": "Retrieve file extension from [MIMEtype]." + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/templates/previewprompts.png", + "alt": "Preview GIF" + } + ], + "authors": [ + { + "gitHubAccount": "Solanki-Manish", + "name": "Manish Solanki", + "pictureUrl": "https://github.com/Solanki-Manish.png" + } + ] + } +] diff --git a/prompts/ai-builder/file-extension-from-mime-type/en-us/prompt.md b/prompts/ai-builder/file-extension-from-mime-type/en-us/prompt.md new file mode 100644 index 0000000..d054431 --- /dev/null +++ b/prompts/ai-builder/file-extension-from-mime-type/en-us/prompt.md @@ -0,0 +1 @@ +Retrieve file extension from [MIMEtype]. \ No newline at end of file diff --git a/prompts/ai-builder/sum-node-xml/README.md b/prompts/ai-builder/sum-node-xml/README.md new file mode 100644 index 0000000..adeed40 --- /dev/null +++ b/prompts/ai-builder/sum-node-xml/README.md @@ -0,0 +1,30 @@ +# Calculate Sum of a Node from XML Data + +## Description + +This prompt returns the sum of a given node from the xml data. + +## Prompt +Calculate sum of all [nodename] from [xmldata]. + + +### Supported Language(s) + +[English](./en-us/prompt.md) + +## Authors + +Solution|Author(s) +--------|--------- +Calculate Sum of a Node from XML Data | [Manish Solanki](https://github.com/Solanki-Manish) + +## Minimal Path to Awesome + +* Copy the prompt +* Paste prompt into the AIBuilder tool + +## Disclaimer + +**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** + + diff --git a/prompts/ai-builder/sum-node-xml/assets/sample.json b/prompts/ai-builder/sum-node-xml/assets/sample.json new file mode 100644 index 0000000..68e9e34 --- /dev/null +++ b/prompts/ai-builder/sum-node-xml/assets/sample.json @@ -0,0 +1,51 @@ +[ + { + "$schema": "https://developer.microsoft.com/en-us/json-schemas/pnp/samples/v1.0/metadata-schema.json", + "name": "pnp-powerplatform-prompts-sum-node-xml", + "version": "1.0.0.0", + "source": "pnp", + "creationDateTime": "2024-08-24T00:00:00.000Z", + "updateDateTime": "2024-08-24T00:00:00.000Z", + "title": "Calculate Sum of a Node from XML Data", + "shortDescription": "This prompt returns the sum of a given node from the xml data.", + "longDescription": [ + "" + ], + "url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/sum-node-xml/", + "products": [ + "AI Builder", + "AIBuilder", + "Power Platform", + "powerplatform-prompts", + "ai-builder-prompts" + ], + "tags": [ + "XML Node", + "XML" + ], + "categories": [ + "AI Builder" + ], + "metadata": [ + { + "key": "Prompt", + "value": "Calculate sum of all [nodename] from [xmldata]." + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/templates/previewprompts.png", + "alt": "Preview GIF" + } + ], + "authors": [ + { + "gitHubAccount": "Solanki-Manish", + "name": "Manish Solanki", + "pictureUrl": "https://github.com/Solanki-Manish.png" + } + ] + } +] diff --git a/prompts/ai-builder/sum-node-xml/en-us/prompt.md b/prompts/ai-builder/sum-node-xml/en-us/prompt.md new file mode 100644 index 0000000..172e35c --- /dev/null +++ b/prompts/ai-builder/sum-node-xml/en-us/prompt.md @@ -0,0 +1 @@ +Calculate sum of all [nodename] from [xmldata]. \ No newline at end of file