Normalize contextual travel research
This commit is contained in:
@@ -172,6 +172,10 @@ func TestTravelRouteWithKnownOriginDoesNotAskForTicketDate(t *testing.T) {
|
||||
if got := TravelSearchClarification("как можно добраться до Сочи?", history); got != "" {
|
||||
t.Fatalf("general route was incorrectly reduced to ticket clarification: %q", got)
|
||||
}
|
||||
got := TravelResearchQuery("как можно добраться до Сочи?", history, time.Time{})
|
||||
if got != "способы добраться из Москве в Сочи: самолет поезд автобус автомобиль" {
|
||||
t.Fatalf("general route query lost known route context: %q", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestInterpretUtteranceDirectiveRecordsOutcomeWithoutExecution(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user