This example data model answers the questions about current time, either local to the caller or at some city. It provides YAML response with time and timezone information and uses YAML model definition.
You can run necessary JVMs for this example similarly from command line or IDE. NOTE: that you don't need to start Data Probe standalone if you are only running the unit test as it uses the embedded probe and starts it automatically:
org.apache.nlpcraft.NCStart
-server
org.apache.nlpcraft.examples.time.TimeTest
org.apache.nlpcraft.NCStart
-Dconfig.override_with_env_vars=true
CONFIG_FORCE_nlpcraft_probe_models.0=org.apache.nlpcraft.examples.time.TimeModel
-probe
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