Inspiration
Do you remember the feelings of wonder and joy that swept you away when playing one word stories as a kid? You would take turns with a friend thinking of just one word at a time to create a compelling story, and at every moment you could feel the world at your fingertips. We wanted to create something that would be able to replicate those amazing memories, and we came up with www.onewordstories.tech.
What it does
Our project allows users to take turns developing a story word-by-word with NLP from co:here. The number of words per turn can be configured from a minimum of 1 to a maximum of 10 words. Feeling stuck? No problem! Our custom "I need inspiration" button skips the user's turn and gets the AI to go instead. Based on how the user is feeling, the story can either start off with a generic or spicy introduction. If the story is going nowhere, the "Reset" button always comes in handy.
How we built it
The website was built in React with the help of Material UI. To generate text using co:here's API, we ask the API to continue the story with certain parameters that we provide.
Challenges we ran into
For a lot of the day on Saturday, the co:here API was really slow because of the number of calls that came from hackers at Hack the North. As a result our development slowed down as each text generation call would take a very long time.
We also ran into many problems while trying to use the co:here API with Node; there were a lot of module errors and eventually we just decided to make a direct http request to co:here in order to get the generated text.
Accomplishments that we're proud of
We created a product that works similar to how we planned it out to be like. We find it exciting that it is able to generate a compelling story that the user can guide. We are also proud of being able to apply React, and new technology for some of us, to the product and see the final result work out the way it is.
What we learned
We each learned new technologies, including React and the co:here API. While figuring out how the API worked, we found out that the AI is very good describing the current situation. The results the API generates given enough tokens is very accurate. However, as our goal is to make the API write 1 word at a time, we found that if we didn't look into the future at all, it would be hard to make the story progress.
What's next for One Word Stories
We would like to add better graphics and images on the website, especially since we would like to maximize user-experience. We would also like to develop the "spicy" and "generic" categories and give each of these categories more features.
Log in or sign up for Devpost to join the conversation.