An intelligent MBTI personality assessment tool powered by Fireworks AI's large language models. This application demonstrates advanced AI capabilities in personality analysis through dynamic question generation and detailed reasoning.
- Dynamic Question Generation: Uses Llama-v3-70B to generate contextually aware, scenario-based MBTI questions
- Intelligent Analysis: Leverages DeepSeek-R1 for comprehensive personality assessment
- Real-time Reasoning: Shows the AI's thought process during analysis
- Structured Output: Utilizes JSON-mode for reliable, structured responses
- Progressive Assessment: 10-question adaptive personality evaluation
-
Question Generation: Fireworks AI's Llama-v3-70B-Instruct
- Generates subtle, scenario-based questions
- Adapts questions based on previous responses
- Structured JSON output for consistent question format
-
Personality Analysis: Fireworks AI's DeepSeek-R1
- Real-time analysis with visible reasoning process
- Structured MBTI type determination
- Streaming response capabilities
-
Structured JSON Outputs
- Enforced schema validation for question generation
- Consistent response formatting
- Type-safe data handling
-
Real-time Reasoning Display
- Stream-based response processing
- Live display of AI's analytical process
- Transparent decision-making visualization
-
Advanced Prompt Engineering
- Context-aware question generation
- Scenario-based personality assessment
- Adaptive questioning based on previous responses
- Node.js 16.x or later
- A Fireworks AI API key (Get one here)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/yourusername/mbti-ai-test.git
cd mbti-ai-test
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser
- Enter your Fireworks AI API key when prompted (if not set in environment variables)
- Answer the series of 10 scenario-based questions
- Watch the AI's real-time analysis process
- Receive your detailed MBTI personality type result
- Frontend: Next.js 13+ with React
- API Routes: Next.js API routes for model interaction
- Streaming: Server-sent events for real-time analysis display
- Type Safety: TypeScript throughout the application
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.