Personality Generator

✦Discover the story hidden within your choices✦

Visit Repo
Personality Generator banner

About

## Challenges we ran into

One of the biggest challenges we faced was managing secure API integration for the Groq LLM service during deployment. While the application worked perfectly in a local environment using a .env file, it failed in production due to missing environment variables in Streamlit Cloud. We resolved this by migrating sensitive keys to Streamlit Secrets, ensuring secure and reliable runtime access.

Another major hurdle was frequent syntax and structural errors in the dynamically created question dataset. Since the personality engine relies heavily on nested dictionaries and lists, even small formatting mistakes (missing commas, mismatched brackets, or incorrect nesting) caused full application crashes. We overcame this by carefully restructuring the dataset into a validated Python structure and debugging iteratively using Streamlit error logs.

We also faced challenges in maintaining consistency between AI-generated personality outputs and the predefined archetype system. Aligning probabilistic AI responses with deterministic personality categories required multiple iterations of prompt tuning and response formatting.

Additionally, deployment stability was an issue during rapid updates, as frequent pushes to GitHub sometimes triggered build inconsistencies. We addressed this by adopting a structured testing workflow before deployment and validating changes locally before pushing to production.

These challenges significantly improved our understanding of secure cloud deployment, structured data handling, and real-world AI integration workflows.

## The problem it solves

Traditional personality assessments are often static, repetitive, and lack meaningful interpretation of user responses. Most online quizzes reduce human personality to simplistic labels or generic results that fail to reflect emotional depth, behavioral nuance, or individuality.

There is a growing need for an intelligent system that can transform simple user inputs into rich, structured, and emotionally resonant personality insights—presented in a way that feels engaging, personalized, and narrative-driven rather than mechanical.

Objective:

Build an AI-powered interactive system that:

⬤Captures user responses through scenario-based questions ⬤Analyzes behavioral patterns and decision tendencies ⬤Generates a unique personality archetype with meaningful psychological traits ⬤Presents results as a cinematic, story-like identity profile ⬤Optionally exports insights into a downloadable personal portfolio (PDF format)

Goal Impact:

The system should transform personality discovery from a boring questionnaire experience into a dynamic self-reflection journey, making users feel like they are uncovering a deeper version of themselves through AI-driven storytelling.

Screenshots

Personality Generator screenshot 1Personality Generator screenshot 2Personality Generator screenshot 3Personality Generator screenshot 4Personality Generator screenshot 5

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.