This example demonstrates relatively complete NLI-based weather service with JSON output and a non-trivial intent matching logic. It uses https://www.apixu.com REST service for the actual weather information.
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.weather.WeatherModel
-probe
org.apache.nlpcraft.examples.weather.WeatherTest
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