Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用openai的STT功能无法选择模型 #1927

Open
5 tasks done
Elton-Yang opened this issue Nov 12, 2024 · 0 comments
Open
5 tasks done

调用openai的STT功能无法选择模型 #1927

Elton-Yang opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Elton-Yang
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
在调用stt接口的时候希望制定whisper-1之外的另外一个模型,但是返回错误仍然是“对于模型whisper-1无可用渠道”
我的代码如下:
transcription = client.audio.transcriptions.create(
model="SenseVoiceSmall",
file=audio_file
)
想指定SenseVoiceSmall为STT模型,服务器实际为xinference, 与openai接口相同,xinference此模型已经运行,而且模型也已经注册到oneapi的渠道中,但是调用结果还是返回 '当前分组 default 下对于模型 whisper-1 无可用渠道‘

复现步骤

预期结果

相关截图
如果没有的话,请删除此节。

@Elton-Yang Elton-Yang added the bug Something isn't working label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant