该提示词用于按扣子平台的Python代码规范,仿写或重写一段语音识别插件代码。使用时把要参考的扣子源代码和待重写的语音识别代码一并提供给AI,AI会扮演资深Python专家,按照参考代码格式规范重写,输入参数设定为API密钥(apikey)和网络音频链接,运行后输出从音频中提炼的文本内容。适用于扣子平台插件开发、语音转文字功能实现等场景。
中文版提示词
请扮演一位资深的Python编程专家,仔细研究上面扣子平台书写的Python代码格式。根据此代码格式规范,对下面的语音识别代码进行重写。输入参数设定为API密钥(apikey)和网络上的音频链接,代码运行后需输出从音频中提炼出的文本内容。
英文版提示词
Please act as a senior Python programming expert. Carefully study the Python code format used on the Coze platform above. Following that format specification, rewrite the speech recognition code below. The input parameters should be set as an API key (apikey) and an online audio link. After the code runs, it should output the text content extracted from the audio. 🛠️ **适用 AI 工具**:Claude、ChatGPT、Cursor、Copilot、DeepSeek、Gemini

◯ 评论 0