MINOR - MetaPilot updated conf (#15745)

This commit is contained in:
Pere Miquel Brull 2024-03-28 17:18:41 +01:00 committed by GitHub
parent dafbcbd726
commit fc2c909f6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,34 +11,6 @@
"type": "string",
"enum": ["MetaPilot"],
"default": "MetaPilot"
},
"serviceDatabases": {
"title": "Service Databases",
"description": "Choose the service and its databases you want to generate descriptions from.",
"type": "object",
"properties": {
"service": {
"title": "Service Name",
"placeholder": "Search Service",
"description": "Service Name to get descriptions from.",
"$ref": "../../../../type/entityReference.json",
"format": "autoComplete",
"autoCompleteType": "database_service_search_index"
},
"databases": {
"title": "Databases",
"description": "List of database names from the Service to get descriptions from.",
"type": "array",
"items": {
"placeholder": "Search Databases",
"$ref": "../../../../type/entityReference.json",
"format": "autoComplete",
"autoCompleteType": "database_search_index"
}
}
},
"additionalProperties": false,
"required": ["service", "databases"]
}
},
"properties": {
@ -48,13 +20,24 @@
"$ref": "#/definitions/metaPilotAppType",
"default": "MetaPilot"
},
"serviceDatabases": {
"title": "Service Databases",
"descriptionDatabases": {
"title": "Databases for Automated Description Generation",
"description": "Services and Databases configured to get the descriptions from.",
"type": "array",
"items": {
"$ref": "#/definitions/serviceDatabases"
"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