Contact Us

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock


awslambdabadge

Amazon PartyRock is a generative AI app-building playground powered by Amazon Bedrock which allows users to experiment with prompt engineering and create fun and intuitive AI-powered apps without writing code.

PartyRock is highly secured, highly available, has a scalable infrastructure, gives you access to a lot of foundational modules, including Lama, accessible to everyone and does not require an AWS account. This guide will help you understand how Amazon PartyRock works, help you get started and show you how to use PartyRock to suit your needs.

How Does PartyRock Work?

Amazon PartyRock is a free service that uses PartyRock credits. It works by simplifying web application development for developers, by providing pre-configured templates and an integrated development environment which can be customized using the platform’s tools. With PartyRock, infrastructure provisioning is automatically managed and scaled (servers, databases, and other resources) without requiring manual setup. There is also a chatbox where you can get real time feedback about the application you’re building.

The PartyRock Environment

The PartyRock environment is a user-friendly interface that allows developers to manage their applications. It includes tools for coding, testing, and deploying your app. The landing page has six items in the menu:

To get started with Amazon PartyRock, click here and select the sign in option.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

There are three options to help you sign in with and you can pick one:

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

For the purpose of this demo, select the Google option to sign in with your gmail account. Choose your preferred email address and continue.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Follow the steps below in order:

  1. Pick a unique username
  2. Select your country
  3. Select your city
  4. Tick the AWS privacy checkbox
  5. Submit
The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

After signing in, you’ll notice four new items in the menu.

Now you can start building!

The ‘Apps’ section shows you the history of apps you’ve developed and you can reuse them or probably share them with other developers.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Snapshot is designed to help you capture and retain information or data of your application. With this feature, you can create a backup or "snapshot" of your RAG application configurations, history, or infrastructure setups to use later on if needed or shared to other developers.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

The Backstage shows you the amount of usage of your PartyRock credit based on your input and output. Every new user is given a 100% free trial which reduces based on the number of applications you run.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

PartyRock Use Cases

Let’s see how Amazon PartyRock works with some use cases.

Use Case 1:
Streamlining Document Management with Intelligent Data Extraction

AWS PartyRock can be utilized to develop a chatbot application that allows users to upload various documents, such as contracts, reports, or research papers. Using the platform's generative AI capabilities, the app can analyze and extract key information from these documents based on user prompts.

Demo:

To start building, click on the ‘Generate app’ section in the menu.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

It’ll take you to the building environment where you can either enter your prompt or ask PartyRock to inspire you with some example prompts.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Here we already have our prompt for the chatbot application so there is no need for the second option but you can choose the second option to get an example. Enter the prompt and generate.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Below, our application has been created. To upload a document, click on ‘choose files’. Select the file you wish to upload and click the ‘enter key’. We'll be uploading the 2022 version of the Nigerian Startup Act document and entering some prompts based on the document.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

The document has been uploaded successfully and we can see the total number of characters in the document.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

In developing a tech startup company, and you seem not to really have much time to read through the document or hire a legal advisor to put you through, you can get the key information needed to start your company using your PartyRock application by uploading the document and asking for a summary.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

There’s a section above that has the following options:

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Creating a snapshot with Amazon PartyRock

To take a snapshot, change your application to public view. Click the private option as seen above and select public.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Your application is now public and now, you can take your snapshot.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

It’ll take some seconds to be created and then you can see your snapshot. This will also appear in the snapshot area of the PartyRock interface.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Editing your App

Clicking on the ‘edit’ button or symbol brings you to the interface below where you can choose your own title, placeholder and foundational model.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Still want more? Your Amazon PartyRock application can answer any question(s) you have about your uploaded document.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Outcome of this use case: Enhanced document management, improved decision-making, document confidentiality and privacy with increased efficiency.

Use Case 2:
Rapid Prototyping & MVP Development:

AWS PartyRock can be used to rapidly prototype and develop minimum viable products such as:

PartyRock can also generate relevant images, hashtags and conversation prompts to enhance your posts.

Demo:

Enter the prompt and generate.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Type in your command and enter. PartyRock will automatically generate a name for your app (which you can edit and change) and execute your command.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

The draft, image and relevant hashtags have been generated by PartyRock based on your command prompt.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

  1. You can save the image
  2. Regenerate another image
  3. Edit and customize the model to your taste.
The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Outcome: Accelerated product development cycles, allowing startups to validate their ideas quickly and efficiently with minimal investment.

Amazon PartyRock Pricing and Support

PartyRock is currently free tier and based on PartyRock free credits and its usage is based on your input tokens, output tokens and generated images. Amazon provides comprehensive resources available, including documentation, community forums and contact support for additional help and guidance.

Limitations

Integrating PartyRock with non-Amazon tools can be tough and might require extra work. Also, deep customization might require in-depth knowledge and expertise and since PartyRock is tightly linked to Amazon's ecosystem, it can be hard to switch to another provider later on.

Sharing your App

To share your app with others, click on the ‘public’ section and copy the link. This link can be shared on different platforms or sent directly to individuals.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

The ‘url’ will have AWS PartyRock and your username as seen below. Alao, other users can remix your app and see it was created by you.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

Now they can also use your app and execute their own commands.

The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock

AWS PartyRock offers a unique and accessible platform for exploring generative AI, allowing users to create, test, and share AI-powered apps with ease. it's diverse capabilities make it a valuable tool for various sectors, including finance, healthcare, media, fintech, and more. PartyRock not only provides practical tools but also serves as an educational resource, helping users develop foundational skills in generative AI.

Frequently asked questions about Amazon Partyrock Aws

  1. PartyRock Guide: https://partyrock.aws/guide
  2. About PartyRock: https://aws.amazon.com/about-aws/whats-new/2023/11/partyrock-amazon-bedrock-playground
  3. PartyRock FAQs: https://partyrock.aws/guide/faq
  4. What’s New with PartyRock: https://partyrock.aws/new