Have Fun with AWS PartyRock

Have Fun with AWS PartyRock

Play this article

Hello folks, hope you are well ๐Ÿ‘‹

Amazon recently launched PartyRock. It's really fun to play with and at the same time also opens up opportunities for everyone to create apps and experiment with LLMs. This includes experimenting with various foundational models, understanding text-based prompting, and learning how to effectively chain prompts.

In a nutshell, it lets you build AI-generated apps in a Playground powered by Amazon Bedrock. Just go to https://partyrock.aws/ and create your own funny apps, based on prompt engineering, and share them with the world.

Background

PartyRock provides you with a Playground, where you can drag and drop widgets like:

  • user input

  • static text

  • AI-powered: text generation, image and chatbot ๐Ÿš€

You can think of the Playground as a list of functions (Widgets) backed up by Prompts. Every function produces results via prompt engineering, and these results can be concatenated throughout the entire setup via a dynamic variables chain.

Here in the example, the value of the User-Input Widget is included in the Prompt of the second Widget below. See also how the output is populated via variables to the second prompt.

Use Case

Let's say you want to build an app that analyzes your business requirements and conducts automatic EventStorming sessions. Based on the results, it generates the domain objects and a fully working serverless architecture with CDK code. ๐Ÿ™‚

Just hit the landing page and describe your idea:

Here we go, you can find the app here:

https://partyrock.aws/u/odemis/TqzflOT9e/EventStormServerless

Play with it

Enter your business requirement in User Input-Widget e.g:

"A logistics company wants to improve its fleet management through a smart system that optimizes routes, tracks vehicle status, and manages deliveries. The system aims to enhance operational efficiency, reduce fuel consumption, and ensure timely deliveries."

The Output:

  • Generates your domain events.

  • Produces the CDK Code, including components like Lambda, EventBridge, DynamoDB, etc.

The CDK code comments out certain parts, but you can go deeper into specific implementation details in the next step via the Technology Wizard. For instance, if you wish to view details about the implementation of the generated lambdas, simply enter the name, and the output will be displayed in the next Component Widget. ๐Ÿ‘‡๐Ÿฝ

You can also add new widgets, edit an existing widget, and play with the prompt, mode, and temperature settings.

Happy coding ๐Ÿฅณ