Skip to content

Commit

Permalink
Update Schema for main
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 23, 2023
1 parent ed9899c commit ecc7c1e
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions json-schema/haystack-pipeline-main.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@
{
"$ref": "#/definitions/ParsrConverterComponent"
},
{
"$ref": "#/definitions/PptxConverterComponent"
},
{
"$ref": "#/definitions/PreProcessorComponent"
},
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit ecc7c1e

Please sign in to comment.