Skip to content

denoming/rintento

Repository files navigation

Rintento

Introduction

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.

Building

Locally

Debug configuration:

$ cmake --preset debug
$ cmake --build --preset build-debug

Release configuration:

$ cmake --preset release
$ cmake --build --preset build-release

Inside docker

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

Testing

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.

Component tests

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"

License

See the LICENSE file for license rights and limitations (MIT).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published