|  | @@ -51,6 +51,500 @@ NLP models, the field name is `text_field`. Currently for NLP models, only a
 | 
	
		
			
				|  |  |  single value is allowed. For {dfanalytics} or imported classification or 
 | 
	
		
			
				|  |  |  regression models, more than one value is allowed.
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +//Begin inference_config
 | 
	
		
			
				|  |  | +`inference_config`::
 | 
	
		
			
				|  |  | +(Required, object)
 | 
	
		
			
				|  |  | +The default configuration for inference. This can be: `regression`,
 | 
	
		
			
				|  |  | +`classification`, `fill_mask`, `ner`, `question_answering`, 
 | 
	
		
			
				|  |  | +`text_classification`, `text_embedding` or `zero_shot_classification`.
 | 
	
		
			
				|  |  | +If `regression` or `classification`, it must match the `target_type` of the
 | 
	
		
			
				|  |  | +underlying `definition.trained_model`. If `fill_mask`, `ner`, 
 | 
	
		
			
				|  |  | +`question_answering`, `text_classification`, or `text_embedding`; the 
 | 
	
		
			
				|  |  | +`model_type` must be `pytorch`.
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of `inference_config`
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +====
 | 
	
		
			
				|  |  | +`classification`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +Classification configuration for inference.
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of classification inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`num_top_classes`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-classification-num-top-classes]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`num_top_feature_importance_values`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-classification-num-top-feature-importance-values]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`prediction_field_type`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-classification-prediction-field-type]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`top_classes_results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-classification-top-classes-results-field]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`fill_mask`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-fill-mask]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of fill_mask inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`num_top_classes`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +Number of top predicted tokens to return for replacing the mask token. Defaults to `0`.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`ner`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-ner]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of ner inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`pass_through`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-pass-through]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of pass_through inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`question_answering`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-question-answering]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of question_answering inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`max_answer_length`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +The maximum amount of words in the answer. Defaults to `15`.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`num_top_classes`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +The number the top found answers to return. Defaults to `0`, meaning only the best found answer is returned.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`question`::::
 | 
	
		
			
				|  |  | +(Required, string)
 | 
	
		
			
				|  |  | +The question to use when extracting an answer
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +Recommended to set `max_sequence_length` to `386` with `128` of `span` and set 
 | 
	
		
			
				|  |  | +`truncate` to `none`.
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`regression`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +Regression configuration for inference.
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of regression inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`num_top_feature_importance_values`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-regression-num-top-feature-importance-values]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`text_classification`:::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-text-classification]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of text_classification inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`classification_labels`::::
 | 
	
		
			
				|  |  | +(Optional, string) An array of classification labels.
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`num_top_classes`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +Specifies the number of top class predictions to return. Defaults to all classes (-1).
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`span`::::
 | 
	
		
			
				|  |  | +(Optional, integer)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-span]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`text_embedding`:::
 | 
	
		
			
				|  |  | +(Object, optional)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-text-embedding]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of text_embedding inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`zero_shot_classification`:::
 | 
	
		
			
				|  |  | +(Object, optional)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-zero-shot-classification]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of zero_shot_classification inference
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +`labels`::::
 | 
	
		
			
				|  |  | +(Optional, array)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-zero-shot-classification-labels]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`multi_label`::::
 | 
	
		
			
				|  |  | +(Optional, boolean)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-zero-shot-classification-multi-label]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`results_field`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-results-field]
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +`tokenization`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of tokenization
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +`bert`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-bert]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of bert
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`roberta`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-roberta]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of roberta
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`mpnet`::::
 | 
	
		
			
				|  |  | +(Optional, object)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-mpnet]
 | 
	
		
			
				|  |  | ++
 | 
	
		
			
				|  |  | +.Properties of mpnet
 | 
	
		
			
				|  |  | +[%collapsible%open]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +`truncate`::::
 | 
	
		
			
				|  |  | +(Optional, string)
 | 
	
		
			
				|  |  | +include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=inference-config-nlp-tokenization-truncate]
 | 
	
		
			
				|  |  | +=======
 | 
	
		
			
				|  |  | +======
 | 
	
		
			
				|  |  | +=====
 | 
	
		
			
				|  |  | +====
 | 
	
		
			
				|  |  | +//End of inference_config
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  ////
 | 
	
		
			
				|  |  |  [[infer-trained-model-results]]
 | 
	
		
			
				|  |  |  == {api-response-body-title}
 |