Create a trained model vocabulary

  • PUT /_ml/trained_models/{model_id}/vocabulary

This API is supported only for natural language processing (NLP) models. The vocabulary is stored in the index as described in inference_config.*.vocabulary of the trained model definition.

  • Cluster privileges: manage_ml

Path Parameters

model_id string Id required

The unique identifier of the trained model.

Response