Files
microdao-daarion/HELION-DEPLOYMENT-SUCCESS.md
Apple 5290287058 feat: implement TTS, Document processing, and Memory Service /facts API
- 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)
2026-01-17 08:16:37 -08:00

4.0 KiB
Raw Permalink Blame History

Розгортання Helion завершено успішно

Дата: 2026-01-12
Статус: Всі сервіси розгорнуто


🚀 Розгорнуто сервіси

Основні сервіси

  1. Gateway - Helion Telegram бот (порт 9300)
  2. Router - DAGI Router з підтримкою пам'яті (порт 9102)
  3. Swapper - Динамічне завантаження моделей (порт 8890)

Сервіси пам'яті

  1. Memory Service - PostgreSQL (Facts, Events, Summaries) (порт 8000)
  2. Qdrant - Векторна БД для RAG (порт 6333/6334)
  3. Neo4j - Графова БД для зв'язків (порт 7474/7687)
  4. Redis - Кешування контексту (порт 6379)

Embedding API

  1. Vision Encoder - OpenCLIP для text/image embeddings (порт 8001)

🧠 Типи пам'яті для Helion

  1. Facts (PostgreSQL) - довгострокові факти
  2. Events (PostgreSQL) - короткострокова пам'ять діалогів
  3. Summaries (PostgreSQL) - підсумки діалогів
  4. Vector Search (Qdrant) - векторний пошук документів
  5. Graph Relations (Neo4j) - графові зв'язки
  6. 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
  • Примітка: Потрібен COHERE_API_KEY для роботи

🔄 Підключення через 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:8000
  • QDRANT_HOST=qdrant
  • QDRANT_PORT=6333
  • NEO4J_BOLT_URL=bolt://neo4j:7687
  • NEO4J_HTTP_URL=http://neo4j:7474
  • NEO4J_USER=neo4j
  • NEO4J_PASSWORD=DaarionNeo4j2026!
  • VISION_ENCODER_URL=http://vision-encoder:8001
  • DEEPSEEK_API_KEY=sk-0db94e8193ec4a6e9acd593ee8d898e7

Gateway змінні середовища:

  • ROUTER_URL=http://router:9102
  • HELION_TELEGRAM_BOT_TOKEN=8112062582:AAGS-HwRLEI269lDutLtAJTFArsIq31YNhE
  • MEMORY_SERVICE_URL=http://memory-service:8000

Memory Service змінні середовища:

  • DATABASE_URL=postgresql://postgres:DaarionDB2026!@dagi-postgres:5432/daarion_memory
  • COHERE_API_KEY (опціонально, для embeddings)

Виправлені проблеми

  1. Gateway - виправлено порядок визначення TelegramUpdate
  2. Neo4j - змінено пароль з neo4j на DaarionNeo4j2026!
  3. Memory Service - додано опціональний COHERE_API_KEY

📝 Команди для перевірки

# Статус контейнерів
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

Оновлено: 2026-01-12