{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "sub_types", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "AIScoringModelDefinition - Metadata API", "description": "Represents information about a machine learning model that’s used by the Scoring Framework for Industries Cloud Einstein. The machine learning model is used for scoring, including its configuration.", "file_information": ".aiScoringModelDefinition", "directory_location": "aiScoringModelDefinitions", "fields_columns": [ "type", "required", "description" ], "fields": { "aiModelConfig": { "type": "string", "required": true, "description": "ID of an AI model configuration related to the AI scoring model record." }, "aiScoringModelDefVersions": { "type": "AIScoringModelDefVersion[]", "description": "Represents information of various versions of a model." }, "description": { "type": "string", "description": "Description for an AIScoringModelDefinition record." }, "masterLabel": { "type": "string", "required": true, "description": "A user-friendly name for the AIScoringModelDefinition metadata component, which is defined when the AIScoringModelDefinition metadata component is created." } }, "sub_types": { "AIScoringModelDefVersion": { "aiScoringModelDefinition": { "type": "string", "required": true, "description": "Parent AIScoringModelDefinition record that’s related to an AIScoringModelDefVersion record." }, "aiScoringSteps": { "type": "AIScoringStep[]", "description": "Represents information about a step associated with an AI scoring model version." }, "developerName": { "type": "string", "required": true, "description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is Record Type Name." }, "masterLabel": { "type": "string", "required": true, "description": "A user-friendly name for the AIScoringModelDefVersion component name, which is defined when the AIScoringModelDefVersion component name is created." }, "modelMode": { "type": "AIScoringModelDefVersionMode (enumeration of type string)", "required": true, "description": "Mode of an AI scoring model.Values are: DEPLOY TRAIN TRAIN_AND_DEPLOY" } }, "AIScoringStep": { "aiModelConfigStep": { "type": "string", "required": true, "description": "ID of the AI model config step that’s related to the AIScoringStep record." }, "stepDetail": { "type": "string", "description": "Scoring step details in JSON format." } } }, "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n\n```", "declarative_metadata_sample_definition": [ { "description": "Here’s an example of an AIScoringModelDefinition component.", "code": "\n\n Prediction_Scores_for_Accounts\n \n V1\n Test\n \n Prediction_Scores_for_Accounts.GrainSelector\n {label:Account,name:Account}\n \n \n Prediction_Scores_for_Accounts.AugmentedDataset\n \n \n Prediction_Scores_for_Accounts.TargetConditionBuilder\n {specificOutcomeDefined:Yes,label:Financial accounts are associated with an account,name:FA_Target}\n \n \n Prediction_Scores_for_Accounts.InputVariableSelector\n \n \n Prediction_Scores_for_Accounts.CustomFilter\n \n \n Prediction_Scores_for_Accounts.WriteBackConnector\n \n V1\n V1\n TRAIN_AND_DEPLOY\n \n Test for metadata\n Test\n" } ] }