Build an Event Planner Application with Prompt Engineering

Build an Event Planner Application with Prompt Engineering

This article talks about how you can build an AI application using AWS PartyRock

Published Feb 3, 2024
Last Modified Feb 17, 2024
AI has been the talk of the town for a while now, there are 80% chances that you have either used an AI tool or built one. With the advent of AI, there also comes a term called "Prompt Engineering", which is basically talking to your AI buddy to get them do a particular task. In this article, we will see how you can build an Event Planner application using effective prompts in AWS PartyRock.

What is Prompt Engineering?

Before we get into how to build the app, let us understand what prompt engineering means. Prompt engineering refers to the process of designing and refining prompts to effectively communicate with AI models, particularly those trained on large language datasets, like GPT (Generative Pre-trained Transformer) models. This process is crucial for leveraging the capabilities of AI to generate desired outputs, solve problems, or create specific content. It involves understanding how the AI interprets inputs and strategically crafting prompts to guide the AI towards producing the most relevant, accurate, or creative responses.

What is Party Rock?

PartyRock is a fun and intuitive hands-on, generative AI app-building playground. With PartyRock, you can share apps and content you create with a single click. Publish your app for others to find with shareable links. Discover, play, and remix apps to make them your own. You can even create a snapshot link of the content your app generates to quickly share your results with your community.
With it, you can also:
  • Get access to Amazon Bedrock
  • Experiment with prompt engineering techniques
  • Review generated responses, and
  • Develop intuition for generative AI while creating and exploring fun apps.

What are we building with PartyRock?

For this hackathon, I have built an event-planner app called Eventify. The idea came from seeing my friends getting married and hearing about the tedious process of event management. Event management is not only a lengthy process, it is also quite expensive. With the help of an app like Eventify, everyone can take inspiration and plan accordingly.
All of you need to do is, give the following prompts:
- Event type - What type of event is it? Is it a wedding? A tech event? A baby shower? You need to describe the event type.
- Event Theme - What will be the theme of the event? Minimal? Indian wedding? Boho?
- Guest count - You need to mention how many people will be attending your event.
Once all of that is done. Eventify will generate you a full description of how the venue of the event should look like, and generate a picture of the same.

Building an app with PartyRock

Building an app with PartyRock is pretty simple, all you need is to create an account to get started.
The next step is to write the prompt for the app that you want to build. In my case, I wanted to build an event planner visualizer and the prompt I used was: Create a tool for event planners to visualize decorations, seating arrangements, and venue setups through AI-generated images based on input criteria like event type, theme, and guest count.
This is where you add your prompt πŸ‘‡

Wait for a few minutes and PartyRock will build the widgets for you, this is what it built for me πŸ‘‡
Add the inputs to test it, if you feel it isn't working as you expected, you can fine tune all the inputs and make edits accordingly.
Here's an example of how to do it πŸ‘‡
  • Click on the icon that is pointed by the arrow.
  • It opens up the edit tile.
  • You can change the model if you want.
  • You can edit the prompts to choose widgets of your choice. To add a new widget, just select it with the @ tag.
  • Click on Save and wait for the results.

    Β And that's a wrap! You have successfully created an AI tool for yourself!
You can test my Event Planner Visualizer app, Eventify here.
Here's the demo in full action and also the story behind the idea: