Class AzureMachineLearningSkill


  • public final class AzureMachineLearningSkill
    extends SearchIndexerSkill
    The AML skill allows you to extend AI enrichment with a custom Azure Machine Learning (AML) model. Once an AML model is trained and deployed, an AML skill integrates it into AI enrichment.
    • Constructor Detail

      • AzureMachineLearningSkill

        public AzureMachineLearningSkill​(List<InputFieldMappingEntry> inputs,
                                         List<OutputFieldMappingEntry> outputs)
        Creates an instance of AzureMachineLearningSkill class.
        Parameters:
        inputs - the inputs value to set.
        outputs - the outputs value to set.
    • Method Detail

      • getOdataType

        public String getOdataType()
        Get the odataType property: Identifies the concrete type of the skill.
        Returns:
        the odataType value.
      • getScoringUri

        public String getScoringUri()
        Get the scoringUri property: (Required for no authentication or key authentication) The scoring URI of the AML service to which the JSON payload will be sent. Only the https URI scheme is allowed.
        Returns:
        the scoringUri value.
      • setScoringUri

        public AzureMachineLearningSkill setScoringUri​(String scoringUri)
        Set the scoringUri property: (Required for no authentication or key authentication) The scoring URI of the AML service to which the JSON payload will be sent. Only the https URI scheme is allowed.
        Parameters:
        scoringUri - the scoringUri value to set.
        Returns:
        the AzureMachineLearningSkill object itself.
      • getAuthenticationKey

        public String getAuthenticationKey()
        Get the authenticationKey property: (Required for key authentication) The key for the AML service.
        Returns:
        the authenticationKey value.
      • setAuthenticationKey

        public AzureMachineLearningSkill setAuthenticationKey​(String authenticationKey)
        Set the authenticationKey property: (Required for key authentication) The key for the AML service.
        Parameters:
        authenticationKey - the authenticationKey value to set.
        Returns:
        the AzureMachineLearningSkill object itself.
      • getResourceId

        public String getResourceId()
        Get the resourceId property: (Required for token authentication). The Azure Resource Manager resource ID of the AML service. It should be in the format subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.MachineLearningServices/workspaces/{workspace-name}/services/{service_name}.
        Returns:
        the resourceId value.
      • setResourceId

        public AzureMachineLearningSkill setResourceId​(String resourceId)
        Set the resourceId property: (Required for token authentication). The Azure Resource Manager resource ID of the AML service. It should be in the format subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.MachineLearningServices/workspaces/{workspace-name}/services/{service_name}.
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the AzureMachineLearningSkill object itself.
      • getTimeout

        public Duration getTimeout()
        Get the timeout property: (Optional) When specified, indicates the timeout for the http client making the API call.
        Returns:
        the timeout value.
      • setTimeout

        public AzureMachineLearningSkill setTimeout​(Duration timeout)
        Set the timeout property: (Optional) When specified, indicates the timeout for the http client making the API call.
        Parameters:
        timeout - the timeout value to set.
        Returns:
        the AzureMachineLearningSkill object itself.
      • getRegion

        public String getRegion()
        Get the region property: (Optional for token authentication). The region the AML service is deployed in.
        Returns:
        the region value.
      • setRegion

        public AzureMachineLearningSkill setRegion​(String region)
        Set the region property: (Optional for token authentication). The region the AML service is deployed in.
        Parameters:
        region - the region value to set.
        Returns:
        the AzureMachineLearningSkill object itself.
      • getDegreeOfParallelism

        public Integer getDegreeOfParallelism()
        Get the degreeOfParallelism property: (Optional) When specified, indicates the number of calls the indexer will make in parallel to the endpoint you have provided. You can decrease this value if your endpoint is failing under too high of a request load, or raise it if your endpoint is able to accept more requests and you would like an increase in the performance of the indexer. If not set, a default value of 5 is used. The degreeOfParallelism can be set to a maximum of 10 and a minimum of 1.
        Returns:
        the degreeOfParallelism value.
      • setDegreeOfParallelism

        public AzureMachineLearningSkill setDegreeOfParallelism​(Integer degreeOfParallelism)
        Set the degreeOfParallelism property: (Optional) When specified, indicates the number of calls the indexer will make in parallel to the endpoint you have provided. You can decrease this value if your endpoint is failing under too high of a request load, or raise it if your endpoint is able to accept more requests and you would like an increase in the performance of the indexer. If not set, a default value of 5 is used. The degreeOfParallelism can be set to a maximum of 10 and a minimum of 1.
        Parameters:
        degreeOfParallelism - the degreeOfParallelism value to set.
        Returns:
        the AzureMachineLearningSkill object itself.