diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metaPilotAppConfig.json b/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metaPilotAppConfig.json index 4ac75978557..84c4f6cac4f 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metaPilotAppConfig.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/external/metaPilotAppConfig.json @@ -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