Skip to content

Commit

Permalink
Updates to sample.json (#31)
Browse files Browse the repository at this point in the history
* Updated email-text-extractor

* Updated feedback-classification

* Updated hospitality-enhancement

* Updated interview-prep

* Updated sample.json

* Updated language-detection

* Updated learning-resources

* Updated legal-doc-review

* Updated marketing-strategy

* Updated plagarism-checker

* Updated power-fx-interpreter

* Updated professional-development
  • Loading branch information
Laskewitz authored Mar 27, 2024
1 parent 3c78802 commit 3b03c74
Show file tree
Hide file tree
Showing 24 changed files with 99 additions and 78 deletions.
6 changes: 3 additions & 3 deletions prompts/ai-builder/dummy-text-generator/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
""
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/dummy-text-generator/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -29,11 +29,11 @@
"value": "I want you to act like a Lorem Ipsum generator. I will give you a topic and how many paragraphs of text that I want. Your job is to take my inputs and generate dummy text. [Text]"
},
{
"key": "Example input 1",
"key": "Example Input 1",
"value": "Generate 4 paragraphs of text about Microsoft office assistant, Clippy."
},
{
"key": "Example input 2",
"key": "Example Input 2",
"value": "Provide me sample text with two headings with two paragraphs each."
}
],
Expand Down
2 changes: 1 addition & 1 deletion prompts/ai-builder/email-generator/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"value": "I want you to act as an assistant. I will provide you with a short text, and you will generate an email from it. The email should be formatted using HTML and prettified. [text]"
},
{
"key": "Example input",
"key": "Example Input",
"value": "The company is closed due to bad weather."
}
],
Expand Down
9 changes: 9 additions & 0 deletions prompts/ai-builder/email-text-extractor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ Take a look at the following link to learn more on how to use this prompt:

## Prompt

Extract the 'orderNumber', 'deliveryNumber' and find the 'status' of the following email.
The status can be 'Done' or 'N/A' or 'Undone'.
Use CSV format for your answer.
Add headers 'Order Number', 'Delivery Number' and 'Status'.
Add a line break at the end of your CSV lines.
If the text below has less than couple of words or looks like a placeholder text, respond "Sorry, I can't extract information", otherwise respond with the extracted information.

[text]

### Supported Language(s)

[English](./en-us/prompt.md)
Expand Down
14 changes: 12 additions & 2 deletions prompts/ai-builder/email-text-extractor/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
""
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/email-text-extractor/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -21,11 +21,21 @@
"TEXT EXTRACTOR"
],
"categories": [
"AI Builder"
"AI Builder"
],
"metadata": [
{
"key": "Prompt",
"value": "Extract the 'orderNumber', 'deliveryNumber' and find the 'status' of the following email. The status can be 'Done' or 'N/A' or 'Undone'. Use CSV format for your answer. Add headers 'Order Number', 'Delivery Number' and 'Status'. Add a line break at the end of your CSV lines. If the text below has less than couple of words or looks like a placeholder text, respond “Sorry, I cant extract information”, otherwise respond with the extracted information. [text]"
}
],
"thumbnails": [
{
"type": "image",
"order": 100,
"url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/templates/previewprompts.png",
"alt": "Preview GIF"
}
],
"authors": [
{
Expand Down
13 changes: 5 additions & 8 deletions prompts/ai-builder/email-text-extractor/en-us/prompt.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
Extract the `orderNumber`, `deliveryNumber` and find the `status` of the following email.
The status can be "Done" or "N/A" or "Undone".
Extract the 'orderNumber', 'deliveryNumber' and find the 'status' of the following email.
The status can be 'Done' or 'N/A' or 'Undone'.
Use CSV format for your answer.
Add headers "Order Number", "Delivery Number" and "Status".
Add headers 'Order Number', 'Delivery Number' and 'Status'.
Add a line break at the end of your CSV lines.
If the text below has less than couple of words or looks like a placeholder text, respond Sorry, I cant extract information, otherwise respond with the extracted information.
If the text below has less than couple of words or looks like a placeholder text, respond "Sorry, I can't extract information", otherwise respond with the extracted information.


[Start of text]
Select the plain text content from the Dynamic content list
[End of text]
[text]
2 changes: 1 addition & 1 deletion prompts/ai-builder/feedback-classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This prompt helps to designed to classify text from surveys, reviews, or any dio

## Prompt

Categorize [text] into one of the given categories: Suggestion”, “Question”, “Comment. Return only one of the given categories. If the text isn’t offering a suggestion, or asking a question, simply respond with the comment classification. As a result, output one of the following options in JSON format as an array: {Classification: [Suggestion]}, {Classification: [Question]}, {Classification: [Comment]}.
Categorize [text] into one of the given categories: "Suggestion", "Question", "Comment". Return only one of the given categories. If the text isn’t offering a suggestion, or asking a question, simply respond with the comment classification. As a result, output one of the following options in JSON format as an array: {"Classification": [Suggestion]}, {"Classification": [Question]}, {"Classification": [Comment]}.

### Supported Language(s)

Expand Down
8 changes: 4 additions & 4 deletions prompts/ai-builder/feedback-classification/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
"This prompt helps to designed to classify text from surveys, reviews, or any diologe, and determine if the user is asking a question, offering a suggestion, or simply leaving a closed end comment."
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/feedback-classification/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
],
"tags": [
"prompts","feedback"
"prompts", "feedback"
],
"categories": [
"AI-BUILDER"
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "Categorize [text] into one of the given categories: \"Suggestion\", \"Question\", \"Comment\". Return only one of the given categories. If the text isn't offering a suggestion, or asking a question, simply respond with the comment classification. As a result, output one of the following options in JSON format as an array: {\"Classification\": [Suggestion]}, {\"Classification\": [Question]}, {\"Classification\": [Comment]}."
}
],
"thumbnails": [
Expand Down
2 changes: 1 addition & 1 deletion prompts/ai-builder/feedback-classification/en-us/prompt.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Categorize [text] into one of the given categories: Suggestion”, “Question”, “Comment. Return only one of the given categories. If the text isn’t offering a suggestion, or asking a question, simply respond with the comment classification. As a result, output one of the following options in JSON format as an array: {Classification: [Suggestion]}, {Classification: [Question]}, {Classification: [Comment]}.
Categorize [text] into one of the given categories: "Suggestion", "Question", "Comment". Return only one of the given categories. If the text isn’t offering a suggestion, or asking a question, simply respond with the comment classification. As a result, output one of the following options in JSON format as an array: {"Classification": [Suggestion]}, {"Classification": [Question]}, {"Classification": [Comment]}.
6 changes: 3 additions & 3 deletions prompts/ai-builder/hospitality-enhancement/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Suggests improvements for hospitality services based on customer feedback"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/hospitality-enhancement/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -25,8 +25,8 @@
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Preview",
"value": "Analyze the following customer feedback and suggest service enhancements for a hotel [text]"
}
],
"thumbnails": [
Expand Down
8 changes: 4 additions & 4 deletions prompts/ai-builder/interview-prep/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
"Provides a guide for preparing for job interviews"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/interview-prep/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
],
"tags": [
"prompts","hr","interview"
"prompts", "hr", "interview"
],
"categories": [
"AI Builder"
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "Create an interview preparation guide tailored to the following job description [text]"
}
],
"thumbnails": [
Expand Down
14 changes: 11 additions & 3 deletions prompts/ai-builder/it-expert/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"AI Builder prompt that helps to troubleshoot IT problems"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/it-expert/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -25,8 +25,16 @@
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "I want you to act as an IT Expert. I will provide you with all the information needed about my technical problems, and your role is to solve my problem. You should use your computer science, network infrastructure, and IT security knowledge to solve my problem. Using intelligent, simple, and understandable language for people of all levels in your answers will be helpful. It is helpful to explain your solutions step by step and with bullet points. Try to avoid too many technical details, but use them when necessary. I want you to reply with the solution, not write any explanations. My problem is [Problem]"
},
{
"key": "Example Input 1",
"value": "My printer is not working."
},
{
"key": "Example Input 2",
"value": "I get blue screens of death all the time."
}
],
"thumbnails": [
Expand Down
8 changes: 8 additions & 0 deletions prompts/ai-builder/language-detection/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
{
"key": "Prompt",
"value": "Please identify the predominant language of this text [text]. The detected language should be returned as the 'script' of the language. For instance, for the phrase 'I have a dog', it will return 'en' instead of 'en-US'. The response for languages that can't be detected is unknown. Only return the language, do not say anything else."
},
{
"key": "Example Input 1",
"value": "Je suis Philippe"
},
{
"key": "Example Input 2",
"value": "I am from Paris"
}
],
"thumbnails": [
Expand Down
6 changes: 3 additions & 3 deletions prompts/ai-builder/learning-resources/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"Aggregates learning resources on a specific topic."
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/learning-resources/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -25,8 +25,8 @@
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "Compile a list of learning resources for mastering the following subject [text] . The response should include links to the resources."
}
],
"thumbnails": [
Expand Down
10 changes: 5 additions & 5 deletions prompts/ai-builder/legal-doc-review/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@
"Automates the review of legal documents for key terms and clauses"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/legal-doc-review/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
],
"tags": [
"prompts","legal"
"prompts", "legal"
],
"categories": [
"AI Builder"
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "Identify and summarize the key obligations and liabilities in the following contract [text]"
}
],
"thumbnails": [
{
"type": "image",
"order": 100,
"url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/prompts/ai-builder/legal-doc-review/assets/images/preview.png",
"url": "https://raw.githubusercontent.com/pnp/powerplatform-prompts/main/templates/previewprompts.png",
"alt": "Preview GIF"
}
],
Expand Down
10 changes: 5 additions & 5 deletions prompts/ai-builder/marketing-strategy/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@
"Develops a marketing strategy from product information"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/marketing-strategy/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
],
"tags": [
"prompts","marketing"
"prompts", "marketing"
],
"categories": [
"AI Builder"
"AI Builder"
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "Formulate a marketing strategy for this product, service or event [text], targeting the specified [audience]"
}
],
"thumbnails": [
Expand Down
2 changes: 1 addition & 1 deletion prompts/ai-builder/marketing-strategy/en-us/prompt.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Formulate a marketing strategy for this product, service or event [text] , targeting the specified audience [text]
Formulate a marketing strategy for this product, service or event [text], targeting the specified [audience]
2 changes: 1 addition & 1 deletion prompts/ai-builder/marketing-strategy/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This prompt helps to develop a marketing strategy from product information

## Prompt

Formulate a marketing strategy for this product, service or event [text] , targeting the specified audience [text]
Formulate a marketing strategy for this product, service or event [text], targeting the specified [audience]

### Supported Language(s)

Expand Down
14 changes: 9 additions & 5 deletions prompts/ai-builder/plagarism-checker/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,26 @@
"AI Builder prompt that helps to identify plagarism"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/plagarism-checker/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
],
"tags": [
"TEXT GENERATOR",
"AI Builder"
"AI Builder"
],
"categories": [
"AI Builder"
"AI Builder"
],
"metadata": [
{
"key": "POWERAPPS-CUSTOMCONNECTOR",
"value": "No"
"key": "Prompt",
"value": "I want you to act as a plagiarism checker. I will give you a block of text and you will only reply undetected in the language of the text input if no plagarism is detected and nothing else. Do not write explanations on replies if no plagarism is detected. If plagarism is detected you will reply detected and site references. My block of text is [text]"
},
{
"key": "Example Input",
"value": "Power Apps is a suite of apps, services, and connectors, as well as a data platform, that provides a rapid development environment to build custom apps for your business needs."
}
],
"thumbnails": [
Expand Down
5 changes: 1 addition & 4 deletions prompts/ai-builder/plagarism-checker/en-us/prompt.md
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
I want you to act as a plagiarism checker. I will give you a block of text and you will only reply undetected in the language of the text input if no plagarism is detected and nothing else. Do not write explanations on replies if no plagarism is detected. If plagarism is detected you will reply detected and site references.
[Start Text]
"Power Apps is a suite of apps, services, and connectors, as well as a data platform, that provides a rapid development environment to build custom apps for your business needs."
[End Text]
I want you to act as a plagiarism checker. I will give you a block of text and you will only reply undetected in the language of the text input if no plagarism is detected and nothing else. Do not write explanations on replies if no plagarism is detected. If plagarism is detected you will reply detected and site references. My block of text is [text]
2 changes: 1 addition & 1 deletion prompts/ai-builder/plagarism-checker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This prompt helps with checking for plagarism.

## Prompt

I want you to act as a plagiarism checker. I will give you a block of text and you will only reply undetected in the language of the text input if no plagarism is detected and nothing else. Do not write explanations on replies if no plagarism is detected. If plagarism is detected you will reply detected and site references. My block of text is is "Power Apps is a suite of apps, services, and connectors, as well as a data platform, that provides a rapid development environment to build custom apps for your business needs."
I want you to act as a plagiarism checker. I will give you a block of text and you will only reply undetected in the language of the text input if no plagarism is detected and nothing else. Do not write explanations on replies if no plagarism is detected. If plagarism is detected you will reply detected and site references. My block of text is [text]

### Supported Language(s)

Expand Down
Loading

0 comments on commit 3b03c74

Please sign in to comment.