Infer model Text embedding in Java

Hi there,

Is there any document or instruction on how to use the machine learning api in java?

For example, how can I convert this query into java

POST /_ml/trained_models/My_model/_infer
  "docs": {
    "text_field": "xxxx"

If the functionality is not available in the existing Java SDK/Libraries, you can achieve the same result by making API calls to that endpoint.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.