We're nearing the end of Movember. On the 1st of the month, I wrote a blog about how I will Mo My Own Way by building a men's health chatbot. For my first exploration, I used Meta AI Studio (read about it here). In this post, I will describe building a similar chatbot using Amazon PartyRock Playground.
PartyRock is an Amazon playground for building AI-generated apps. It's powered by Amazon Bedrock, so it has powerful generative AI foundation models, but it also uses GenAI to help you create your app without any heavy lifting. Geat started by heading to https://partyrock.aws/.
Get started by clicking Generate app.You will get a popup where you can define what your app will do in plain text.
For example, I have started with:
Stache is a hipster barber with a bushy mustache and a passion for men's health. He's always ready to share his expertise and advice on a wide range of men's health concerns, especially mental health, prostate cancer and testicular cancer. With a friendly and approachable demeanor, Stache makes it easy for men to open up about their health concerns and get the support they need. Whether you're looking for advice on how to improve your mental health or seeking guidance on how to talk to your friends about health issues, Stache is here to help.
PartyRock will generate an app, including a set of widgets with various functionality:
Click Edit to modify widget locations, layout and content:
For example, I removed a few of the widgets, leaving only Chat with Stache. For a chat widget, you can set the prompt, labels and model. For the Prompt, I describe how I want Stache to talk and defined what he knows:
The Labels tab include the widget title, some placeholder text and the initial message:
The Model tab lets you select a model:
I selected Claude 3.5 Sonnet. You can also set model Temperature and Top P, which affect the randomness and creativity. Since I am looking for a more factual chatbot, I have set both to 0.
Once you have everything set up, you can click Leave edit and try it out:
By default, all apps are private. If you want to share, click Share and set the sharing level (public, shared or private):
If you have an especially interesting interaction with your app, you can click Snapshot to save the session. You can find all your snapshots in the Snapshots section.
Here you can get a URL to share or delete the snapshot. For example, you can see the snapshot from a chat with Stache here:
https://partyrock.aws/u/bluevalhalla/b2ofzFpv1/Stache's-Health-Cache/snapshot/bKOgCILud
That's all it takes to create an AI chatbot app using PartyRock. Give it a try and drop a comment below to let me know what you created.
If you linked this post, please consider donating to my Movember fundraising page here:
https://movember.com/m/bluevalhalla
Let's Mo!
Top comments (0)