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 @@ -1043,6 +1043,24 @@ export class InferenceProcessor extends ProcessorBase {
10431043 * Contains the inference type and its options.
10441044 */
10451045 inference_config ?: InferenceConfig
1046+
1047+ /**
1048+ * Input fields for inference and output (destination) fields for the inference results.
1049+ * This option is incompatible with the target_field and field_map options.
1050+ */
1051+ input_output ?: InputConfig [ ]
1052+
1053+ /**
1054+ * If true and any of the input fields defined in input_ouput are missing
1055+ * then those missing fields are quietly ignored, otherwise a missing field causes a failure.
1056+ * Only applies when using input_output configurations to explicitly list the input fields.
1057+ */
1058+ ignore_missing ?: boolean
1059+ }
1060+
1061+ export class InputConfig {
1062+ input_field : string
1063+ output_field : string
10461064}
10471065
10481066/**
You can’t perform that action at this time.
0 commit comments