Repository navigation
feat(napcat): 新增语音转文字接口 fetch_ptt_text - #61
Merged
Merged
Conversation
通过 NapCat 内置的 fetch_ptt_text 动作获取语音消息的转写文本。 - IQQAPIClient / QQQuery / NapCatBotAPI / MockBotAPI 新增 fetch_ptt_text - 新增响应模型 PttTextResult(对应 data.text) - message_id 统一以字符串传递:NapCat 接受 number|string,但 19 位长 ID 转成 JS number 会丢精度(实测 int 传参返回“消息不存在”) - 同步 bot-api 技能文档与 NQ-03/NQ-04 测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
通过 NapCat 内置的 fetch_ptt_text 动作获取语音消息的转写文本,减少对ASR/STT模型的依赖
代码由minimax-m3.1-Flash和Deepseek-v4.1-flash撰写,由本人审计代码。