Skip to content

/AWS1/CL_BDKEVALUATIONDATASET

Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/BDKEVALUATIONDATASETNAME /AWS1/BDKEVALUATIONDATASETNAME

Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.

Optional arguments:

io_datasetlocation TYPE REF TO /AWS1/CL_BDKEVALDATASETLOC /AWS1/CL_BDKEVALDATASETLOC

For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.


Queryable Attributes

name

Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

datasetLocation

For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.

Accessible with the following methods

Method Description
GET_DATASETLOCATION() Getter for DATASETLOCATION