Model failed to load
How it works
A short walkthrough of the flow and the idea behind it — kept simple.
- 1
Load the sentence encoder
Universal Sentence Encoder runs in the browser and turns each question into a 512-dimensional vector that captures meaning.
- 2
Collect question / answer pairs
Each pair teaches the buddy: when a question is similar to this, return this answer. More examples improve separation between answers.
- 3
Train a classifier head
A small network (Dense + Dropout + Softmax) learns to map the question vector to one of the unique answers in your data — it selects an answer, it does not freely generate text.
- 4
Chat and export
After training you can ask questions and get the closest answer. Export saves weights, architecture, and the answer list to a JSON file.
More detail
Train your buddy
Add a question and the answer you want tied to it. Repeat with different phrasings for the same intent to improve generalization.
Add at least two pairs to enable Start training.
No pairs yet
Enter a question and answer, then click Add pair.