Embedding模型不生效 #801

Closed
opened 2026-02-21 17:28:29 -05:00 by yindo · 1 comment
Owner

Originally created by @opsvr on GitHub (Dec 10, 2023).

Dify version

0.3.33

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

对接xinference,推理模型:chatglm3-6b,embedding模型:bge-base-zh
在知识库上传文档后,右上角提示错误,HTTPSConnectionPool(host='openaipublic.blob.core.windows.net',port=443),api日志有对应请求openaipublic.blob.core.windows.net日志,由于内网环境openaipublic.blob.core.windows.net无法访问。
似乎是在文档上传后进行向量化处理时使用的是外网openaipublic.blob.core.windows.net进行向量化,没有调用本地配置的embedding模型。

✔️ Expected Behavior

No response

Actual Behavior

在知识库上传文档后,右上角提示错误,HTTPSConnectionPool(host='openaipublic.blob.core.windows.net',port=443),api日志有对应请求openaipublic.blob.core.windows.net日志,由于内网环境openaipublic.blob.core.windows.net无法访问。
似乎是在文档上传后进行向量化处理时使用的是外网openaipublic.blob.core.windows.net进行向量化,没有调用本地配置的embedding模型。

Originally created by @opsvr on GitHub (Dec 10, 2023). ### Dify version 0.3.33 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 对接xinference,推理模型:chatglm3-6b,embedding模型:bge-base-zh 在知识库上传文档后,右上角提示错误,HTTPSConnectionPool(host='openaipublic.blob.core.windows.net',port=443),api日志有对应请求openaipublic.blob.core.windows.net日志,由于内网环境openaipublic.blob.core.windows.net无法访问。 似乎是在文档上传后进行向量化处理时使用的是外网openaipublic.blob.core.windows.net进行向量化,没有调用本地配置的embedding模型。 ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior 在知识库上传文档后,右上角提示错误,HTTPSConnectionPool(host='openaipublic.blob.core.windows.net',port=443),api日志有对应请求openaipublic.blob.core.windows.net日志,由于内网环境openaipublic.blob.core.windows.net无法访问。 似乎是在文档上传后进行向量化处理时使用的是外网openaipublic.blob.core.windows.net进行向量化,没有调用本地配置的embedding模型。
yindo added the 🐞 bug label 2026-02-21 17:28:29 -05:00
yindo closed this issue 2026-02-21 17:28:29 -05:00
Author
Owner

@crazywoola commented on GitHub (Dec 11, 2023):

Close due to https://github.com/langgenius/dify/issues/1542

@crazywoola commented on GitHub (Dec 11, 2023): Close due to https://github.com/langgenius/dify/issues/1542
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#801