Module Smaws_Client_SageMaker.CreateJob

Creates a model customization job in Amazon SageMaker. A job runs a workload based on the job category and configuration you provide. You specify the job category, a schema-versioned configuration document, and an IAM role that grants Amazon SageMaker permission to access resources on your behalf.

Use the AgentRFT category to fine-tune a model using multi-turn reinforcement learning with reward signals. Use the AgentRFTEvaluation category to evaluate a fine-tuned or base model by running multi-turn rollouts against a held-out prompt dataset and computing metrics such as pass@k and mean reward.

Before creating a job, call ListJobSchemaVersions and DescribeJobSchemaVersion to retrieve the configuration schema for your job category. The JobConfigDocument must conform to the schema specified by JobConfigSchemaVersion.

The following operations are related to CreateJob:

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ResourceInUse of Types.resource_in_use | `ResourceLimitExceeded of Types.resource_limit_exceeded | `ResourceNotFound of Types.resource_not_found ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_job_request -> (Types.create_job_response, [> Smaws_Lib.Protocols.AwsJson.error | `ResourceInUse of Types.resource_in_use | `ResourceLimitExceeded of Types.resource_limit_exceeded | `ResourceNotFound of Types.resource_not_found ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_job_request -> (Types.create_job_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ResourceInUse of Types.resource_in_use | `ResourceLimitExceeded of Types.resource_limit_exceeded | `ResourceNotFound of Types.resource_not_found ] * Smaws_Lib.Response.metadata) Stdlib.result