DEV Community

Cover image for It's Party(Rock) time: Let's build an app in a few clicks!!
Arijita Mitra for AWS Community Builders

Posted on

It's Party(Rock) time: Let's build an app in a few clicks!!

PartyRock, an Amazon Bedrock Playground, is a generative AI app building playground. It is built to help us experiment hands-on with prompt engineering in an easy way. And let me tell you, it's a lot of fun too! Just a few clicks and we have built an app to play with generative AI in a variety of ways.

Anyone can access PartyRock through its simple web-based UI, which is separate from the AWS console and does not even require an AWS account to get started. PartyRock provides every new user with free trial usage for a limited time and there is no credit card required to sign up.

So let's use this opportunity and get started!
When we open the URL, we will land into the PartyRock console. We need to login and proceed.

Image description

Let's click on "Build your own app".

Image description

I wanted to create a daily diet plan for my friend who is currently pregnant.

Image description

Next, you will be taken to the app creation page, where you have to give the inputs required and you can select the various widgets you want in your app.

Image description

In the User Input, we have to give some details, whatever we wish to. I gave the name, age and stage of pregnancy.

Image description

As soon as I gave the input, PartyRock started generating results as "Diet Recommendations".

Image description

The following is the recommendations generated by PartyRock -

Here is a suggested healthy, balanced daily diet plan for Tabitha, a 30 year old woman who is 22 weeks pregnant:

Breakfast:
- 1 cup Greek yogurt with 1/2 cup berries and 1 tbsp chia seeds
- 1 slice whole grain toast with 1 tbsp natural peanut butter
- 1 cup green tea

Mid-morning Snack: 
- 1 medium apple with 1 oz cheddar cheese

Lunch:
- Tuna salad sandwich on whole wheat bread with lettuce, tomato, avocado
- 1 cup vegetable soup 
- 1 cup skim milk

Afternoon Snack:
- 1 oz mixed nuts
- 1 cup carrots and celery sticks with 2 tbsp hummus

Dinner: 
- 4 oz grilled salmon with lemon
- 1 cup cooked brown rice
- 1 cup steamed broccoli  
- Side salad with vinaigrette dressing

Evening Snack:
- 1 cup low-fat cottage cheese
- 1/2 whole wheat English muffin
- 8 oz decaf green tea

Key nutrition focuses for a pregnant woman are getting enough protein, omega-3s, iron, folate, calcium, fiber and fluids. This meal plan incorporates lean proteins, complex carbs, healthy fats, fruits, vegetables, dairy, nuts and seeds to help meet nutritional needs for pregnancy. Tabitha should focus on eating until satisfied, not overly full. She should also stay well hydrated by sipping water throughout the day. Light exercises like walking are also recommended during pregnancy. Consulting with an OBGYN or dietitian can help personalize and adjust this meal plan as needed.
Enter fullscreen mode Exit fullscreen mode

Smart, right? 

There's a Feedback widget added automatically, where as I asked questions, it gave replies instantaneously.

Image description

Image description

Next I wanted to explore more. I wanted to add more widgets to my app.

Image description

There are few options available. Let's select the Image Generation and see what's in store!

Image description

So we can use the User input and create the image. We can make changes to the user input and the simultaneous image will be updated. For example, as I asked to generate a cartoon image of the user input i.e. a pregnant lady, PartyRock generated the following image.

Image description

Isn't it cool!! It's that easy!!
We can create as many images as we wish to by changing the inputs.

Image description

We can add a Chatbot too with our desired settings.

Image description

Thus, in this fun way, we have actually created a cool app, which can be improvised more and more. 

There are two modes of the apps we create - Private or Public. If we select the private mode, the app will remain private. But if we select the public mode, the app can be shared with anyone and can be accessed by them through the link.

Image description

Image description

Thus my app is public now, and can be accessed through this link.

Out of interest I have created another app to help my diabetic dad with his diet. (Don't know why I am creating apps for diet plans though!). You can have a look at that app too here.

My dashboard currently looks like this.

Image description


AWS is providing a free trial period for PartyRock users. Let's use this opportunity and get creative!

Thus, let's dive into the world of generative AI app building with this smart Amazon Bedrock Playground - PartyRock!!! 

"Everyone can build AI apps with PartyRock, an Amazon Bedrock Playground"


Top comments (0)