Skip to content

Commit

Permalink
Updated power-fx-interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
Laskewitz authored Mar 27, 2024
1 parent 50626f8 commit 48501a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
24 changes: 6 additions & 18 deletions prompts/ai-builder/power-fx-interpreter/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 explain Power Fx logic"
],
"url": "https://github.com/pnp/powerplatform-prompts/tree/main/prompts/ai-builder/power-fx-interpreter/",
"products": [
"products": [
"AI Builder",
"AIBuilder",
"Power Platform"
Expand All @@ -21,28 +21,16 @@
"CODE INTERPRETER"
],
"categories": [
"AI Builder"
"AI Builder"
],
"metadata": [
{
"key": "AIBUILDER-GPT",
"value": "Yes"
"key": "Prompt",
"value": "I want you to act like a Power Fx interpreter. I will give you Power Fx code, and you will reply back with an explanation of what the code is doing. The first code is: [code]"
},
{
"key": "POWERAPPS-COPILOT",
"value": "No"
},
{
"key": "POWERAUTOMATE-COPILOT",
"value": "No"
},
{
"key": "POWERPAGES-COPILOT",
"value": "No"
},
{
"key": "POWERVIRTUALAGENTS-COPILOT",
"value": "No"
"key": "Example Input",
"value": "Text(DateTimeValue(ThisItem.'Created On'), \"mmmm d\", \"en-US\")"
}
],
"thumbnails": [
Expand Down
2 changes: 1 addition & 1 deletion prompts/ai-builder/power-fx-interpreter/en-us/prompt.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I want you to act like a Power Fx interpreter. I will give you Power Fx code, and you will reply back with an explanation of what the code is doing. The first code is: "Text(DateTimeValue(ThisItem.'Created On'), "mmmm d", "en-US")"
I want you to act like a Power Fx interpreter. I will give you Power Fx code, and you will reply back with an explanation of what the code is doing. The first code is: [code]
2 changes: 1 addition & 1 deletion prompts/ai-builder/power-fx-interpreter/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This prompt helps with understanding Power Fx code

## Prompt

I want you to act like a Power Fx interpreter. I will give you Power Fx code, and you will reply back with an explanation of what the code is doing. The first code is: "Text(DateTimeValue(ThisItem.'Created On'), "mmmm d", "en-US")"
I want you to act like a Power Fx interpreter. I will give you Power Fx code, and you will reply back with an explanation of what the code is doing. The first code is: [code]

### Supported Language(s)

Expand Down

0 comments on commit 48501a0

Please sign in to comment.