Hi all,
OS 3.1.0/RHEL 8
I am getting the below error when creating a semantic filed with a remote model.
Error: Failed to transform the mapping for semantic field at content due to Model xxxxxxxxx is a remote text embedding model but model config is not a text embedding config.
Below is how the model is registered.
POST /_plugins/_ml/models/_register
{
“name”: “remote-dense-model”,
“function_name”: “remote”,
“model_group_id”: “1jriBYsBq7EKuKzZX131”,
“description”: “test model”,
“connector_id”: “a1eMb4kBJ1eYAeTMAljY”,
“model_config”: {
“model_type”: “TEXT_EMBEDDING”,
“framework_type”: “HUGGINGFACE_TRANSFORMERS”,
“embedding_dimension”: 768,
“additional_config”: {
“space_type”: “l2”
}
}
}
Thanks
dhrubo
July 31, 2025, 1:54am
2
This is a bug and we have fixed it. But will release the fix in 3.2
main
← bzhangam:bugfix
opened 08:43PM - 07 Jul 25 UTC
### Description
Handle remote dense model properly during mapping transform.
…
### Related Issues
Closes #1426
### Check List
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [] API changes companion pull request [created](https://github.com/opensearch-project/opensearch-api-specification/blob/main/DEVELOPER_GUIDE.md).
- [x] Commits are signed per the DCO using `--signoff`.
- [ ] Public documentation issue/PR [created](https://github.com/opensearch-project/documentation-website/issues/new/choose).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/neural-search/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).