The service is intended for running an action upon client intent. Recognizing intent is made by configured backend. Upon client request service initiates recognizing and running previously configured actions.
The main purpose of the service is running an action upon client requests. Where each client request represented by:
- text message (e.g. "turn on the light")
- human speech in particular audio format
After recognizing intent the service perform matching obtained intents and previously configured action. After matching procedure the service runs particular actions.
For more information please visit documentation file.
Debug configuration:
$ cmake --preset debug
$ cmake --build --preset build-debug
Release configuration:
$ cmake --preset release
$ cmake --build --preset build-release
Debug configuration:
$ bash scripts/run-test-env.sh
$ cmake --preset debug-docker
$ cmake --build --preset build-debug-docker
Release configuration:
$ bash scripts/run-test-env.sh
$ cmake --preset release-docker
$ cmake --build --preset build-release-docker
Prerequisites:
- application at wit.ai service is present (
asset/wit.ai
dir contains config and exported data); - test preset in
CMakeUserPresets.json
file at the root of the project.
Custom test preset template for component tests:
{
"version": 6,
"testPresets": [
{
"name": "my-component-tests",
"inherits": ["component-tests"],
"environment": {
"RINTENTO_WIT_AUTH": "PUT-YOUR-AUTH-TOKEN-HERE"
}
}
]
}
Running component tests:
$ bash scripts/run-test-env.sh
$ cmake --preset debug-docker
$ cmake --build --preset build-debug-docker
$ ctest --preset "my-component-tests"
See the LICENSE file for license rights and limitations (MIT).