stuartridout / promptbuddy

Prompt Buddy is a free Microsoft Teams Power App using Dataverse for Teams. It is a space where your team can share their favourite AI prompts and upvote prompts from others. It is preloaded with Copilot categories but others can be added.
Other
108 stars 10 forks source link

Sample Prompts not importing #1

Closed JuleKnowHow closed 3 months ago

JuleKnowHow commented 3 months ago

I'm having trouble importing the sample prompts.

I am importing them as described in your Youtube-Video, and the Power Automate Flow is also completed successfully, but my tables are still all empty and the prompts don't show up in the "Prompt Buddy Admin" (which has "Manage Campaigns" as a title for me and the button that says "Add category" in the video says "Add campaign" for me - see attached image).

PromptBuddyAdmin
stuartridout commented 3 months ago

That’s odd.  Do you have the Employee Ideas app installed in this environment?  StuartOn 22 Mar 2024, at 12:20, JuleKnowHow @.***> wrote:[stuartridout/promptbuddy] Sample Prompts not importing (Issue #1)I'm having trouble importing the sample prompts.I am importing them as described in your Youtube-Video, and the Power Automate Flow is also completed successfully, but my tables are still all empty and the prompts don't show up in the "Prompt Buddy Admin" (which has "Manage Campaigns" as a title for me and the button that says "Add category" in the video says "Add campaign" for me - see attached image).PromptBuddyAdmin.png (view on web)—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you are subscribed to this thread.Triage notifications on the go with GitHub Mobile for iOS or Android.                                                           

JuleKnowHow commented 3 months ago

No, in the environment there is only the Prompt Buddy installed right now.

JuleKnowHow commented 3 months ago

I have just checked the Flow again and I found that there actually is an error, despite the Flow being successfully called:

Under the "Apply to each" section an error occurs in the "Parse Campaign JSON" element: _InvalidTemplate. Unable to process template language expressions in action 'Parse_CampaignJSON' inputs at line '0' and column '0': 'Required property 'content' expects a value but got null. Path ''.'.

stuartridout commented 3 months ago

That's odd. I've tried to repro but it works fine every time for us. I would suggest deleting the flow and then downloading the latest release to see if it imports.

JuleKnowHow commented 3 months ago

I managed to get it to work. I had to manually create the categories for the sample prompts to be imported into. I assumed that they would also be created with the import, but they weren't.

Erithano commented 3 months ago

[like] Erik Olsson reacted to your message:


From: JuleKnowHow @.> Sent: Tuesday, March 26, 2024 1:01:02 PM To: stuartridout/promptbuddy @.> Cc: Subscribed @.***> Subject: Re: [stuartridout/promptbuddy] Sample Prompts not importing (Issue #1)

I managed to get it to work. I had to manually create the categories for the sample prompts to be imported into. I assumed that they would also be created with the import, but they weren't.

— Reply to this email directly, view it on GitHubhttps://github.com/stuartridout/promptbuddy/issues/1#issuecomment-2020366800, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APQAZFYP3DGK4UVHHAQ7MDTY2FPP5AVCNFSM6AAAAABFDHD256VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGM3DMOBQGA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Erithano commented 3 months ago

Thanks @JuleKnowHow! The latest release has worked fine in this regard in multiple tests across various environments. We're happy you resolved your issue with creativity and a bag of patience! 🙂

I noticed you deployed with German language settings (Das ist sehr schön!) in Teams and some of the bugs we addressed were directly related to Prompt Buddy being installed with other language settings.

halukpn commented 2 months ago

I have a similar issue, everything seemed to import OK but I have no categories or anything. 2024-04-30 09_31_10-Teams and Channels _ General _ UK Power Networks _ Hal Sclater@ukpowernetworks c