-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Bug]: azure 模型下知识库问答报错 #910
Comments
你可以把配置信息发到我的邮箱,我解决一下: |
遇到相同的问题。配置我仔细检查了没有问题 |
完整信息: |
我调查一下🤔你可以暂时使用本地编制索引的功能,其实效果不比OpenAI的差。 |
这个其实不能算一个BUG,只不过大家搭建环境的时候OPENAI版本号不一样 |
我也遇到了同样的情况,对话是正常的,但是知识库会报这个错 |
已经按提示修改 #1158 同时我还发现当我的配置文件中 |
这个bug是否已存在现有issue了?
错误表现
2023-10-08 15:38:18,860 [INFO] [index_func.py:125] 构建索引中……
2023-10-08 15:38:26,338 [WARNING] [before_sleep.py:65] Retrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')).
2023-10-08 15:38:30,670 [WARNING] [before_sleep.py:65] Retrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')).
2023-10-08 15:38:34,986 [WARNING] [before_sleep.py:65] Retrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')).
2023-10-08 15:38:39,309 [WARNING] [before_sleep.py:65] Retrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 8.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')).
2023-10-08 15:38:47,653 [WARNING] [before_sleep.py:65] Retrying langchain.embeddings.openai.embed_with_retry.._embed_with_retry in 10.0 seconds as it raised APIConnectionError: Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')).
2023-10-08 15:38:57,992 [ERROR] [index_func.py:136] 索引构建失败!Error communicating with OpenAI: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
复现操作
不提供其它 key,只配置azure 的,也正确提供了azure_embedding_deployment_name,聊天可以正常使用,但是上传文档知识库似乎链接的还是 openai 的
错误日志
No response
运行环境
帮助解决
补充说明
No response
The text was updated successfully, but these errors were encountered: