Inspiration

The first project I created with PartyRock was an RPG style app, using AI as a dungeon master seemed a great way to have an interactive experience. I wanted to use this type of creativity demonstrated from LLMs but combine it with the knowledge that they have baked into them to make something that can help instil historical knowledge!

What it does

TimeWhisperer allows you to type in any famous character from history, it will then output a list of chronological events for that person so you can choose what year you would like to interview them. It also generates a portrait of them so you can see the character.

After entering a year to interview them, then the interactive chat begins, and an image is generated of the interviewee in a position as if they are being interviewed :)

How I built it

I started out by asking PartyRock to generate the app, which gave the boilerplate but it some strange prompts and didn't have the element of year that I wanted to add in. I then added a few extra widgets and linked them together to bring together the elements i wanted. Finally I spent time testing it out and changing prompts until I was happy.

Challenges I ran into

At first the interactive chat would forget it was supposed to be in the first person perspective, or switch around between tenses. I had to spend time on tweaking the prompt for Claude to try to resolve this, occasionally it still does it but it's much better.

Accomplishments that I'm proud of

Honesty the speed in which I could put something like this together, I realise this isn't an accomplishment of myself, but of the PartyRock app and GenAI - but it makes you feel good!

After chatting with a few characters I realised I was learning a lot quite quickly. I could have gone to wikipedia to learn about these characters, but I hadn't - the fact this was interactive made it much more engaging.

What I learned

All about the fiddliness of prompt engineering, it's quite easy to go 80% of the way, but the last 20% can take a long time to get right.

What's next for TimeWhisperer

I'd like to initially try GenStack to see if I can convert the PartyRock app to a SvelteKit app and see what customisation I could do to that. I have recently been doing with in mobile apps, so it would be cool to try to build a simple App version of it - with a Cognito serverless backend!

Built With

  • partyrock
Share this project:

Updates