Module Values.CreateEvaluationJobRequestSource

Creates an evaluation job.

Sourcetype nonrec t = {
  1. jobName : EvaluationJobName.t;
    (*

    A name for the evaluation job. Names must unique with your Amazon Web Services account, and your account's Amazon Web Services region.

    *)
  2. jobDescription : EvaluationJobDescription.t option;
    (*

    A description of the evaluation job.

    *)
  3. clientRequestToken : IdempotencyToken.t option;
    (*

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

    *)
  4. roleArn : RoleArn.t;
    (*

    The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. To learn more about the required permissions, see Required permissions for model evaluations.

    *)
  5. customerEncryptionKeyId : KmsKeyId.t option;
    (*

    Specify your customer managed encryption key Amazon Resource Name (ARN) that will be used to encrypt your evaluation job.

    *)
  6. jobTags : TagList.t option;
    (*

    Tags to attach to the model evaluation job.

    *)
  7. applicationType : ApplicationType.t option;
    (*

    Specifies whether the evaluation job is for evaluating a model or evaluating a knowledge base (retrieval and response generation).

    *)
  8. evaluationConfig : EvaluationConfig.t;
    (*

    Contains the configuration details of either an automated or human-based evaluation job.

    *)
  9. inferenceConfig : EvaluationInferenceConfig.t;
    (*

    Contains the configuration details of the inference model for the evaluation job. For model evaluation jobs, automated jobs support a single model or inference profile, and jobs that use human workers support two models or inference profiles.

    *)
  10. outputDataConfig : EvaluationOutputDataConfig.t;
    (*

    Contains the configuration details of the Amazon S3 bucket for storing the results of the evaluation job.

    *)
}
Sourceval context_ : string
Sourceval make : ?jobDescription:??? -> ?clientRequestToken:??? -> ?customerEncryptionKeyId:??? -> ?jobTags:??? -> ?applicationType:??? -> jobName:EvaluationJobName.t -> roleArn:RoleArn.t -> evaluationConfig:EvaluationConfig.t -> inferenceConfig:EvaluationInferenceConfig.t -> outputDataConfig:EvaluationOutputDataConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of EvaluationJobName.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `String of EvaluationBedrockModelIdentifier.t | `Structure of (string * [> `Enum of string | `String of KnowledgeBaseId.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Blob of ByteContentBlob.t | `String of KBS3Uri.t ]) list ]) list ] list | `String of KnowledgeBaseId.t | `Structure of (string * Awso.Botodata.value) list ]) list ]) list ]) list ]) list ] list | `String of S3Uri.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of EvaluationMetricName.t ] list | `String of EvaluationMetricName.t | `Structure of (string * [> `String of EvaluationDatasetName.t | `Structure of (string * [> `String of S3Uri.t ]) list ]) list ]) list ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of EvaluatorModelIdentifier.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of RatingScaleItemDefinition.t | `Structure of (string * [> `Float of Float_.t | `String of RatingScaleItemValueStringValueString.t ]) list ]) list ] list | `String of MetricName.t ]) list ]) list ] list | `String of SageMakerFlowDefinitionArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of EvaluatorModelIdentifier.t ]) list ] list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t