IN-1 Platform
Questi contenuti non sono ancora disponibili nella tua lingua.
IN-1 Platform
Section titled “IN-1 Platform”Natural Intelligence Engine powered by Alma conversational AI and Poeta rhama generator.
Overview
Section titled “Overview”One prompt. One tree. IN-1 transforms emotions into Rhama poetry through AI conversation, then plants a real tree for every Rhama created.
Architecture Flow
Section titled “Architecture Flow”graph TD
User[User Request] --> Route[IN-1 Routes]
Route --> Orchestrator[Alma Orchestrator]
Orchestrator --> Alma[Alma Service]
Orchestrator --> Poeta[Poeta Service]
Alma --> |Emotion Detection| Colore[Color Extraction]
Colore --> Poeta
Poeta --> |5-7-5 Syllables| Rhama[Rhama Output]
Rhama --> DB[(PostgreSQL)]
Rhama --> Tree[Tree Planting API]
Alma --> Anthropic[Anthropic API]
Poeta --> Anthropic
style Orchestrator fill:#22c55e
style Alma fill:#a855f7
style Poeta fill:#f59e0b
style Rhama fill:#3b82f6
Core Components
Section titled “Core Components”1. Alma Service
Section titled “1. Alma Service”Conversational AI that detects emotions and triggers Rhama generation when the user is ready.
Features:
- Natural language understanding
- Emotion color mapping
- Trigger detection system
2. Poeta Service
Section titled “2. Poeta Service”Rhama poetry generator that creates 5-7-5 syllable compositions inspired by nature elements.
Features:
- Strict syllable counting (Italian/English)
- Nature vocabulary integration
- Emotional color translation
3. Orchestrator
Section titled “3. Orchestrator”Central coordinator managing the flow between Alma and Poeta services.
Responsibilities:
- Message routing
- Color extraction from Alma’s thinking
- Database persistence
- Error handling
API Endpoints
Section titled “API Endpoints”POST /api/rhama
Section titled “POST /api/rhama”Generate a Rhama through conversational flow.
Modes:
- Conversational: Multi-turn dialogue with Alma
- Direct: Single prompt → Rhama generation
GET /api/rhamas/random
Section titled “GET /api/rhamas/random”Retrieve random Rhamas for homepage display.
POST /api/tree
Section titled “POST /api/tree”Mark a Rhama as “tree planted” (integration with tree planting services).
Technology Stack
Section titled “Technology Stack”- AI Models: Claude Sonnet 4 (Anthropic)
- Database: PostgreSQL (Neon)
- Rate Limiting: 30 requests per 15 minutes
- Architecture: Isolated services in
src/brands/in1/services/
Future Development
Section titled “Future Development”- Multi-language Rhama generation
- Voice input support
- Blockchain NFT integration for Rhamas
- Physical tree tracking system
“Nature speaks in syllables. We just learned to listen.”