Inspiration
We wanted to make something that could be enjoined by everyone and was also funny
What it does
It provides a fun fact for any given day and also gives you todays fun fact and a dad joke made by chatGPT
How we built it
We used VSC and python along with the streamlit, langchain, and MongoDB libraries. We were able to create a text file with the fun facts and upload it to MongoDB. The code then navigates to the text file locally and selects a fun fact based on the user input and chatGPT randomly generates a dad joke
Challenges we ran into
Trying to display the current days fun fact
Accomplishments that we're proud of
The current day fun fact display as well as the ChatGPT implementation
What we learned
We learned the basics of how to use MongoDB streamlit as well as langchain
What's next for Daily Fun Fact and Dad Joke Generator
We want to add more fun facts and dad jokes to the database and eventually pull the jokes from the database, not just locally. We want to also make it a real website so anyone can access it and have people very the fun facts.
Log in or sign up for Devpost to join the conversation.