diff --git a/cmd/mavend/topics.go b/cmd/mavend/topics.go index e566e39..322a8b6 100644 --- a/cmd/mavend/topics.go +++ b/cmd/mavend/topics.go @@ -212,6 +212,15 @@ var topicSeedSets = map[topicLabel][]string{ // noun it has never seen. "какой сегодня курс валют", "что сегодня происходит в мире", + // The same story one topic over, found while verifying V-554 on the + // box: "кто изобрёл телефон" ran a LAN scan and answered "нашла 3 + // устройства". The network set opens with "кто в сети сейчас" and + // names devices throughout, so a "кто ..." question about any device + // noun landed there. A device has a history, and asking about it is + // not asking what is plugged in. + "кто изобрёл телефон", + "когда появился первый компьютер", + "как работает роутер", }, } diff --git a/cmd/mavend/topics_test.go b/cmd/mavend/topics_test.go index d6194e0..b999558 100644 --- a/cmd/mavend/topics_test.go +++ b/cmd/mavend/topics_test.go @@ -115,6 +115,15 @@ func TestONNXTopics(t *testing.T) { // as weather, including the two that lean on the keyword floor. {"будет ли завтра дождь в москве", topicWeather, isWeatherQuery}, {"какая температура завтра утром", topicWeather, isWeatherQuery}, + // The same shape one topic over, seen on the box (Vikunja #554): a + // device has a history, and asking about it is not asking what is + // plugged in. "кто изобрёл телефон" answered "нашла 3 устройства". + // Held out from the seeds, which name the telephone and the computer. + {"кто придумал радио", topicOther, isNetworkQuery}, + {"когда изобрели телевизор", topicOther, isNetworkQuery}, + {"как устроен телефон внутри", topicOther, isNetworkQuery}, + // The control: a real scan is still a scan. + {"какие устройства подключены к вайфаю", topicNetwork, isNetworkQuery}, } h := &reactiveHandler{recall: recallWiring{embedder: emb}}