-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Local embedding model cannot be used #12464
Comments
I found a similar unsolved discussion regarding a To address the problem of using local embedding models in a self-hosted Dify environment without internet access, you can configure a local embedding model using either Xinference or LocalAI. Here are the steps for LocalAI:
Ensure that the Dify container can access the LocalAI endpoint by using the appropriate host IP address. This setup should allow you to use local models for embedding without needing internet access [2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
The model provider docks with xinference, which includes embedded models. Similar problems occurred when dify first supported the call of locally deployed model functions to go online. They were subsequently resolved. I wonder if this time's occurrence is related to the new online knowledge base support for parent-child mode |
Duplicated, I saw this error message lots of times.
This is a general network issue, you seems to call OpenAI service which you might not intend to, please check the system provider settings, QA and P-C will use system models for reasoning. |
Seems related (#12416) @laipz8200 |
Self Checks
Dify version
0.15.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Purely intranet environment, the steps are as follows:
1、Enter the knowledge base;
2、Create a knowledge base;
3、Choose between the general mode and the parent-child mode;
4、Upload documents;
5、An error is reported during vector processing;
The error content is as follows:
✔️ Expected Behavior
When the intranet environment cannot access the Internet, a locally deployed model can be used to embed the knowledge base
❌ Actual Behavior
When the intranet environment implements knowledge base embedding, the service will access the extranet, resulting in the inability to use privatized deployment
The text was updated successfully, but these errors were encountered: