mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[DOCS] Fixes indentation in inference processor code snippet (#51252)
This commit is contained in:
parent
6b5b26a595
commit
30d1587ad5
@ -27,7 +27,7 @@ include::common-options.asciidoc[]
|
||||
"model_id": "flight_delay_regression-1571767128603",
|
||||
"target_field": "FlightDelayMin_prediction_infer",
|
||||
"field_mappings": {},
|
||||
"inference_config": {"regression": {}},
|
||||
"inference_config": { "regression": {} },
|
||||
"model_info_field": "ml"
|
||||
}
|
||||
}
|
||||
@ -73,10 +73,10 @@ Specifies the field to which the top classes are written. Defaults to
|
||||
--------------------------------------------------
|
||||
{
|
||||
"inference_config": {
|
||||
“regression”: {
|
||||
“results_field”: “my_regression”
|
||||
"regression": {
|
||||
"results_field": "my_regression"
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
--------------------------------------------------
|
||||
// NOTCONSOLE
|
||||
@ -90,10 +90,10 @@ object.
|
||||
--------------------------------------------------
|
||||
{
|
||||
"inference_config": {
|
||||
“classification”: {
|
||||
“num_top_classes”: 2,
|
||||
“results_field”: “prediction”,
|
||||
“top_classes_results_field”: “probabilities”
|
||||
"classification": {
|
||||
"num_top_classes": 2,
|
||||
"results_field": "prediction",
|
||||
"top_classes_results_field": "probabilities"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user