Class: Aws::Bedrock::Types::EvaluationDataset

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:name]

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_locationTypes::EvaluationDatasetLocation

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



1365
1366
1367
1368
1369
1370
# File 'lib/aws-sdk-bedrock/types.rb', line 1365

class EvaluationDataset < Struct.new(
  :name,
  :dataset_location)
  SENSITIVE = [:name]
  include Aws::Structure
end

#nameString

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`.

Returns:

  • (String)


1365
1366
1367
1368
1369
1370
# File 'lib/aws-sdk-bedrock/types.rb', line 1365

class EvaluationDataset < Struct.new(
  :name,
  :dataset_location)
  SENSITIVE = [:name]
  include Aws::Structure
end