File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
specification/ingest/_types Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1044,6 +1044,24 @@ export class InferenceProcessor extends ProcessorBase {
10441044 * Contains the inference type and its options.
10451045 */
10461046 inference_config ?: InferenceConfig
1047+
1048+ /**
1049+ * Input fields for inference and output (destination) fields for the inference results.
1050+ * This option is incompatible with the target_field and field_map options.
1051+ */
1052+ input_output ?: InputConfig [ ]
1053+
1054+ /**
1055+ * If true and any of the input fields defined in input_ouput are missing
1056+ * then those missing fields are quietly ignored, otherwise a missing field causes a failure.
1057+ * Only applies when using input_output configurations to explicitly list the input fields.
1058+ */
1059+ ignore_missing ?: boolean
1060+ }
1061+
1062+ export class InputConfig {
1063+ input_field : string
1064+ output_field : string
10471065}
10481066
10491067/**
You can’t perform that action at this time.
0 commit comments