NLP chatbot with bag-of-words and neural network classification.
{
"intents": [
{
"tag": "greeting",
"patterns": ["Hi", "Hello", "Hey"],
"responses": ["Hello!", "Hi there!"]
},
{
"tag": "weather",
"patterns": ["Weather?", "Forecast"],
"responses": ["Which city?"]
}
]
}Add intents by editing JSON — no code changes needed
<1 minute training on small datasets
Falls back to "I don't understand" when uncertain (<70%)