This example provides a simple “alarm clock” interface where you can ask to set the timer for a specific duration from now expressed in hours, minutes and/or seconds. You can say ping me in 3 minutes
, buzz me in an hour and 15 minutes
, or set my alarm for 30 secs
. When the timers is up it will simply print out “BEEP BEEP BEEP” in the probe console.
You can run this example from command line or IDE in a similar way:
org.apache.nlpcraft.NCStart
-server
org.apache.nlpcraft.NCStart
-Dconfig.override_with_env_vars=true
CONFIG_FORCE_nlpcraft_probe_models.0=org.apache.nlpcraft.examples.lightswitch.LightSwitchModel
-probe
org.apache.nlpcraft.examples.alarm.AlarmTest
See Getting Started guide for more instructions on how to run these examples.
For any questions, feedback or suggestions:
Copyright (C) 2020 Apache Software Foundation