Skip to main content

No project description provided

Project description

Rhasspy Remote HTTP Hermes

Continous Integration GitHub license

Implements hermes/asr, hermes/nlu, hermes/tts, and intent handling functionality from Hermes protocol using a remote Rhasspy server's HTTP API.

Running With Docker

docker run -it rhasspy/rhasspy-remote-http-hermes:<VERSION> <ARGS>

Building From Source

Clone the repository and create the virtual environment:

git clone https://github.com/rhasspy/rhasspy-remote-http-hermes.git
cd rhasspy-remote-http-hermes
make venv

Run the bin/rhasspy-remote-http-hermes script to access the command-line interface:

bin/rhasspy-remote-http-hermes --help

Building the Debian Package

Follow the instructions to build from source, then run:

source .venv/bin/activate
make debian

If successful, you'll find a .deb file in the dist directory that can be installed with apt.

Building the Docker Image

Follow the instructions to build from source, then run:

source .venv/bin/activate
make docker

This will create a Docker image tagged rhasspy/rhasspy-remote-http-hermes:<VERSION> where VERSION comes from the file of the same name in the source root directory.

NOTE: If you add things to the Docker image, make sure to whitelist them in .dockerignore.

Command-Line Options

usage: rhasspy-remote-http-hermes [-h] [--asr-url ASR_URL]
                                  [--asr-command ASR_COMMAND]
                                  [--nlu-url NLU_URL]
                                  [--nlu-command NLU_COMMAND]
                                  [--tts-url TTS_URL]
                                  [--tts-command TTS_COMMAND] [--host HOST]
                                  [--port PORT] [--siteId SITEID] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  --asr-url ASR_URL     URL of remote speech to text server (e.g.,
                        http://localhost:12101/api/speech-to-text)
  --asr-command ASR_COMMAND
                        Command to execute for ASR (WAV to text)
  --nlu-url NLU_URL     URL of remote intent recognition server (e.g.,
                        http://localhost:12101/api/text-to-intent)
  --nlu-command NLU_COMMAND
                        Command to execute for NLU (text to intent)
  --tts-url TTS_URL     URL of remote text to speech server (e.g.,
                        http://localhost:12101/api/text-to-speech)
  --tts-command TTS_COMMAND
                        Command to execute for TTS (text to WAV)
  --host HOST           MQTT host (default: localhost)
  --port PORT           MQTT port (default: 1883)
  --siteId SITEID       Hermes siteId(s) to listen for (default: all)
  --debug               Print DEBUG messages to the console

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhasspy-remote-http-hermes-0.1.2.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file rhasspy-remote-http-hermes-0.1.2.tar.gz.

File metadata

  • Download URL: rhasspy-remote-http-hermes-0.1.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for rhasspy-remote-http-hermes-0.1.2.tar.gz
Algorithm Hash digest
SHA256 63ca297f3a663dd894c4e9beb3c0ff9b6449efff4f441730044e2dfaabf1892a
MD5 fc97cd7200384eb0366003f1c03e42a4
BLAKE2b-256 cddfdce87eb7427d11dba3a2f11b249fe2e885d2e07c72a4cce666be75716174

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page