This trivial example simply responds with ‘Hello World!’ on any user input. This is the simplest and shortest user model that can be defined.
You can run necessary JVMs for this example the same way from either the 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.model.tools.test.NCTestAutoModelValidator
-DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.helloworld.HelloWorldModel
If not using built-in test framework (i.e. not using embedded probe) you need to start data probe manually:
org.apache.nlpcraft.NCStart
-Dconfig.override_with_env_vars=true
CONFIG_FORCE_nlpcraft_probe_models="org.apache.nlpcraft.examples.helloworld.HelloWorldModel"
-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