The Ultimate Guide to Building Generative AI Apps with Amazon PartyRock
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:
- Sign in
- Discover: Discover interesting applications you can build and also get inspired and lots more.
- Playlist: After developing several applications, they can be grouped into a playlist.
- PartyRock Guide: Amazon’s documentation to walk you through how you use PartyRock to build applications.
- What’s New?: Includes Release notes.
- Feedback: Here, you can directly give Amazon feedback, suggestions, thoughts and opinions with the PartyRock team.
To get started with Amazon PartyRock, click here and select the sign in option.
There are three options to help you sign in with and you can pick one:
- Apple
- Amazon
For the purpose of this demo, select the Google option to sign in with your gmail account. Choose your preferred email address and continue.
Follow the steps below in order:
- Pick a unique username
- Select your country
- Select your city
- Tick the AWS privacy checkbox
- Submit
After signing in, you’ll notice four new items in the menu.
- Generate App
- Apps
- Snapshots and
- Backstage
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.
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 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.
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.
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.
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.
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 document has been uploaded successfully and we can see the total number of characters in the document.
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.
There’s a section above that has the following options:
- Remix: Allows you to customize and modify existing templates, configurations, or setups to suit your needs rather than starting from scratch.
- My Snapshots: To take a snapshot of your application, your app must be made public.
- Private: You have the option of making your application public, private or shared via a link to others.
- Edit button: Customize your application to suit your preference.
- Autoplay
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.
Your application is now public and now, you can take your snapshot.
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.
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.
Still want more? Your Amazon PartyRock application can answer any question(s) you have about your uploaded document.
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:
- A Social media app with AI-generated content suggestions
- A retail app offering dynamic product recommendations and pricing strategies
PartyRock can also generate relevant images, hashtags and conversation prompts to enhance your posts.
Demo:
Enter the prompt and generate.
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 draft, image and relevant hashtags have been generated by PartyRock based on your command prompt.
- You can save the image
- Regenerate another image
- Edit and customize the model to your taste.
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 ‘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.
Now they can also use your app and execute their own commands.
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
- PartyRock Guide: https://partyrock.aws/guide
- About PartyRock: https://aws.amazon.com/about-aws/whats-new/2023/11/partyrock-amazon-bedrock-playground
- PartyRock FAQs: https://partyrock.aws/guide/faq
- What’s New with PartyRock: https://partyrock.aws/new