
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
efb-voice-recog-middleware
Advanced tools
WeChat Middleware for EH Forwarder Bot to convert voice to text, based on Baidu and Microsoft API.
Middleware ID: catbaron.voice_recog
VoiceRecogMiddleware is a middleware for EFB to recognize content of voice message.
This middleware is modified based on ehForwarderBot 1.0
API_KEY
and SECRET_KEY
following
http://ai.baidu.com/docs#/ASR-API-PRO/topKey1
and Endpoint
from https://portal.azure.com/APPID
, APISecret
and APIKey
from https://console.xfyun.cn/services/iatSecretID
and SecretKey
from https://console.cloud.tencent.com/cam/capipip install efb-voice_recog-middleware
Register to EFB
Following this document to edit the config file. The config file by default is $HOME/.ehforwarderbot/profiles/default/config.yaml
. It should look like:
master_channel: foo.demo_master
slave_channels:
- foo.demo_slave
- bar.dummy
middlewares:
- foo.other_middlewares
- catbaron.voice_recog
You only need to add the last line to your config file.
The config file by default is $HOME/.ehforwarderbot/profiles/default/catbaron.voice_recog/config.yaml
.
Please create the config file if thers is not one. Edit it as:
speech_api:
baidu:
api_key: API_KEY
secret_key: SECRET_KEY
# supported language:
# zh, zh-x-en, en, zh-yue, zh-x-sichuan, zh-x-farfield
lang: zh
azure:
key1: KEY_1
endpoint: ENDPOINT
# supported language:
# ar-EG, ar-SA, ar-AE, ar-KW, ar-QA, ca-ES,
# da-DK, de-DE, en-AU, en-CA, en-GB, en-IN,
# en-NZ, en-US, es-ES, es-MX, fi-FI, fr-CA,
# fr-FR, gu-IN, hi-IN, it-IT, ja-JP, ko-KR,
# mr-IN, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT,
# ru-RU, sv-SE, ta-IN, te-IN, zh-CN, zh-HK,
# zh-TW, th-TH, tr-TR
lang: zh
tencent:
secret_id: SECRET_ID
secret_key: SECRET_KEY
# supported language: en, zh
lang: en
iflytek:
app_id: APP_ID
api_secret: API_SECRET
api_key: APP_KEY
# supported language: zh, en
lang: en
auto: true
Replace the section with all-caps to your own ones.
Note that you may omit the section that you do not want to enable.
Turn off auto
if you want to disable auto recognition to all voice
messages. Alternatively, you may reply recog`
to a voice
message to recognise it.
FAQs
WeChat Middleware for EH Forwarder Bot to convert voice to text, based on Baidu and Microsoft API.
We found that efb-voice-recog-middleware demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.