Function runMlDeploymentAliaseRealtimePredictions

  • Generate predictions in a synchronous request/response

    Parameters

    • deploymentId: string

      ID of the deployment

    • aliasName: string

      The name of the ML Deployment Alias that will be used to determine which model should be used to produce predictions

    • query: {
          includeNotPredictedReason?: boolean;
          includeShap?: boolean;
          includeSource?: boolean;
          index?: string;
      }

      an object with query parameters

      • OptionalincludeNotPredictedReason?: boolean

        If true, reason why a prediction was not produced included response

      • OptionalincludeShap?: boolean

        If true, shap values included in response

      • OptionalincludeSource?: boolean

        If true, source data included in response

      • Optionalindex?: string

        The name of the feature in the source data to use as an index in the response data. The column will be included with its original name and values. This is intended to allow the caller to join results with source data.

    • body: RealtimePredictionInput

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<RunMlDeploymentAliaseRealtimePredictionsHttpResponse>

    RunMlDeploymentAliaseRealtimePredictionsHttpError