You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows the search response/request processors to handle customized parametrized local models.
However Ingest processors have no way of having this field meaning you can not ingest documents using a model that requires parametrized arguments such as local asymmetric embedding model . The fix would be to have a contentRegistry within the ingestService class
as well as configuring the Ingest processor Parameters class to have a xcontentRegistry just how the search response/request processors have the field.
After checking the original issue in ml-commons plugin and the code, I think it makes sense that we add a construction parameter xContentRegistry to IngestService.
Please describe the end goal of this project
Currently search pipelines is able to pass xContentRegistry
OpenSearch/server/src/main/java/org/opensearch/node/Node.java
Lines 1311 to 1320 in 35c366d
This allows the search response/request processors to handle customized parametrized local models.
However Ingest processors have no way of having this field meaning you can not ingest documents using a model that requires parametrized arguments such as local asymmetric embedding model . The fix would be to have a contentRegistry within the ingestService class
OpenSearch/server/src/main/java/org/opensearch/node/Node.java
Lines 937 to 946 in 35c366d
as well as configuring the Ingest processor Parameters class to have a xcontentRegistry just how the search response/request processors have the field.
Supporting References
Taken from my comment
Action Items in this change
Issues
Related component
Plugins
The text was updated successfully, but these errors were encountered: