DEV Community

Kosuke ENOMOTO for AWS Community Builders

Posted on

Build a R&R app with PartyRock and Bedrock!

TL;DR

You can easily build a Generative AI app with PartyRock!

Intro to Bedrock and PartyRock

Are you a GenAI enthusiast? Do you want to learn it with AWS Bedrock? Yes you are, and you can easily build a generative AI app running on Bedrock. This is PartyRock.

What is Amazon Bedrock?

Amazon Bedrock is generative AI platform provided by AWS as a full-managed-service. This is generally available since September 2023 and provides the capability to build Generative AI on AWS.
Here is an announcement from AWS.
Amazon Bedrock Is Now Generally Available – Build and Scale Generative AI Applications with Foundation Models

And What is PartyRock?

PartyRock.aws is also provided by AWS. You can build a mini app, share with friends, experiment and learn all about prompt engineering.
Build AI apps with PartyRock and Amazon Bedrock

Let's build a Rock'n Roll app with PartyRock

As you can see, both Bedrock and PartyRock include the phrase "ROCK". And I love Rock music. My duty is to build an app something relates to ROCK...

So I decided to build an app that recommends the rock music per your input. Let's start.

Sign up

First, go on to PartyRock.aws. Click "Sign in" on your right-top.
the top of PartyRock website

You can sign up PartyRock account with your social, Google, Apple or Amazon. No AWS account is required in case you just want to use PartyRock.
You can sign up with your SNS account

Signed up! And you can set up your username, gio information, and submit.
Once you sign in, you can set up the username

Build an app in seconds

After you succeeded to sign up, go back to the top, and then click "Build your own app". You can see the app builder. Fill the description with 2-3 sentences just like the screenshot. I would like to build a recommendation app so I typed "Rock Recommendation App recommends users the rock music with YouTube link".
ARE YOU READY? Then click "Generate app".
Back to the top, click

After a while, not so long! it was just a minute later, you will see your app!! Input your favor in Input field and the app recommends you a couple of rock music.

Enjoy your app!!
Input your favor in Input field, then the app recommends the rock music

Play the app

Now you can see your app, let's play!!

I made a prompt like this,

Could you please recommend a couple of metal music? I am so busy recently due to both my business and private, and feel a bit got tired. I would like to listen to metal that cheers me up. 

# Condition
- Verify YouTube link is correct, validated and the streaming is available
- The more up beat, the more I can cheer me up!
Enter fullscreen mode Exit fullscreen mode

And here is the output from my app.

Here are a couple upbeat metal songs that may help lift your spirits:

Song: "Thunderstruck" by AC/DC Artist: AC/DC Link: https://www.youtube.com/watch?v=v2AC41dglnM

This classic hard rock song by AC/DC is pure fun and energy from start to finish. Brian Johnson's vocals and the guitars will have your head banging and stress melting away. AC/DC always knows how to lift your mood with their catchy, no nonsense rockers.

Song: "You Give Love a Bad Name" by Bon Jovi Artist: Bon Jovi Link: https://www.youtube.com/watch?v=KrZHPOeOxQQ

One of the most iconic arena rock anthems ever, "You Give Love a Bad Name" by Bon Jovi is guaranteed to get your blood pumping. From the opening riff to the singalong chorus, it's simply a blast to listen to. Jon Bon Jovi's charismatic performance and the band's signature sound make it the perfect high energy pick me up.

I chose upbeat, classic hard rock/metal songs from iconic bands that should provide an endorphin boost to help lift your spirits during your busy time. Let me know if you'd like any other recommendations!
Enter fullscreen mode Exit fullscreen mode

Very good, they recommended 2 rock!
Click the thumbnails, and you can go on to YouTube.

  1. "Thunderstruck" by AC/DC

  2. "You Give Love a Bad Name" by Bon Jovi

Share your app with friends

Yes, you can share your own app with friends! Here is the procedure.

You can see "Make public and Share" on your right-top. Yes, you can just click there.
You can see

Your app is now public! Click "Copy link to clipboard, and share the link with friends.
Now your app is public

Where Rock Recommendation App?

Here you go!! Enjoy Rock Music!!
Rock Recommender by Kosuke

I will publish another blog when I update the app...

Thank you very much for reading, here is my social account.
LinkTree - coosuke

Top comments (0)