-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresentation.html
More file actions
773 lines (702 loc) Β· 22.9 KB
/
presentation.html
File metadata and controls
773 lines (702 loc) Β· 22.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Customer Service Platform</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
--bg-dark: #0a0a0f;
--bg-card: #12121a;
--accent: #00d4aa;
--accent-secondary: #7c3aed;
--text-primary: #f0f0f5;
--text-secondary: #8888a0;
--border: #2a2a3a;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
overflow: hidden;
}
.slideshow {
width: 100vw;
height: 100vh;
position: relative;
}
.slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 60px;
animation: fadeIn 0.5s ease;
}
.slide.active {
display: flex;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.slide-content {
max-width: 1200px;
width: 100%;
}
h1 {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
h2 {
font-size: 2.5rem;
font-weight: 600;
margin-bottom: 2rem;
color: var(--text-primary);
}
h3 {
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 1rem;
color: var(--accent);
}
p {
font-size: 1.25rem;
line-height: 1.8;
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.subtitle {
font-size: 1.75rem;
color: var(--text-secondary);
margin-bottom: 3rem;
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-top: 2rem;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
transform: translateY(-4px);
border-color: var(--accent);
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.feature-card h4 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.feature-card p {
font-size: 1rem;
margin-bottom: 0;
}
.tech-stack {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
}
.tech-item {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
}
.tech-item .icon {
font-size: 2rem;
margin-bottom: 0.5rem;
}
.tech-item .name {
font-weight: 600;
margin-bottom: 0.25rem;
}
.tech-item .purpose {
font-size: 0.875rem;
color: var(--text-secondary);
}
.architecture-diagram {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
line-height: 1.4;
white-space: pre;
overflow-x: auto;
color: var(--text-secondary);
}
.benefits-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
}
.benefit-section {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
}
.benefit-section h4 {
font-size: 1.25rem;
margin-bottom: 1rem;
color: var(--accent);
}
.benefit-list {
list-style: none;
}
.benefit-list li {
padding: 0.5rem 0;
padding-left: 1.5rem;
position: relative;
color: var(--text-secondary);
}
.benefit-list li::before {
content: "β";
position: absolute;
left: 0;
color: var(--accent);
}
.roadmap {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.roadmap-phase {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
}
.roadmap-phase h4 {
font-size: 1.125rem;
color: var(--accent);
margin-bottom: 1rem;
}
.roadmap-phase ul {
list-style: none;
}
.roadmap-phase li {
padding: 0.5rem 0;
color: var(--text-secondary);
font-size: 0.95rem;
}
.navigation {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 1rem;
align-items: center;
background: var(--bg-card);
padding: 0.75rem 1.5rem;
border-radius: 50px;
border: 1px solid var(--border);
}
.nav-btn {
background: transparent;
border: 1px solid var(--border);
color: var(--text-primary);
padding: 0.5rem 1rem;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
transition: all 0.2s;
}
.nav-btn:hover {
background: var(--accent);
border-color: var(--accent);
color: var(--bg-dark);
}
.slide-counter {
font-family: 'JetBrains Mono', monospace;
font-size: 0.875rem;
color: var(--text-secondary);
min-width: 60px;
text-align: center;
}
.highlight {
color: var(--accent);
font-weight: 600;
}
.center-content {
text-align: center;
}
.logo {
font-size: 6rem;
margin-bottom: 1rem;
}
.stat-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
margin-top: 2rem;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
text-align: center;
}
.stat-value {
font-size: 3rem;
font-weight: 700;
color: var(--accent);
}
.stat-label {
font-size: 1rem;
color: var(--text-secondary);
margin-top: 0.5rem;
}
.two-column {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
align-items: center;
}
.code-block {
background: #1a1a2e;
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
overflow-x: auto;
}
.code-block .comment { color: #6a9955; }
.code-block .keyword { color: #c586c0; }
.code-block .string { color: #ce9178; }
.code-block .number { color: #b5cea8; }
</style>
</head>
<body>
<div class="slideshow">
<!-- Slide 1: Title -->
<div class="slide active center-content">
<div class="slide-content">
<div class="logo">β</div>
<h1>AI Customer Service</h1>
<p class="subtitle">AI-Powered Customer Service Platform</p>
<p style="font-size: 1.125rem;">Human-in-the-Loop Architecture for Seamless AI + Human Support</p>
</div>
</div>
<!-- Slide 2: The Problem -->
<div class="slide">
<div class="slide-content">
<h2>The Problem</h2>
<div class="two-column">
<div>
<h3>Traditional Options</h3>
<div class="feature-card" style="margin-bottom: 1rem;">
<h4>π€ Pure AI</h4>
<p>Fast but impersonal. Can't handle complex issues. Customers get frustrated.</p>
</div>
<div class="feature-card">
<h4>π€ Pure Human</h4>
<p>Personal but expensive. Long wait times. Hard to scale.</p>
</div>
</div>
<div>
<h3>Our Solution</h3>
<div class="feature-card" style="border-color: var(--accent);">
<h4>β¨ Human-in-the-Loop</h4>
<p>AI handles routine inquiries instantly. Humans step in for complex cases with full context. Switch happens in real-time without interruption.</p>
</div>
</div>
</div>
</div>
</div>
<!-- Slide 3: Key Features -->
<div class="slide">
<div class="slide-content">
<h2>Key Features</h2>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">π€</div>
<h4>AI Voice Agent</h4>
<p>Ultra-low latency voice conversations powered by Retell AI. Handles interruptions naturally.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π¬</div>
<h4>AI Text Chat</h4>
<p>Gemini-powered chat with context memory. Knowledge base integration via RAG.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π€</div>
<h4>AI Copilot</h4>
<p>Real-time suggestions for agents. Sentiment detection and policy snippets.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π</div>
<h4>Seamless Switching</h4>
<p>One-click handoff between AI and human. No call drops, full context preserved.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π</div>
<h4>Live Analytics</h4>
<p>Real-time metrics, switch tracking, and performance dashboards.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π¨</div>
<h4>Smart Escalation</h4>
<p>Auto-detect emergencies and frustrated customers. Immediate human routing.</p>
</div>
</div>
</div>
</div>
<!-- Slide 4: Architecture -->
<div class="slide">
<div class="slide-content">
<h2>Architecture</h2>
<div class="architecture-diagram">
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CUSTOMER β
β (Phone / Browser Chat) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βββββββββββββββ΄ββββββββββββββ
βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ
β VOICE CALL β β TEXT CHAT β
β Telnyx + β β Gemini AI β
β Retell AI β β β
ββββββββββ¬βββββββββ ββββββββββ¬βββββββββ
βββββββββββββ¬ββββββββββββββββ
βΌ
βββββββββββββββββββββββ
β UNIFIED BACKEND β βββ Node.js + TypeScript
β β
β β’ Redis Sessions β
β β’ Copilot Engine β
β β’ Switch Controller β
β β’ PostgreSQL + RAG β
ββββββββββββ¬ββββββββββββ
β Socket.io
βΌ
βββββββββββββββββββββββ
β AGENT DASHBOARD β βββ React + Vite
β β’ Live Transcript β
β β’ Copilot Sidebar β
β β’ Queue Management β
βββββββββββββββββββββββ
</div>
</div>
</div>
<!-- Slide 5: The Conference Bridge -->
<div class="slide">
<div class="slide-content">
<h2>The Conference Bridge Pattern</h2>
<p>The secret to seamless switching β no call drops, ever.</p>
<div class="two-column">
<div>
<h3>Traditional Forwarding β</h3>
<div class="feature-card">
<p>Customer β AI β <span style="color: #ef4444;">DISCONNECT</span> β Human</p>
<p style="color: #ef4444; margin-bottom: 0;">Call drops, context lost, customer frustrated</p>
</div>
</div>
<div>
<h3>Our Approach β
</h3>
<div class="feature-card" style="border-color: var(--accent);">
<p>1. Customer joins <span class="highlight">conference room</span></p>
<p>2. AI Agent joins (speaking)</p>
<p>3. Human Rep joins (muted, listening)</p>
<p>4. Switch = <span class="highlight">Mute/Unmute</span></p>
<p style="color: var(--accent); margin-bottom: 0;">Zero interruption, full context!</p>
</div>
</div>
</div>
</div>
</div>
<!-- Slide 6: Tech Stack -->
<div class="slide">
<div class="slide-content">
<h2>Technology Stack</h2>
<div class="tech-stack">
<div class="tech-item">
<div class="icon">β‘</div>
<div class="name">Node.js</div>
<div class="purpose">Backend API</div>
</div>
<div class="tech-item">
<div class="icon">βοΈ</div>
<div class="name">React</div>
<div class="purpose">Frontend UI</div>
</div>
<div class="tech-item">
<div class="icon">π</div>
<div class="name">PostgreSQL</div>
<div class="purpose">Database + Vector</div>
</div>
<div class="tech-item">
<div class="icon">π΄</div>
<div class="name">Redis</div>
<div class="purpose">Session State</div>
</div>
<div class="tech-item">
<div class="icon">π€</div>
<div class="name">Retell AI</div>
<div class="purpose">Voice Agent</div>
</div>
<div class="tech-item">
<div class="icon">β¨</div>
<div class="name">Gemini</div>
<div class="purpose">Text Chat AI</div>
</div>
<div class="tech-item">
<div class="icon">π</div>
<div class="name">Telnyx</div>
<div class="purpose">Telephony</div>
</div>
<div class="tech-item">
<div class="icon">π</div>
<div class="name">Socket.io</div>
<div class="purpose">Real-time</div>
</div>
</div>
</div>
</div>
<!-- Slide 7: Use Case -->
<div class="slide">
<div class="slide-content">
<h2>Use Case: Utility Company</h2>
<p>Specialized for utility customer service</p>
<div class="features-grid">
<div class="feature-card">
<h4>π΅ Billing Inquiries</h4>
<p>AI explains charges, compares usage, offers payment options automatically.</p>
</div>
<div class="feature-card">
<h4>β‘ Outage Reports</h4>
<p>AI checks outage map, provides ETR, creates service tickets.</p>
</div>
<div class="feature-card">
<h4>π¨ Gas Emergencies</h4>
<p>AI detects safety keywords β immediate escalation + safety instructions.</p>
</div>
<div class="feature-card">
<h4>π³ Payment Plans</h4>
<p>AI offers arrangements, LIHEAP info, assistance programs.</p>
</div>
<div class="feature-card">
<h4>π Service Changes</h4>
<p>Start, stop, transfer service β AI handles the routine flow.</p>
</div>
<div class="feature-card">
<h4>π€ Frustrated Customers</h4>
<p>Copilot alerts agent, suggests empathy + goodwill credits.</p>
</div>
</div>
</div>
</div>
<!-- Slide 8: Benefits -->
<div class="slide">
<div class="slide-content">
<h2>Benefits</h2>
<div class="benefits-grid">
<div class="benefit-section">
<h4>π€ For Customers</h4>
<ul class="benefit-list">
<li>No wait times β AI answers instantly</li>
<li>24/7 availability</li>
<li>Seamless escalation when needed</li>
<li>Consistent service quality</li>
</ul>
</div>
<div class="benefit-section">
<h4>π§ For Agents</h4>
<ul class="benefit-list">
<li>AI Copilot provides answers instantly</li>
<li>Full context on arrival β no repeats</li>
<li>Handle only complex, meaningful cases</li>
<li>Reduced burnout</li>
</ul>
</div>
<div class="benefit-section">
<h4>π’ For Business</h4>
<ul class="benefit-list">
<li>60-70% AI resolution rate</li>
<li>Dramatic cost savings</li>
<li>Scale during volume spikes</li>
<li>Full compliance & audit trails</li>
</ul>
</div>
<div class="benefit-section">
<h4>π ROI Example</h4>
<ul class="benefit-list">
<li>100 agents Γ $45K = $4.5M/year</li>
<li>With 70% AI: 30 agents = $1.35M</li>
<li style="color: var(--accent);">Potential savings: ~$3M+/year</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Slide 9: Stats -->
<div class="slide">
<div class="slide-content center-content">
<h2>By The Numbers</h2>
<div class="stat-grid">
<div class="stat-card">
<div class="stat-value"><500ms</div>
<div class="stat-label">Voice Response Time</div>
</div>
<div class="stat-card">
<div class="stat-value">70%</div>
<div class="stat-label">AI Resolution Rate</div>
</div>
<div class="stat-card">
<div class="stat-value">0</div>
<div class="stat-label">Dropped Handoffs</div>
</div>
<div class="stat-card">
<div class="stat-value">24/7</div>
<div class="stat-label">Availability</div>
</div>
</div>
</div>
</div>
<!-- Slide 10: Roadmap -->
<div class="slide">
<div class="slide-content">
<h2>Future Roadmap</h2>
<div class="roadmap">
<div class="roadmap-phase">
<h4>π
v1.1 (Q1)</h4>
<ul>
<li>π€ Browser voice calls (WebRTC)</li>
<li>π Customer self-service portal</li>
<li>π± Mobile agent app</li>
<li>π Multi-language support</li>
</ul>
</div>
<div class="roadmap-phase">
<h4>π
v1.2 (Q2-Q3)</h4>
<ul>
<li>π― Predictive routing</li>
<li>π Proactive outreach</li>
<li>π§ AI learns from corrections</li>
<li>π CRM/billing integrations</li>
</ul>
</div>
<div class="roadmap-phase">
<h4>π
v2.0 (Year 1)</h4>
<ul>
<li>πΉ Video support</li>
<li>π€ AI quality assurance</li>
<li>π·οΈ White-label platform</li>
<li>π Advanced analytics</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Slide 11: Demo -->
<div class="slide center-content">
<div class="slide-content">
<h1>π¬ Live Demo</h1>
<p class="subtitle">Let's see it in action</p>
<div class="features-grid" style="max-width: 800px; margin: 0 auto;">
<div class="feature-card">
<h4>Demo 1</h4>
<p>Customer chats with AI about their bill</p>
</div>
<div class="feature-card">
<h4>Demo 2</h4>
<p>Agent dashboard with Copilot suggestions</p>
</div>
<div class="feature-card">
<h4>Demo 3</h4>
<p>Emergency detection & escalation</p>
</div>
</div>
</div>
</div>
<!-- Slide 12: Thank You -->
<div class="slide center-content">
<div class="slide-content">
<div class="logo">β</div>
<h1>Thank You</h1>
<p class="subtitle">Questions?</p>
<div style="margin-top: 3rem; color: var(--text-secondary);">
<p style="font-size: 1rem;">
<strong>Tech Stack:</strong> Node.js β’ React β’ PostgreSQL β’ Redis β’ Retell AI β’ Gemini β’ Telnyx
</p>
</div>
</div>
</div>
</div>
<!-- Navigation -->
<div class="navigation">
<button class="nav-btn" onclick="prevSlide()">β Prev</button>
<span class="slide-counter">1 / 12</span>
<button class="nav-btn" onclick="nextSlide()">Next β</button>
</div>
<script>
let currentSlide = 0;
const slides = document.querySelectorAll('.slide');
const counter = document.querySelector('.slide-counter');
function showSlide(n) {
slides[currentSlide].classList.remove('active');
currentSlide = (n + slides.length) % slides.length;
slides[currentSlide].classList.add('active');
counter.textContent = `${currentSlide + 1} / ${slides.length}`;
}
function nextSlide() {
showSlide(currentSlide + 1);
}
function prevSlide() {
showSlide(currentSlide - 1);
}
// Keyboard navigation
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowRight' || e.key === ' ') {
nextSlide();
} else if (e.key === 'ArrowLeft') {
prevSlide();
}
});
// Touch navigation
let touchStartX = 0;
document.addEventListener('touchstart', (e) => {
touchStartX = e.touches[0].clientX;
});
document.addEventListener('touchend', (e) => {
const diff = touchStartX - e.changedTouches[0].clientX;
if (Math.abs(diff) > 50) {
if (diff > 0) nextSlide();
else prevSlide();
}
});
</script>
</body>
</html>