mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-03 17:54:12 +00:00
fix: speechmatics enable_entities channel variable name typo (#1587)
The speechmatics recognizer option transcription_config.enable_entities was exported to freeswitch as SPEECHMATICS_ENABLE_ENTTIES, but mod_speechmatics_transcribe reads SPEECHMATICS_ENABLE_ENTITIES, so the option never reached the StartRecognition request and Speechmatics always ran with its default. Rename the variable so the option takes effect. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
74510b0bef
commit
ebcc3e3a8a
@@ -1400,7 +1400,7 @@ module.exports = (logger) => {
|
||||
...(speechmaticsOptions.transcription_config?.operating_point &&
|
||||
{SPEECHMATICS_OPERATING_POINT: speechmaticsOptions.transcription_config.operating_point}),
|
||||
...(speechmaticsOptions.transcription_config?.enable_entities &&
|
||||
{SPEECHMATICS_ENABLE_ENTTIES: speechmaticsOptions.transcription_config.enable_entities}),
|
||||
{SPEECHMATICS_ENABLE_ENTITIES: speechmaticsOptions.transcription_config.enable_entities}),
|
||||
...(speechmaticsOptions.transcription_config?.audio_filtering_config?.volume_threshold &&
|
||||
{SPEECHMATICS_VOLUME_THRESHOLD:
|
||||
speechmaticsOptions.transcription_config.audio_filtering_config.volume_threshold}),
|
||||
|
||||
Reference in New Issue
Block a user