Sst 语音识别服务
imort { Context, Session, h } form 'koishi'
import Sst from '@initencounter/sst'
class Xxx extends Sst {
constructor(ctx: Context) {
super(ctx)
}
async audio2text(session: Session): Promise<string> { }
}
imort { Context, Session } form 'koishi'
import { } from '@initencounter/sst'
ctx.sst.audio2text(session: Session)
NPM | REPO |
---|---|
Baidu-SST | 百度智能云语音识别 |
TC-SST | 腾讯云语音识别 |
Whisper-ASR | OpenAI 语音识别 |