Error Configuring Custom Embedder After Upgrading from Version 1.9 to 1.11 #5085
Unanswered
ZimaBlueee
asked this question in
Q&A
Replies: 1 comment
-
Hello, I answered in your Discord thread. I'll reproduce the answer below for those of us who don't have Discord and improved searchability: Hello 👋 Indeed we simplified the API of REST embedders, however we did not remove any feature. Your configuration should now look like the following: {
"embedders": {
"default": {
"source": "rest",
"url": "http://10.8.2.70:7005/v1/embeddings",
"dimensions": 1024,
"documentTemplate": "标题:{{doc.title}};工艺描述:{{doc.step_content}}",
"request": {
"model": "host-bge-large-zh-v1.5",
"input": ["{{text}}", "{{..}}"]
},
"response": {
"data": [
{
"embedding": "{{embedding}}"
},
"{{..}}"
]
}
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
After upgrading Meilisearch from version 1.9 to 1.11, I'm encountering errors when configuring the custom embedder. Below is my previous request configuration that worked in version 1.9:
In the latest documentation, I noticed that the rest source no longer supports the model configuration, and it seems that both request and response configurations are now mandatory.
I'm using Xinference as my local service for embeddings. Xinference is compatible with OpenAI in some aspects.
I have a few questions:
I couldn't find detailed explanations or configurations for these parameters in the documentation. Could you please provide guidance on how to configure the custom embedder in the current version? Additionally, is there detailed blog available for these configurations?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions