LeaderboardCustomerModelConfig
¶
Source code in docs_src/capo_sagemaker/types/leaderboard_customer_model_config.py
dataset_arn
instance-attribute
¶
dataset_arn: NotRequired[LeaderboardDatasetArn]
The dataset the candidate was evaluated on: the ARN of a SageMaker hub content DataSet, or the S3 URI of the dataset. Optional.
dimensions
instance-attribute
¶
dimensions: NotRequired[LeaderboardCandidateDimensionList]
Additional key-value pairs that define the candidate, such as the retrieval-augmented generation (RAG) Knowledge Base, RAG prompt template, and RAG number of results. Dimensions are part of the candidate's identity: two candidates that differ only in their dimensions are distinct candidates. Each key can appear at most once.
eval_criteria_arn
instance-attribute
¶
eval_criteria_arn: NotRequired[LeaderboardEvalCriteriaArn]
The ARN of the evaluation criteria that the candidate was evaluated with. Specify the ARN of a SageMaker hub content document of type JsonDoc, optionally with its version, for example arn:aws:sagemaker:aa-example-3:111122223333:hub-content/my-hub/JsonDoc/my-criteria/1.0.0. For content in a public hub, the account is aws.
model_ref
instance-attribute
¶
model_ref: NotRequired[LeaderboardModelRef]
A reference to the model that was evaluated, such as the ARN of a SageMaker model package or a model identifier.
prompt_template_arn
instance-attribute
¶
prompt_template_arn: NotRequired[LeaderboardPromptTemplateArn]
The Amazon Resource Name (ARN) of the prompt template that you use with the model. Optional. Specify the ARN of a SageMaker hub content document or of an Amazon Bedrock prompt, such as a prompt version ARN.