Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
Mail server (IMAP/SMTP) → ImapListener → EmailParser → SecurityPipeline (L1–L4) → IntentClassifier + SentimentAnalyzer → ContextBuilder → ResponseGenerator (+ tools) → EmailDraftService → SMTP / Slack.
| Шар | Модуль | Latency |
|---|---|---|
| L1 Sanitization | input-sanitizer.ts | < 5ms |
| L2 Classifier | injection-classifier.ts | < 200ms |
| L3 Spotlighting | spotlighting.ts | sync |
| L4 Output | output-validator.ts | sync |
SecurityPipeline.checkInbound() блокує або позначає requiresReview перед AI.
Mail server (IMAP/SMTP) → ImapListener → EmailParser → SecurityPipeline (L1–L4) → IntentClassifier + SentimentAnalyzer → ContextBuilder → ResponseGenerator (+ tools) → EmailDraftService → SMTP / Slack.
| Шар | Модуль | Latency |
|---|---|---|
| L1 Sanitization | input-sanitizer.ts | < 5ms |
| L2 Classifier | injection-classifier.ts | < 200ms |
| L3 Spotlighting | spotlighting.ts | sync |
| L4 Output | output-validator.ts | sync |
SecurityPipeline.checkInbound() блокує або позначає requiresReview перед AI.
Mail server (IMAP/SMTP) → ImapListener → EmailParser → SecurityPipeline (L1–L4) → IntentClassifier + SentimentAnalyzer → ContextBuilder → ResponseGenerator (+ tools) → EmailDraftService → SMTP / Slack.
| Шар | Модуль | Latency |
|---|---|---|
| L1 Sanitization | input-sanitizer.ts | < 5ms |
| L2 Classifier | injection-classifier.ts | < 200ms |
| L3 Spotlighting | spotlighting.ts | sync |
| L4 Output | output-validator.ts | sync |
SecurityPipeline.checkInbound() блокує або позначає requiresReview перед AI.
System prompt + tools кешуються (cache_control: ephemeral).
PostgreSQL: email_contacts ↔ email_threads ↔ email_messages / email_drafts / email_tasks. RAG: email_knowledge_base з vector embedding.
Workers з IMAP IDLE → Redis queue → AI processors → primary PG + read replicas. Rate-limit retry для Anthropic 429.
Див. Email AI-CRM.
System prompt + tools кешуються (cache_control: ephemeral).
PostgreSQL: email_contacts ↔ email_threads ↔ email_messages / email_drafts / email_tasks. RAG: email_knowledge_base з vector embedding.
Workers з IMAP IDLE → Redis queue → AI processors → primary PG + read replicas. Rate-limit retry для Anthropic 429.
Див. Email AI-CRM.
System prompt + tools кешуються (cache_control: ephemeral).
PostgreSQL: email_contacts ↔ email_threads ↔ email_messages / email_drafts / email_tasks. RAG: email_knowledge_base з vector embedding.
Workers з IMAP IDLE → Redis queue → AI processors → primary PG + read replicas. Rate-limit retry для Anthropic 429.
Див. Email AI-CRM.