Skip to main content
Version: 4.0.0

Configuration Script

Following article describes the configure-speech-platform.sh script which is included in Virtual Appliance.

Introduction​

This script serves the purpose of configuring Phonexia Speech Platform 4 so that you don't have to configure the values.yaml file yourself. More specifically, the script enables licensed technologies and enables GPU use. For more information, see the flag table below.

Usage​

This section describes how to use the configure-speech-platform.sh script.

Calling the script​

The script is located in the /root/scripts/ directory. If you are not using root user, please first run the command, and after you are prompted, enter password for the root user:

su root

After you are logged in as the root user, you can use the script by calling the command:

/root/scripts/configure-speech-platform.sh <extra flags>

Flags​

NameShortcutDescription
‑‑auto‑configure-aConfigures the system automatically based on licenses and models in /data/ directory. If GPU is present also configures licensed technologies to run on GPU
‑‑disable-dDisables a technology.
‑‑enable-eEnables a technology.
‑‑filebrowserUsed only during automatic runs inside the Filebrowser pod. Changes how GPU presence is checked. Do not use when running manually!
‑‑gpuIf possible, runs technologies on the GPU.
‑‑help-hPrints out help page.
‑‑microservices-mList of technologies to be configured.
‑‑model‑namesTechnologies model names. Can be specified only with one technology. Must match the number of model versions parameter arguments. When used with speech-to-text-phoneixa, audio-quality-estimation and time-analysis, multiple models can be specified
‑‑model‑versionsTechnologies model versions. Can be specified only with one technology. Must match the number of model names parameter arguments. When used with speech-to-text-phonexia, audio-quality-estimation and time-analysis multiple models can be specified.
‑‑no‑gpuRuns technologies without GPU.
‑‑no‑on‑demandRuns technologies as a stable replica.
‑‑on‑demandIf possible, runs technologies on demand.
‑‑replica‑countReplica count of technologies. You need to specify the exact model for which the replica count applies,
‑‑technologies-tList of technologies, which will be configured.