-
-
Notifications
You must be signed in to change notification settings - Fork 2k
str object has no attribute 'choices' #848
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
Labels
bug
Something isn't working
Comments
启用BabelDOC选项再尝试。 |
他这个是llm相关问题 |
我用babeldoc 后,他不翻译成中文 |
换模型吗?不用openai 的 |
1.x的报错看着太折磨了。我以为还是之前那个字体的问题呢。 |
请等待pdf2zh 2.0 |
@awwaawwa 要不然给openai那个锁下版本吧,这也是常见问题了 |
这个错误应该和openai库没关系吧。可能是和相关配置有关,baseurl key model啥的吧 |
请用2.0预览版重试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在提问之前...
使用的环境
请选择安装方式
pip
描述你的问题
pdf2zh 工具在转换 PDF 文件时遇到了 str object has no attribute 'choices'
如何复现
预期行为
No response
相关 Logs
原始PDF文件
No response
还有别的吗?
No response
The text was updated successfully, but these errors were encountered: