Inspiration
Each of us are interested in philosophy and find ourselves thinking about our day-to-day actions from a philosophical lens.
What it does
Users input diary entries, and an AI analyzes their writing, matching them with different popular philosophical perspectives (Stoicism, Nihilism, etc.). Users can see how much their writing aligns with each perspective by percentages. The AI also draws comparisons between diary entries and asks the user insightful questions to reflect on.
How we built it
We used Flask for the backend and HTML with Bootstrap 5 for the frontend. The app leverages the OpenAI API, specifically the GPT-4o-mini model.
Challenges we ran into
We had to do a lot of prompt engineering to get the AI to respond most reasonably to prompts. Additionally, we had to define a heuristic to determine whether a diary entry was gibberish while carefully avoiding false positives that could be hurtful to the user.
Accomplishments that we're proud of
We are proud that the AI provides percentage matches for each philosophical perspective.
What we learned
We gained valuable experience in prompt engineering as well as some web design.
What's next for Two MIT One Duke
If possible, we aim to turn the website into a mobile app and add more functionality for users to interact with the AI, allowing them to ask questions about its analysis.
Log in or sign up for Devpost to join the conversation.