- TTS: xtts-v2 integration with voice cloning support
- Document: docling integration for PDF/DOCX/PPTX processing
- Memory Service: added /facts/upsert, /facts/{key}, /facts endpoints
- Added required dependencies (TTS, docling)
3.7 KiB
3.7 KiB
📊 Фінальний статус розгортання Helion
Дата: 2026-01-12
Час: Після розгортання
✅ Розгорнуто сервіси
Основні сервіси
- ✅ Gateway - Helion Telegram бот (порт 9300)
- ✅ Router - DAGI Router з підтримкою пам'яті (порт 9102)
- ✅ Swapper - Динамічне завантаження моделей (порт 8890)
Сервіси пам'яті
- ✅ Memory Service - PostgreSQL (Facts, Events, Summaries) (порт 8000)
- ✅ Qdrant - Векторна БД для RAG (порт 6333/6334)
- ✅ Neo4j - Графова БД для зв'язків (порт 7474/7687)
- ✅ Redis - Кешування контексту (порт 6379)
Embedding API
- ✅ Vision Encoder - OpenCLIP для text/image embeddings (порт 8001)
🧠 Типи пам'яті для Helion
- Facts (PostgreSQL) - довгострокові факти
- Events (PostgreSQL) - короткострокова пам'ять діалогів
- Summaries (PostgreSQL) - підсумки діалогів
- Vector Search (Qdrant) - векторний пошук документів
- Graph Relations (Neo4j) - графові зв'язки
- Context Cache (Redis) - кешування (TTL: 5 сек)
🔌 Embedding API
Vision Encoder Service
- Порт: 8001
- Технологія: OpenCLIP (ViT-L-14)
- Функції: Текст та зображення embeddings
- Інтеграція: Qdrant для векторного пошуку
- Device: CPU (НОДА1 без GPU)
Memory Service Embedding Layer
- Технологія: Cohere API
- Модель: embed-multilingual-v3.0
- Розмірність: 1024
🔄 Підключення через DAGI Router
Так, агент підключається через DAGI Router!
Схема:
Telegram → Gateway (Helion)
↓
Router (з підтримкою пам'яті)
↓
├─ Memory Service (Facts, Events, Summaries)
├─ Qdrant (Vector Search)
├─ Neo4j (Graph Relations)
├─ Vision Encoder (Embeddings)
└─ Deepseek API (для складних запитів)
📋 Конфігурація
Router змінні середовища:
MEMORY_SERVICE_URL=http://memory-service:8000QDRANT_HOST=qdrantQDRANT_PORT=6333NEO4J_BOLT_URL=bolt://neo4j:7687VISION_ENCODER_URL=http://vision-encoder:8001DEEPSEEK_API_KEY=sk-0db94e8193ec4a6e9acd593ee8d898e7
Gateway змінні середовища:
ROUTER_URL=http://router:9102HELION_TELEGRAM_BOT_TOKEN=8112062582:AAGS-HwRLEI269lDutLtAJTFArsIq31YNhEMEMORY_SERVICE_URL=http://memory-service:8000
✅ Команди для перевірки
# Статус контейнерів
docker ps | grep -E 'gateway|router|memory|qdrant|neo4j|redis|vision|swapper'
# Health checks
curl http://localhost:9300/health # Gateway
curl http://localhost:9102/health # Router
curl http://localhost:8000/health # Memory Service
curl http://localhost:6333/healthz # Qdrant
curl http://localhost:8001/health # Vision Encoder
curl http://localhost:8890/health # Swapper
# Логи
docker logs dagi-gateway-node1 --tail 50
docker logs dagi-router-node1 --tail 50
docker logs dagi-memory-service-node1 --tail 50
⚠️ Відомі проблеми
- Gateway перезапускається - потрібно перевірити логи
- Router unhealthy - потрібно перевірити health check endpoint
Оновлено: 2026-01-12