Skip to content

Commit 3f64076

Browse files
committed
fix(demos): Dark mode theming, emoji removal, and warning banners (Issue #51)
- Add "Work in Progress" warning banners to all demos - Remove emojis from demo UI (kept functional emojis in sentiment demo) - Fix dark mode colors for tokenization, POS tagging, sentiment, topic modeling demos - Add Plotly dark theme support to topic-modeling visualization - Update assignment deadlines in syllabus.md, assignments/README.md, slides/README.md - Improve tokenization demo info boxes and chart theming - Fix transformer component-explorer icons (replaced emojis with letters)
1 parent e31be3d commit 3f64076

File tree

31 files changed

+489
-166
lines changed

31 files changed

+489
-166
lines changed

admin/syllabus.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ We strive to create an inclusive learning environment where all students feel su
135135
| Week | Dates | Topics | Assignments |
136136
|------|-------|--------|-------------|
137137
| 1 | Jan 5--9 | Introduction, Pattern Matching, ELIZA | [Assignment 1](../assignments/assignment-1/) released |
138-
| 2 | Jan 12--16 | Data Cleaning, Tokenization, POS Tagging | [Assignment 2](../assignments/assignment-2/) released, [Assignment 1](../assignments/assignment-1/) due |
139-
| 3 | Jan 19--23 | Classic Embeddings (LSA, LDA), Word Embeddings | [Assignment 3](../assignments/assignment-3/) released, [Assignment 2](../assignments/assignment-2/) due |
140-
| 4 | Jan 26--30 | Contextual Embeddings, Dimensionality Reduction | |
141-
| 5 | Feb 2--6 | Attention Mechanisms, Transformer Architecture | [Assignment 4](../assignments/assignment-4/) released, [Assignment 3](../assignments/assignment-3/) due |
142-
| 6 | Feb 9--13 | BERT Deep Dive, Encoder Models | [Assignment 4](../assignments/assignment-4/) due |
143-
| 7 | Feb 16--20 | GPT Architecture, Scaling Up | [Assignment 5](../assignments/assignment-5/) released |
144-
| 8 | Feb 23--27 | **No classes** (instructor away) | Work on [Assignment 5](../assignments/assignment-5/) |
145-
| 9 | Mar 2--6 | RAG, Mixture of Experts, Ethics | [Assignment 5](../assignments/assignment-5/) due |
146-
| 10 | Mar 9 | Final Project Presentations | |
147-
| Finals | Mar 13 | | [Final Project](../assignments/final-project/) due |
138+
| 2 | Jan 12--16 | Data Cleaning, Tokenization, POS Tagging | [Assignment 2](../assignments/assignment-2/) released, [Assignment 1](../assignments/assignment-1/) due (Jan 16, 11:59 PM EST) |
139+
| 3 | Jan 19--23 | Classic Embeddings (LSA, LDA), Word Embeddings | [Assignment 3](../assignments/assignment-3/) released, [Assignment 2](../assignments/assignment-2/) due (Jan 23, 11:59 PM EST) |
140+
| 4 | Jan 26--30 | Contextual Embeddings, Dimensionality Reduction | [Assignment 4](../assignments/assignment-4/) released, [Assignment 3](../assignments/assignment-3/) due (Jan 30, 11:59 PM EST) |
141+
| 5 | Feb 2--6 | Attention Mechanisms, Transformer Architecture | [Assignment 4](../assignments/assignment-4/) due (Feb 6, 11:59 PM EST) |
142+
| 6 | Feb 9--13 | BERT Deep Dive, Encoder Models | [Assignment 5](../assignments/assignment-5/) released |
143+
| 7 | Feb 16--20 | GPT Architecture, Scaling Up | [Assignment 5](../assignments/assignment-5/) due (Feb 13, 11:59 PM EST) |
144+
| 8 | Feb 23--27 | **No classes** (instructor away) | Work on [Final Project](../assignments/final-project/) |
145+
| 9 | Mar 2--6 | RAG, Mixture of Experts, Ethics | |
146+
| 10 | Mar 9 | Final Project Presentations | [Final Project](../assignments/final-project/) due (Mar 9, 11:59 PM EST) |
147+
| Finals | Mar 13 | | |
148148

149149
## Detailed Schedule
150150

@@ -181,50 +181,50 @@ We strive to create an inclusive learning environment where all students feel su
181181
|-----|---------|--------|--------|-----------|
182182
| Mon Jan 26 | Lecture 12 | Contextual Embeddings | [HTML](../slides/week4/lecture12.html), [PDF](../slides/week4/lecture12.pdf) | [Peters et al. (2018)](https://aclanthology.org/N18-1202/), [Cer et al. (2018)](https://arxiv.org/abs/1803.11175) |
183183
| Wed Jan 28 | Lecture 13 | Dimensionality Reduction | [HTML](../slides/week4/lecture13.html), [PDF](../slides/week4/lecture13.pdf) | [McInnes et al. (2018)](https://arxiv.org/abs/1802.03426) |
184-
| Fri Jan 30 | Lecture 14 | Cognitive Models of Semantic Representation | [HTML](../slides/week4/lecture14.html), [PDF](../slides/week4/lecture14.pdf) | [Anderson et al. (2016)](https://www.jneurosci.org/content/36/45/11444) |
184+
| Fri Jan 30 | Lecture 14 | Cognitive Models of Semantic Representation | [HTML](../slides/week4/lecture14.html), [PDF](../slides/week4/lecture14.pdf) | [Anderson et al. (2016)](https://www.jneurosci.org/content/36/45/11444), **[Assignment 4](../assignments/assignment-4/) Released**, **[Assignment 3](../assignments/assignment-3/) Due (Jan 30, 11:59 PM EST)** |
185185

186186
### Week 5: Transformers & Attention (February 2--6)
187187

188188
| Day | Lecture | Topics | Slides | Materials |
189189
|-----|---------|--------|--------|-----------|
190-
| Mon Feb 2 | Lecture 15 | Attention Mechanisms | [HTML](../slides/week5/lecture15.html), [PDF](../slides/week5/lecture15.pdf) | [Bahdanau et al. (2015)](https://arxiv.org/abs/1409.0473), [Vaswani et al. (2017)](https://arxiv.org/abs/1706.03762), **[Assignment 3](../assignments/assignment-3/) Due** |
190+
| Mon Feb 2 | Lecture 15 | Attention Mechanisms | [HTML](../slides/week5/lecture15.html), [PDF](../slides/week5/lecture15.pdf) | [Bahdanau et al. (2015)](https://arxiv.org/abs/1409.0473), [Vaswani et al. (2017)](https://arxiv.org/abs/1706.03762) |
191191
| Wed Feb 4 | Lecture 16 | Transformer Architecture | [HTML](../slides/week5/lecture16.html), [PDF](../slides/week5/lecture16.pdf) | [Vaswani et al. (2017)](https://arxiv.org/abs/1706.03762), HuggingFace NLP Course Chapter 3 |
192-
| Fri Feb 6 | Lecture 17 | Training Transformers | [HTML](../slides/week5/lecture17.html), [PDF](../slides/week5/lecture17.pdf) | **[Assignment 4](../assignments/assignment-4/) Released** |
192+
| Thu Feb 6 | Lecture 17 | Training Transformers | [HTML](../slides/week5/lecture17.html), [PDF](../slides/week5/lecture17.pdf) | **[Assignment 4](../assignments/assignment-4/) Due (Feb 6, 11:59 PM EST)** |
193193

194194
### Week 6: Encoder Models (February 9--13)
195195

196196
| Day | Lecture | Topics | Slides | Materials |
197197
|-----|---------|--------|--------|-----------|
198-
| Mon Feb 9 | Lecture 18 | BERT Deep Dive | [HTML](../slides/week6/lecture18.html), [PDF](../slides/week6/lecture18.pdf) | [Devlin et al. (2019)](https://aclanthology.org/N19-1423/), HuggingFace NLP Course Chapter 4 |
198+
| Mon Feb 9 | Lecture 18 | BERT Deep Dive | [HTML](../slides/week6/lecture18.html), [PDF](../slides/week6/lecture18.pdf) | [Devlin et al. (2019)](https://aclanthology.org/N19-1423/), HuggingFace NLP Course Chapter 4, **[Assignment 5](../assignments/assignment-5/) Released** |
199199
| Wed Feb 11 | Lecture 19 | BERT Variants | [HTML](../slides/week6/lecture19.html), [PDF](../slides/week6/lecture19.pdf) | [Liu et al. (2019)](https://arxiv.org/abs/1907.11692), [Sanh et al. (2019)](https://arxiv.org/abs/1910.01108) |
200-
| Fri Feb 13 | Lecture 20 | Applications of Encoder Models | [HTML](../slides/week6/lecture20.html), [PDF](../slides/week6/lecture20.pdf) | **[Assignment 4](../assignments/assignment-4/) Due** |
200+
| Thu Feb 13 | Lecture 20 | Applications of Encoder Models | [HTML](../slides/week6/lecture20.html), [PDF](../slides/week6/lecture20.pdf) | **[Assignment 5](../assignments/assignment-5/) Due (Feb 13, 11:59 PM EST)** |
201201

202202
### Week 7: Decoder Models & GPT (February 16--20)
203203

204204
| Day | Lecture | Topics | Slides | Materials |
205205
|-----|---------|--------|--------|-----------|
206206
| Mon Feb 16 | Lecture 21 | GPT Architecture | [HTML](../slides/week7/lecture21.html), [PDF](../slides/week7/lecture21.pdf) | [Radford et al. (2018)](https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf), [Radford et al. (2019)](https://cdn.openai.com/better-language-models/language_models_are_unsupervised_multitask_learners.pdf) |
207-
| Wed Feb 18 | Lecture 22 | Scaling Up to GPT-3 and Beyond | [HTML](../slides/week7/lecture22.html), [PDF](../slides/week7/lecture22.pdf) | [Brown et al. (2020)](https://arxiv.org/abs/2005.14165), [OpenAI (2023)](https://arxiv.org/abs/2303.08774), **[Assignment 5](../assignments/assignment-5/) Released** |
207+
| Wed Feb 18 | Lecture 22 | Scaling Up to GPT-3 and Beyond | [HTML](../slides/week7/lecture22.html), [PDF](../slides/week7/lecture22.pdf) | [Brown et al. (2020)](https://arxiv.org/abs/2005.14165), [OpenAI (2023)](https://arxiv.org/abs/2303.08774) |
208208
| Fri Feb 20 | Lecture 23 | Implementing GPT from Scratch | [HTML](../slides/week7/lecture23.html), [PDF](../slides/week7/lecture23.pdf) | |
209209

210210
### Week 8: No Classes (February 23--27)
211211

212-
Instructor away February 23--27. No classes this week. Use this time to work on [Assignment 5](../assignments/assignment-5/) and begin planning your [final project](../assignments/final-project/).
212+
Instructor away February 23--27. No classes this week. Use this time to work on your [final project](../assignments/final-project/).
213213

214214
### Week 9: Advanced Topics (March 2--6)
215215

216216
| Day | Lecture | Topics | Slides | Materials |
217217
|-----|---------|--------|--------|-----------|
218-
| Mon Mar 2 | Lecture 24 | Retrieval Augmented Generation (RAG) | [HTML](../slides/week9/lecture24.html), [PDF](../slides/week9/lecture24.pdf) | [Lewis et al. (2020)](https://arxiv.org/abs/2005.11401), **[Assignment 5](../assignments/assignment-5/) Due** |
218+
| Mon Mar 2 | Lecture 24 | Retrieval Augmented Generation (RAG) | [HTML](../slides/week9/lecture24.html), [PDF](../slides/week9/lecture24.pdf) | [Lewis et al. (2020)](https://arxiv.org/abs/2005.11401) |
219219
| Wed Mar 4 | Lecture 25 | Mixture of Experts & Efficiency | [HTML](../slides/week9/lecture25.html), [PDF](../slides/week9/lecture25.pdf) | [Fedus et al. (2022)](https://arxiv.org/abs/2101.03961), [Jiang et al. (2024)](https://arxiv.org/abs/2401.04088) |
220220
| Fri Mar 6 | Lecture 26 | Ethics, Bias, and Safety | [HTML](../slides/week9/lecture26.html), [PDF](../slides/week9/lecture26.pdf) | [Bender et al. (2021)](https://dl.acm.org/doi/10.1145/3442188.3445922) |
221221

222222
### Week 10: Final Projects (March 9)
223223

224224
| Day | Lecture | Topics | Slides | Materials |
225225
|-----|---------|--------|--------|-----------|
226-
| Mon Mar 9 | Lecture 27 | Final Project Presentations & Wrap-up | -- | Last day of classes |
226+
| Mon Mar 9 | Lecture 27 | Final Project Presentations & Wrap-up | -- | Last day of classes, **[Final Project](../assignments/final-project/) Due (Mar 9, 11:59 PM EST)** |
227227

228228
### Final Exam Period (March 13--17)
229229

230-
**Friday, March 13**: [Final Project](../assignments/final-project/) Materials Due (code, video presentation, writeup)
230+
No additional submissions required. Final project materials were due March 9.

assignments/Assignment 1: ELIZA/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,23 +426,45 @@ This assignment is designed to be completed in **one week (7 days)**. While subs
426426
- **Read this first!** It will help you understand the design and implementation
427427

428428
2. **Weizenbaum, J. (1976)**. "Computer Power and Human Reason: From Judgment to Calculation"
429+
- [PDF Link](http://blogs.evergreen.edu/cpat/files/2013/05/Computer-Power-and-Human-Reason.pdf)
429430
- Weizenbaum's later reflections on ELIZA and AI ethics
430431
- Highly relevant to your reflection section
431432

432433
### Additional Context
433434

434435
3. **Hofstadter, D. (1995)**. "Fluid Concepts and Creative Analogies: Computer Models of the Fundamental Mechanisms of Thought"
436+
- [PDF Link](https://psycnet.apa.org/record/1995-98269-000)
435437
- Chapter on the Copycat program and understanding vs. simulation
436438

437439
4. **Turkle, S. (2011)**. "Alone Together: Why We Expect More from Technology and Less from Each Other"
440+
- [PDF Link](https://link.springer.com/article/10.1007/s10615-014-0511-4)
438441
- Modern examination of human-computer emotional connections
439442

440443
### Technical Resources
441444

442445
- **ELIZA Online Implementations**: Try online versions to see expected behavior
443-
- [masswerk.at/elizabot](http://www.masswerk.at/elizabot/)
446+
- [context-lab.com/llm-course/demos/eliza]](https://context-lab.com/llm-course/demos/eliza/)
444447
- Useful for testing your implementation
445448

449+
- **Google Colaboratory**: Setup-free resource for writing and running code on Google Cloud machines
450+
- [Link](https://colab.research.google.com/)
451+
- Your assignment **must** run in Google Colaboratory: to test it, press the "Run all" button, or select "Runtime" > "Run all" from the menu. Make sure that *all* parts of the notebook run without crashing before you submit!!
452+
453+
- **Dartmouth GenAI**: Free access to powerful LLMs that can help with coding
454+
- [Link (requires Dartmouth NetID)](https://chat.dartmouth.edu/)
455+
456+
- **OpenCode**: Command line interface for vibe coding
457+
- [Link](https://opencode.ai/)
458+
- Suggested plugin: [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode)
459+
- Supports many providers and models, including local models
460+
461+
- **LM Studio**: Run open models on your own computer
462+
- [Link](https://lmstudio.ai/)
463+
- Suggested model (depending on your machine's power): [gpt-oss](https://lmstudio.ai/models/gpt-oss)
464+
465+
- **Antigravity**: Code development environment designed to faciliate interactions with AI agents
466+
- [Link](https://antigravity.google/)
467+
446468
- **Python String Methods**: Essential for text manipulation
447469
- [Python String Documentation](https://docs.python.org/3/library/stdtypes.html#string-methods)
448470

assignments/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ All assignments are submitted via GitHub Classroom. Click the "Accept Assignment
1818

1919
| # | Title | Released | Due | Weight |
2020
|---|-------|----------|-----|--------|
21-
| 1 | [ELIZA Chatbot](./assignment-1/) | Week 1 | End of Week 2 | 15% |
22-
| 2 | [SPAM Classifier](./assignment-2/) | Week 2 | End of Week 3 | 15% |
23-
| 3 | [Wikipedia Embeddings](./assignment-3/) | Week 3 | End of Week 4 | 15% |
24-
| 4 | [Customer Service Chatbot](./assignment-4/) | Week 5 | End of Week 6 | 15% |
25-
| 5 | [Build GPT](./assignment-5/) | Week 7 | Week 9 | 15% |
26-
| Final | [Research Project](./final-project/) | Week 9 | Finals Week | 25% |
21+
| 1 | [ELIZA Chatbot](./assignment-1/) | Week 1 (Jan 9) | **Jan 16, 11:59 PM EST** | 15% |
22+
| 2 | [SPAM Classifier](./assignment-2/) | Week 2 (Jan 16) | **Jan 23, 11:59 PM EST** | 15% |
23+
| 3 | [Wikipedia Embeddings](./assignment-3/) | Week 3 (Jan 23) | **Jan 30, 11:59 PM EST** | 15% |
24+
| 4 | [Customer Service Chatbot](./assignment-4/) | Week 4 (Jan 30) | **Feb 6, 11:59 PM EST** | 15% |
25+
| 5 | [Build GPT](./assignment-5/) | Week 6 (Feb 9) | **Feb 13, 11:59 PM EST** | 15% |
26+
| Final | [Research Project](./final-project/) | Week 9 (Mar 4) | **Mar 9, 11:59 PM EST** | 25% |
2727

2828
## Late Policy
2929

demos/analogies/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ <h1 class="hero-title">Word Analogy Explorer</h1>
2222
<p class="hero-subtitle">Interactive word embeddings with vector arithmetic and similarity search</p>
2323
</div>
2424
</div>
25+
<div class="demo-warning-banner">
26+
<strong>Work in Progress</strong>
27+
<p>This demo is under development and may contain bugs or incomplete features.</p>
28+
</div>
2529
<div class="container">
2630

2731
<div class="main-layout">

demos/attention/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ <h1 class="hero-title">Transformer Attention Visualizer</h1>
2121
</div>
2222
</div>
2323
<div class="container">
24+
<div class="demo-warning-banner">
25+
<strong>Work in Progress</strong>
26+
<p>This demo is under development and may contain bugs or incomplete features.</p>
27+
</div>
2428

2529
<div class="controls-panel">
2630
<div class="control-group">

demos/bert-mlm/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ <h1 class="hero-title">BERT Masked Language Modeling</h1>
2222
<p class="hero-subtitle">Interactive exploration of BERT's masked token prediction with attention visualization</p>
2323
</div>
2424
</div>
25+
<div class="demo-warning-banner">
26+
<strong>Work in Progress</strong>
27+
<p>This demo is under development and may contain bugs or incomplete features.</p>
28+
</div>
2529
<div class="container">
2630

2731
<div class="main-layout">

demos/chatbot-evolution/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ <h1 class="hero-title">Chatbot Evolution Timeline</h1>
2424
</div>
2525

2626
<div class="container">
27+
<div class="demo-warning-banner">
28+
<strong>Work in Progress</strong>
29+
<p>This demo is under development and may contain bugs or incomplete features.</p>
30+
</div>
2731

2832
<!-- Timeline Navigator -->
2933
<section class="timeline-navigator">

demos/chatbot-evolution/test-alice-comprehensive.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,18 +226,18 @@ <h2>Bug Report</h2>
226226
if (result.pass) {
227227
const successMsg = document.createElement('div');
228228
successMsg.className = 'success';
229-
successMsg.textContent = ` ${result.message || 'Validation passed'}`;
229+
successMsg.textContent = `PASS: ${result.message || 'Validation passed'}`;
230230
exchangeDiv.appendChild(successMsg);
231231
} else if (result.warning) {
232232
const warnMsg = document.createElement('div');
233233
warnMsg.className = 'warning';
234-
warnMsg.textContent = ` ${result.message}`;
234+
warnMsg.textContent = `WARN: ${result.message}`;
235235
exchangeDiv.appendChild(warnMsg);
236236
hasWarning = true;
237237
} else {
238238
const errorMsg = document.createElement('div');
239239
errorMsg.className = 'error';
240-
errorMsg.textContent = ` ${result.message}`;
240+
errorMsg.textContent = `FAIL: ${result.message}`;
241241
exchangeDiv.appendChild(errorMsg);
242242
allPass = false;
243243

demos/chatbot-evolution/test-alice.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@
127127
</head>
128128
<body>
129129
<div class="container">
130-
<h1>🤖 A.L.I.C.E. Chatbot Test Suite</h1>
130+
<h1>A.L.I.C.E. Chatbot Test Suite</h1>
131131
<p class="subtitle">Comprehensive testing of ALICE implementation against original 1995 behaviors</p>
132132

133-
<button class="run-all-btn" onclick="runAllTests()">▶️ Run All Tests</button>
133+
<button class="run-all-btn" onclick="runAllTests()">Run All Tests</button>
134134

135135
<div class="summary" id="summary" style="display: none;">
136136
<h3>Test Results Summary</h3>
@@ -342,7 +342,7 @@ <h2>5. SRAI - Recursive Patterns</h2>
342342

343343
const statusBadge = document.createElement('span');
344344
statusBadge.className = `status ${passed ? 'pass' : 'fail'}`;
345-
statusBadge.textContent = passed ? 'PASS' : 'FAIL';
345+
statusBadge.textContent = passed ? 'PASS' : 'FAIL';
346346
testCase.querySelector('.input').appendChild(statusBadge);
347347
}
348348

demos/eliza/index.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ <h1 class="hero-title">ELIZA Interactive Demo</h1>
2020
<p class="hero-subtitle">Explore the classic pattern-matching chatbot with visual rule breakdown</p>
2121
</div>
2222
</div>
23+
<div class="demo-warning-banner">
24+
<strong>Work in Progress</strong>
25+
<p>This demo is under development and may contain bugs or incomplete features.</p>
26+
</div>
2327

2428
<div class="container">
2529
<!-- Tab Navigation -->
@@ -34,7 +38,7 @@ <h1 class="hero-title">ELIZA Interactive Demo</h1>
3438
<div class="chat-container">
3539
<div class="chat-messages" id="chat-messages">
3640
<div class="empty-state">
37-
<div class="empty-state-icon">💬</div>
41+
<div class="empty-state-icon"></div>
3842
<div class="empty-state-text">Start a conversation with ELIZA</div>
3943
<div class="empty-state-subtext">Type a message below to begin</div>
4044
</div>
@@ -84,7 +88,7 @@ <h1 class="hero-title">ELIZA Interactive Demo</h1>
8488
</div>
8589
<div class="breakdown-steps" id="breakdown-steps">
8690
<div class="empty-state">
87-
<div class="empty-state-icon">🔍</div>
91+
<div class="empty-state-icon"></div>
8892
<div class="empty-state-text">Enter text to see detailed processing</div>
8993
<div class="empty-state-subtext">Watch how ELIZA transforms input into responses step-by-step</div>
9094
</div>
@@ -405,7 +409,7 @@ <h3>Synonyms</h3>
405409

406410
function clearChat() {
407411
const messagesDiv = document.getElementById('chat-messages');
408-
messagesDiv.innerHTML = '<div class="empty-state"><div class="empty-state-icon">💬</div><div class="empty-state-text">Chat cleared</div><div class="empty-state-subtext">Start a new conversation</div></div>';
412+
messagesDiv.innerHTML = '<div class="empty-state"><div class="empty-state-icon"></div><div class="empty-state-text">Chat cleared</div><div class="empty-state-subtext">Start a new conversation</div></div>';
409413
eliza.reset();
410414

411415
// Show greeting again
@@ -473,7 +477,7 @@ <h3>Synonyms</h3>
473477
const validationDiv = document.getElementById('editor-validation');
474478
validationDiv.className = 'editor-validation visible ' + (success ? 'success' : 'error');
475479
validationDiv.innerHTML = `
476-
<span class="validation-icon">${success ? '' : ''}</span>
480+
<span class="validation-icon">${success ? 'OK' : 'ERR'}</span>
477481
<span class="validation-message">${message}</span>
478482
`;
479483

0 commit comments

Comments
 (0)