From ecc7c1ee76968137657581df52ce94c3da1e85fb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 23 Nov 2023 16:13:36 +0000 Subject: [PATCH] Update Schema for main --- .../haystack-pipeline-main.schema.json | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/json-schema/haystack-pipeline-main.schema.json b/json-schema/haystack-pipeline-main.schema.json index f421c35..97c3d6f 100644 --- a/json-schema/haystack-pipeline-main.schema.json +++ b/json-schema/haystack-pipeline-main.schema.json @@ -139,6 +139,9 @@ { "$ref": "#/definitions/ParsrConverterComponent" }, + { + "$ref": "#/definitions/PptxConverterComponent" + }, { "$ref": "#/definitions/PreProcessorComponent" }, @@ -4649,6 +4652,73 @@ ], "additionalProperties": false }, + "PptxConverterComponent": { + "type": "object", + "properties": { + "name": { + "title": "Name", + "description": "Custom name for the component. Helpful for visualization and debugging.", + "type": "string" + }, + "type": { + "title": "Type", + "description": "Haystack Class name for the component.", + "type": "string", + "const": "PptxConverter" + }, + "params": { + "title": "Parameters", + "type": "object", + "properties": { + "remove_numeric_tables": { + "title": "Remove Numeric Tables", + "default": false, + "type": "boolean" + }, + "valid_languages": { + "title": "Valid Languages", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "id_hash_keys": { + "title": "Id Hash Keys", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, + "progress_bar": { + "title": "Progress Bar", + "default": true, + "type": "boolean" + } + }, + "additionalProperties": false, + "description": "Each parameter can reference other components defined in the same YAML file." + } + }, + "required": [ + "type", + "name" + ], + "additionalProperties": false + }, "PreProcessorComponent": { "type": "object", "properties": {