You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/08/16 04:53:46 UTC

[incubator-nlpcraft] 02/02: Added 'past' request to intent samples.

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-41
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git

commit 3e2c930e0b8edbc77ea04a4efadab68f770bd278
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sat Aug 15 21:53:32 2020 -0700

    Added 'past' request to intent samples.
---
 .../main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
index 4541a6d..98dc82b 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/weather/WeatherModel.java
@@ -152,7 +152,9 @@ public class WeatherModel extends NCModelFileAdapter {
         "When it will rain in Delhi?",
         "Is there any possibility of rain in Delhi?",
         "Is it raining now?",
-        "Is there any chance of rain today?"
+        "Is there any chance of rain today?",
+        "Was it raining in Beirut last week?",
+        "How about yesterday?"
     })
     public NCResult onMatch(
         NCIntentMatch ctx,