CosmoPedia - Hackathon Documentation
Inspiration
As space aspirants, my team and I were constantly frustrated by the scattered nature of space-related information across the internet. Whether we were researching rockets, learning about astronauts, or exploring space terminology, we had to visit multiple websites and sources. We realized there was no single, comprehensive platform where space enthusiasts could access all this valuable information in one place. This gap inspired us to create CosmoPedia - a unified knowledge base that brings together verified space data from multiple open sources.
What it does
Cosmopedia is a unified, open-access space knowledge platform that consolidates space information from multiple verified open sources into a single accessible interface. The platform features:
- Space Terminologies: Database of space-related terms and definitions
- Space Agencies: Information about space organizations worldwide
- Planets: Solar system planets with scientific data
- Rockets: Database of launch vehicles and rocket systems
- Astronauts: Profiles of space explorers
- Telescopes: Ground and space-based observatories
- Notable People: Scientists, astrophysicists, and space pioneers
- Space Museums: Global directory of space museums
- Space Images: NASA image gallery integration
- AI Chat: Mistral LLM-powered assistant that retrieves and enhances responses from our pre-built verified knowledge base using FAISS vector search
- Open Source APIs: RESTful endpoints for all data categories
How we built it
We built CosmoPedia using modern web technologies with a focus on open access and API-first design:
- Backend: Flask (Python) for server-side processing
- Frontend: HTML5, CSS3, and JavaScript with space-themed responsive design
- Data Sources: Aggregated from multiple verified open sources
- AI Integration: Mistral LLM with FAISS vector search for retrieving and enhancing responses from verified knowledge base
- API Design: RESTful endpoints for all data categories
- Storage: JSON-based data storage with FAISS vector indexing for semantic search of pre-built knowledge base
Challenges we ran into
- Data Aggregation: Collecting and standardizing data from multiple open sources while maintaining accuracy
- FAISS Integration: Implementing vector search capabilities for semantic queries within our knowledge base
- Mistral LLM Integration: Setting up AI chat to enhance responses from verified knowledge base documents
- Data Consistency: Ensuring consistent formatting across different data categories
- API Design: Creating intuitive RESTful endpoints for all data types
Accomplishments that we're proud of
- Unified Knowledge Base: Successfully aggregated space data from 10 different categories into one platform
- Open Source APIs: Created RESTful APIs that other developers can use for free
- AI Integration: Implemented Mistral LLM with FAISS vector search to retrieve and enhance responses from our verified knowledge base
- User Experience: Designed an intuitive space-themed interface for easy exploration
- Data Accessibility: Made space knowledge freely accessible to students, professionals, and enthusiasts
- Community Impact: Built a resource for learning, research, and building space applications
What we learned
- Data Integration: Gained experience in aggregating and normalizing data from multiple open sources
- Vector Search: Learned to implement FAISS for semantic search within our curated knowledge base
- AI Integration: Understood how to integrate Mistral LLM to enhance responses from verified knowledge base documents
- API Design: Developed skills in creating user-friendly RESTful APIs
- Space Domain Knowledge: Expanded our understanding of space exploration and terminology
- Open Source Development: Learned the importance of making knowledge freely accessible
What's next for CosmoPedia
- Comets & Asteroids explorer
- Satellites & space probes
- Solar system & exoplanet data
- Real & upcoming astronomical events
- Space launches & mission timelines
- Community Q&A & expert contributions
- Continuous data updates & new resource types

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