mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-02-15 10:49:07 +00:00
docs
This commit is contained in:
@@ -20,6 +20,7 @@ Configuration is provided via environment variables:
|
|||||||
|ENABLE_METRICS| if 1, metrics will be generated|no|
|
|ENABLE_METRICS| if 1, metrics will be generated|no|
|
||||||
|GOOGLE_APPLICATION_CREDENTIALS| path to gcp service key file|yes|
|
|GOOGLE_APPLICATION_CREDENTIALS| path to gcp service key file|yes|
|
||||||
|HTTP_PORT| tcp port to listen on for API requests from jambonz-api-server|yes|
|
|HTTP_PORT| tcp port to listen on for API requests from jambonz-api-server|yes|
|
||||||
|
|JAMBONES_GATHER_EARLY_HINTS_MATCH| if true and hints are provided, gather will opportunistically review interim transcripts if possible to reduce ASR latency |no|
|
||||||
|JAMBONES_FREESWITCH| IP:port:secret for Freeswitch server (e.g. '127.0.0.1:8021:JambonzR0ck$'|yes|
|
|JAMBONES_FREESWITCH| IP:port:secret for Freeswitch server (e.g. '127.0.0.1:8021:JambonzR0ck$'|yes|
|
||||||
|JAMBONES_LOGLEVEL| log level for application, 'info' or 'debug'|no|
|
|JAMBONES_LOGLEVEL| log level for application, 'info' or 'debug'|no|
|
||||||
|JAMBONES_MYSQL_HOST| mysql host|yes|
|
|JAMBONES_MYSQL_HOST| mysql host|yes|
|
||||||
|
|||||||
@@ -142,7 +142,8 @@ class TaskGather extends Task {
|
|||||||
asrDtmfTerminationDigit: this.asrDtmfTerminationDigit
|
asrDtmfTerminationDigit: this.asrDtmfTerminationDigit
|
||||||
}, 'Gather:exec - enabling continuous ASR since it is turned on for the session');
|
}, 'Gather:exec - enabling continuous ASR since it is turned on for the session');
|
||||||
}
|
}
|
||||||
if (process.env.JAMBONZ_GATHER_EARLY_HINTS_MATCH && this.needsStt &&
|
const {JAMBONZ_GATHER_EARLY_HINTS_MATCH, JAMBONES_GATHER_EARLY_HINTS_MATCH} = process.env;
|
||||||
|
if ((JAMBONZ_GATHER_EARLY_HINTS_MATCH || JAMBONES_GATHER_EARLY_HINTS_MATCH) && this.needsStt &&
|
||||||
!this.isContinuousAsr &&
|
!this.isContinuousAsr &&
|
||||||
this.data.recognizer?.hints?.length > 0 && this.data.recognizer?.hints?.length <= 10) {
|
this.data.recognizer?.hints?.length > 0 && this.data.recognizer?.hints?.length <= 10) {
|
||||||
this.earlyHintsMatch = true;
|
this.earlyHintsMatch = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user