Inspiration
Racking our brains in the brainstorm session, our team was trying to come up with a big idea for our HackTheNorth project. Nothing was speaking to us. We were experiencing something like writer's block or artist’s block… If only there was something to help us with creativity? And so PROMPTO was born to answer that wish.
What it does
PROMPTO asks users to input simple words or phrases and outputs beautifully stringed prompts crafted to entice your imagination. These outputs are then re-inputted into the program to continue to generate more and more wild ideas. It also categorizes all these outputs and stores them for your browsing pleasure. You can add your favourite outputs to a list and view them together. PROMPTO is not like other prompt generators. This one is smart, speaks to you, and is always learning to improve and give you real unique ideas. Whether you are an artist, musician, author, or just looking for some creative inspiration, PROMPTO will help you clear that creative block and help you design something special.
How we built it
Cohere's natural language processor was trained through multiple iterations of input words and phrases to fine tune the output style. We want the resulting prompts to be interesting and influenced by the input while also bringing something new to the table. These outputs are also classified into nine categories: adventure, art, food, hate, language, love, nature, technology, and miscellaneous using Cohere’s classifying abilities. The psycopg2 Python library was used with SQL for CockroachDB. This database stores all the outputs and also puts them in their separated categories. The favourited prompts are also put in their own category to further train the AI. Node.js was used for testing and training. HTML, CSS, and JavaScript, are used to create the website to display our work. Figma and Adobe Illustrator were used for UX/UI design to ensure the design is aesthetically pleasing and convincing. We prioritize our users getting a clean and painless experience with our visual design. Finally, Github Pages is used to host this website.
Challenges we ran into
Getting CockroachDB programmed using Python to communicate with the Web Application Understanding the execution of SQL and the Python libraries (psycopg2) Figuring out the difference between basic SQL vs. the libraries Creating the user experience focused web page to dynamically resize. Teaching and fine tuning the Cohere AI how to generate creative phrases from the user's prompts Translating the Figma concepts to code as similarly as possible in a minimal timeframe Working through the hackathon and staying motivated
However with the help of various mentors and friends, our team was able to pull through and solve the crucial problems.
Accomplishments that we're proud of
We are proud of the final results. Working hard on such a hefty project and staying motivated even with this being the first HackTheNorth experience for some members in the team was definitely a challenge, but was a hurdle we overcame. Making PROMPTO work even while using so many of the tools needed for the first time is a huge accomplishment for us.
What we learned
SQL for CockroachDB Cohere API Figma Python library psycopg2 FastAPI Fetch Teams are important
What's next for PROMPTO
PROMPTO can really benefit from more user input to feed into the database and to train the AI. The look and feel of the website was done to the best of our abilities but still needs some tweaking to ensure usability. Feedback and testing would be immensely useful for our new site.
In addition, given more time for this project, the implementation of user accounts and being able to save your own collections of lists and share them to other users. We would also love to implement a feature to show “trending” prompts that many users have favourited. Another feature discussed was to add the ability for users to post the drawings, music, creative writing, and videos they created from respective prompts.
Log in or sign up for Devpost to join the conversation.