How ai-hero-dev/ai-hero works
Main Components
a) Educational Content Structure
• Courses Module
• Examples Module
• Articles Module
• Datasets Module
b) Technical Infrastructure
• AI Integration Layer
• Code Execution Environment
• Evaluation Framework
• Development Tools
[Articles] ←→ [Courses] ←→ [Examples]
• ↓ ↓ ↓
[AI Integration Services]
• Vercel AI SDK Integration
• LLM Providers (OpenAI, Anthropic)
• Embeddings Service
[Development & Testing] [Data Management] [Execution Environment]
Component Details
🔷 Blue Rectangles: Core Educational Modules
• Courses (06 main sections)
• Examples (categorized by topic)
• Articles
• Datasets
🔶 Orange Hexagons: AI Services
• LLM Integration
• Embeddings
• Tool Calling
• Evaluation Framework
🟢 Green Circles: Infrastructure Components
• Environment Configuration
• Development Tools
• Testing Framework
Key Relationships to Highlight
• Data flow between educational content and AI services
• Integration points between examples and AI providers
• Evaluation feedback loops
• Content dependencies
Technical Stack Indicators
• TypeScript/Node.js
• Vercel AI SDK
• OpenAI/Anthropic APIs
• Local LLM capabilities
Implementation Notes
• Maintain consistent spacing and alignment
• Version/status indicators for TODO items
• Clear boundaries between educational and technical components
Additional Elements
• Environment setup requirements
• API key configuration
• Example execution flow
• Course progression path
Remember to maintain a balance between showing the educational content structure and the technical implementation details, as this is both a learning platform and a technical framework.