MINOR - Metapilot automator config (#18165)

* Prep config

* MINOR - MetaPilot config

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
Pere Miquel Brull 2024-10-23 12:10:45 +02:00
parent 517e6ea0cc
commit 37e75c542a
2 changed files with 7 additions and 31 deletions

View File

@ -11,7 +11,8 @@
"type": "string",
"enum": [
"status",
"limits"
"limits",
"custom"
]
}
},

View File

@ -20,42 +20,17 @@
"$ref": "#/definitions/metaPilotAppType",
"default": "MetaPilot"
},
"descriptionDatabases": {
"title": "Databases for Automated Description Generation",
"description": "Services and Databases configured to get the descriptions from.",
"type": "array",
"items": {
"placeholder": "Search Databases",
"$ref": "../../../../type/entityReference.json",
"format": "autoComplete",
"autoCompleteType": "database_search_index"
}
"queryFilter": {
"description": "Query filter to be passed to ES. E.g., `{\"query\":{\"bool\":{\"must\":[{\"bool\":{\"should\":[{\"term\":{\"domain.displayName.keyword\":\"DG Anim\"}}]}}]}}}`. This is the same payload as in the Explore page.",
"type": "string"
},
"patchIfEmpty": {
"title": "Patch Description If Empty",
"description": "Patch the description if it is empty, instead of raising a suggestion",
"type": "boolean",
"default": false
},
"copilotDatabases": {
"title": "Databases for SQL Copilot",
"description": "Services and Databases configured to get enable the SQL Copilot.",
"type": "array",
"items": {
"placeholder": "Search Databases",
"$ref": "../../../../type/entityReference.json",
"format": "autoComplete",
"autoCompleteType": "database_search_index"
}
},
"defaultScope": {
"title": "Default Chatbot Database Scope",
"description": "Default database scope for the chatbot.",
"$ref": "../../../../type/entityReference.json",
"format": "autoComplete",
"autoCompleteType": "database_search_index",
"placeholder": "Search Databases"
}
},
"additionalProperties": false
"additionalProperties": false,
"required": ["queryFilter"]
}