
___Inspiration
Have you ever wondered why you love a specific song, movie, or travel destination? I've always been fascinated by how our cultural preferences tell a deeper story about who we are. Working as a data engineer, I noticed that most recommendation systems tell you "people who liked X also liked Y" - but they never explain WHY these connections exist or what they reveal about your personality.
When I discovered the Qloo LLM Hackathon, I saw an incredible opportunity. Qloo's cultural intelligence combined with LLMs could finally answer the question: "What story do my cultural preferences tell about me?" This wasn't just about building another recommendation engine - it was about creating something that helps people understand their cultural identity.
The inspiration came from a simple realization: our cultural choices are like cultural DNA—they contain patterns that reveal who we truly are.
___What it does
KulturalMente is an AI-powered cultural intelligence platform that transforms scattered preferences into meaningful cultural narratives. Here's how it works:

🎯 Cultural DNA Discovery Process
- 5-Domain Preference Collection: Users input their favorites across Music, Movies & TV, Food & Dining, Travel & Places, and Books & Literature
- AI-Powered Analysis: Qloo's API finds hidden cross-domain connections while OpenAI generates meaningful narratives
- Cultural Identity Revelation: The system creates a unique "Cultural DNA" profile with personalized insights
- Future Predictions: 24-month cultural evolution forecasting and growth recommendations
- Interactive Visualization: 3D cultural constellation showing how preferences connect
🌟 Key Features
- Cross-Domain Intelligence: Example: "Discovering that your love of Eminem + Fast & Furious + Street Food reveals a pattern of "authentic urban cultural appreciation"
- Narrative Generation: Create a 4-chapter story explaining WHY your preferences are connected
- Predictive Analysis: Forecasts how your cultural tastes will evolve over time
- Professional Export: Generate PDF reports and shareable cultural DNA cards
- 3D Visualization: Explore your cultural universe in interactive 3D space
___How we built it
🏗️ Architecture Overview
The system architecture consists of three main layers working together to transform cultural preferences into meaningful insights:

System Architecture Layers:
1. Frontend Layer (Next.js + TypeScript)
- User Interface: Responsive design with Tailwind CSS and Framer Motion
- Preference Collection: 5-domain onboarding flow with smart search
- Progress Tracking: Real-time analysis status and completion indicators
- Results Display: Cultural DNA profile with interactive navigation
2. API Integration Layer
- Next.js API Routes: Serverless endpoints for cultural analysis
- Qloo Service: Cultural intelligence and cross-domain insights
- OpenAI Service: Narrative generation and cultural storytelling
- Cultural Analysis Engine: Core logic combining both APIs
3. Cultural Intelligence Pipeline
- Input Processing: Validate and structure user preferences
- Entity Mapping: Match preferences to Qloo's cultural database
- Cross-Domain Analysis: Find hidden connections between domains
- Pattern Recognition: Identify cultural themes and personalities
- Narrative Generation: Create meaningful cultural stories
- Visualization Rendering: Generate 3D cultural constellations
🔧 Technical Implementation
Frontend Stack:
- Next.js 14 with App Router for modern React development
- TypeScript for type-safe development
- Tailwind CSS for responsive design
- Framer Motion for smooth animations
- Custom Hooks for state management
API Integration:
- Qloo Taste AI™ API for cultural intelligence and cross-domain insights
- OpenAI GPT-4o for narrative generation and cultural analysis
- Next.js API Routes for serverless backend
Core Services:
- Qloo Integration Service (
qloo-service.ts)
// Real-time cultural entity search across domains
async searchEntities(query: string, category: string)
// Find cross-domain cultural connections
async findSimilarEntities(entityId: string)
// Generate cultural recommendations
async getRecommendations(preferences: UserPreferences)
- AI Narrative Engine (
server-openai-service.ts)
// Generate 4-chapter cultural stories
async generateCulturalNarrative(preferences, culturalProfile)
// Create personalized discovery recommendations
async generateDiscoveryRecommendations(narrative, profile)
// Predict 24-month cultural evolution
async generateEvolutionPredictions(preferences, connections)
📊 Data Flow Architecture

___Challenges we ran into
🔥 Technical Challenges
1. Qloo API Learning Curve
- Challenge: Understanding Qloo's entity types and category mapping
- Solution: Built a robust mapping system with fallbacks for different entity types
- Learning: Qloo's data is incredibly rich but requires careful handling for optimal results
2. Cross-Domain Connection Analysis
- Challenge: Creating meaningful connections between different cultural domains
- Solution: Developed a hybrid algorithm using Qloo's recommendation API and multi-factor similarity analysis
- Primary Algorithm:
connectionStrength = min(0.95, (recommendationRatio × 0.7) + (avgScore × 0.3)) - Fallback Algorithm:
connectionStrength = (popularitySimilarity × 0.4) + (locationSimilarity × 0.3) + (tagSimilarity × 0.2) + 0.1
3. LLM Prompt Engineering
- Challenge: Getting OpenAI to generate consistent, high-quality cultural narratives
- Solution: Created detailed prompt templates with Qloo data context and specific formatting requirements
- Iterations: Went through 15+ prompt versions to achieve the right balance of creativity and accuracy
4. Real-time Performance
- Challenge: Making multiple API calls (Qloo + OpenAI) while maintaining good user experience
- Solution: Implemented parallel processing and smart caching strategies
- Result: Reduced analysis time from 45+ seconds to under 15 seconds
🎨 Design Challenges
5. Cultural Data Visualization
- Challenge: How do you visualize abstract cultural connections in an intuitive way?
- Solution: Created a 3D constellation metaphor where cultural preferences are stars connected by relationship lines
- Innovation: Each domain has its own color scheme and visual identity
6. Complex Information Architecture
- Challenge: Presenting 5 different result tabs without overwhelming users
- Solution: Progressive disclosure with guided navigation and clear visual hierarchy
___Accomplishments that we're proud of
🏆 Technical Achievements
Seamless API Integration: Successfully combined Qloo's cultural intelligence with OpenAI's narrative capabilities in a way that creates something neither could achieve alone
Real Cultural Intelligence: Built a system that actually understands cultural patterns, not just surface-level recommendations
Professional-Grade Implementation: Created industry-quality code with proper error handling, TypeScript safety, and scalable architecture
Innovation in Cultural Analysis: Pioneered the "Cultural DNA" concept that transforms preference data into meaningful identity insights
🌟 User Experience Wins
Intuitive Onboarding: Created a 5-step process that feels natural and engaging, not like filling out a form
Meaningful Results: Users receive actionable insights, not just data dumps - they understand their cultural identity better
Beautiful Visualization: The 3D cultural constellation is genuinely engaging and helps users explore their cultural universe
Professional Export: PDF generation that creates reports people actually want to save and share
___What we learned
🧠 Technical Learnings
About Qloo's API:
- Qloo's cross-domain intelligence is incredibly powerful when you understand how to leverage entity relationships
- The privacy-first approach actually makes the system more robust - focusing on cultural patterns rather than personal data
- Real cultural intelligence requires understanding popularity, geographic context, and temporal trends
About LLM Integration:
- Combining structured data (Qloo) with generative AI (OpenAI) creates emergent capabilities
- Prompt engineering is an art - the context you provide to the LLM determines the quality of output
- Cultural narrative generation requires balancing creativity with accuracy
About Cultural Analysis:
- People's cultural preferences do follow patterns that can be analyzed and predicted
- Cross-domain connections reveal personality traits that single-domain analysis misses
- Cultural identity is complex but can be meaningfully simplified without losing depth
🎯 Product Development Insights
User Experience:
- Progressive disclosure is crucial when dealing with complex analysis results
- Visual metaphors (like constellations) help users understand abstract concepts
- People want to understand themselves, not just get recommendations
___What's next for KulturalMente
🚀 Immediate Improvements
Enhanced Cultural Intelligence:
- Deeper Qloo Integration: Utilize more Qloo endpoints for richer cultural analysis
- Cultural Trend Analysis: Add real-time cultural trend integration
- Geographic Cultural Mapping: Show how cultural preferences vary by location
Advanced AI Features:
- Multi-LLM Support: Add Claude and Gemini integration for different narrative styles
- Cultural Compatibility: Compare cultural DNA between users for social matching
- Dynamic Evolution: Real-time cultural profile updates as preferences change
🌍 Long-term Vision
Platform Expansion:
- Mobile Application: Native iOS/Android apps
- Social Features: Cultural DNA sharing, compatibility matching, group cultural analysis
- Enterprise Solutions: Cultural intelligence for content creators, travel companies, and cultural institutions
🎯 Business Applications
B2B Cultural Intelligence Platform:
- Content Creation Tools: Help creators understand their audience's cultural DNA
- Travel & Experience Curation: Personalized cultural travel recommendations
- Marketing Intelligence: Cultural preference analysis for targeted campaigns
- Cultural Education: Tools for schools and institutions to understand cultural diversity
🏆 Hackathon Compliance
- ✅ Qloo + LLM Integration: Demonstrates clear synergy between technologies
- ✅ Original Application: Built entirely during hackathon period
- ✅ Working Demo: Fully functional at provided URL
- ✅ Privacy-First: Compliant with Qloo's data approach
- ✅ Real-World Value: Addresses genuine user needs with scalable solution
🔗 Links & Resources
- Live Demo: kulturalmente.space
- GitHub Repository: github.com/ajitonelsonn/kulturalmente
- Demo Video: 3-Minute Walkthrough
- Documentation: Complete API documentation and setup guide in repository
Built with ❤️ for the Qloo LLM Hackathon 2025
"Your Mind. Your Culture. Your Story." 🧠✨
Built With
- next.js
- openai-gpt-4o
- qloo
- qloo-taste-ai-api
- vercel


Log in or sign up for Devpost to join the conversation.