Inspiration
The idea for RizzGPT came from our shared love for humor, witty one-liners, and romantic gestures. We wanted to create a fun and useful tool that could help people break the ice and start conversations with their crushes or partners. We also wanted to showcase the capabilities of AI and natural language processing in a practical and engaging way.
What it does
RizzGPT is an AI wingman that helps you craft better pickup lines and impress your crush or partner. It uses OpenAI's GPT-3 model to analyze your pickup line, provide feedback, and suggest better options. You can input your pickup line on the website, and the AI will rate it on a scale of 1-10, give you feedback on what worked and what didn't, and suggest alternative lines that may be more effective.
In addition to the rating system, RizzGPT also has a leaderboard hall of fame for the best pickup lines that users have submitted. You can browse through the leaderboard to get inspiration for your next conversation starter or submit your own successful pickup line to join the hall of fame.
Finally, RizzGPT also allows you to send the better options generated by the AI to your crush's phone number using Twilio's messaging API. This feature makes it easy to turn your newfound wit into action and make a memorable impression on your crush.
How we built it
We built RizzGPT using a combination of modern web development tools and APIs. The frontend was built using HTML, CSS, and vanilla JavaScript. We used Bootstrap to style the website and make it responsive to different screen sizes.
For the backend, we used Node.js and Express to build the server-side API that handles user requests and communicates with the OpenAI and Twilio APIs. We integrated OpenAI's GPT-3 model using their official API to generate better options for pickup lines. We also used Twilio's messaging API to send the better options to users' phones.
Challenges we ran into
One of the main challenges we faced was integrating with the OpenAI API. Since the GPT-3 model is a complex neural network with billions of parameters, it requires significant computational resources to run. We had to optimize our API calls to minimize the amount of data sent to and from the OpenAI servers while still providing accurate and useful feedback to users.
Another challenge was handling user input and output securely. Since RizzGPT involves sending messages to users' phones, we had to ensure that user data was properly sanitized and that the Twilio API was used responsibly to prevent spam or abuse.
Accomplishments that we're proud of
We are proud of the seamless integration of multiple APIs to create a fun and useful tool for users. We are also proud of the design and user experience of the website, which we aimed to make clean, modern, and easy to use.
We are also proud of the achievement of creating a working AI wingman that can analyze and generate better options for pickup lines, giving users the confidence to break the ice and start conversations with their crushes.
What we learned
Through building RizzGPT, we learned about the capabilities and limitations of AI and natural language processing. We also learned about best practices for building secure web applications that handle user data responsibly. Additionally, we learned about how to integrate with multiple APIs to create a cohesive and powerful tool.
HOW TO RUN
git clone https://github.com/Dru-O7/RizzGPT
npm install
create a new file .env and add the following Variables
OPENAI_KEY=''
TWILIO_ACCOUNT_SID=''
TWILIO_AUTH_TOKEN=''
TWILIO_PHONE=''
MY_PHONE=''
now run
node server.js
Log in or sign up for Devpost to join the conversation.