-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
add rerank model success for LocalAI, but no show in system #4377
Comments
To address the issue with the "mxbai-rerank-large-v1" model not showing up in the Dify system after adding it to your self-hosted LocalAI, please ensure the following steps have been correctly executed:
Check for these potential issues:
If the model still doesn't appear, review the integration process in Dify, especially the For a detailed guide on adding models to LocalAI and troubleshooting, refer to the LocalAI model configuration documentation. If after these checks the issue persists, please share more details about the steps you've taken and any error messages encountered for further assistance.
|
After configuring LocalAI ReRank, running
However, it does not show up in the model provider settings and cannot be used as a model. It seems like the API endpoint Request:
Environment:
|
@edisonzf2020 : Could you please point me out how you managed to install the reranking model @gakugaku : Which reranking model did you install in LocalAI and how did you manage it? Thank you in advance. |
@Sarmingsteiner Here is how I managed to install a reranking model in LocalAI. Example for Docker and Japanese Reranker model. LocalAI Configuration
services:
local-ai:
image: localai/localai:v2.16.0
environment:
MODELS_PATH: /models
volumes:
- ./data/LocalAI/models:/models:cached
name: japanese-reranker
backend: rerankers
parameters:
model: hotchpotch/japanese-reranker-cross-encoder-small-v1 When you start and run this configuration, the model will be downloaded automatically. Dify ConfigurationSelect the LocalAI provider and configure it as follows:
|
Self Checks
Dify version
0.6.8
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: