From 72c0ce065a5fdaad33500e4c80dee804a703929d Mon Sep 17 00:00:00 2001 From: Devin Gaffney Date: Wed, 4 Sep 2024 07:28:42 -0700 Subject: [PATCH] fix typo brought over from previous PR --- app/lib/smooch_nlu.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/smooch_nlu.rb b/app/lib/smooch_nlu.rb index f264dc96a..e1b8b0d33 100644 --- a/app/lib/smooch_nlu.rb +++ b/app/lib/smooch_nlu.rb @@ -87,7 +87,7 @@ def self.alegre_matches_from_message(message, language, context, alegre_result_k language: language, }.merge(context) } - response = Bot::Alegre.get_sync_raw_params(params, "text") + response = Bot::Alegre.get_sync_with_params(params, "text") # One approach would be to take the option that has the most matches # Unfortunately this approach is influenced by the number of keywords per option