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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/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.



1147
1148
1149
1150
1151
1152
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1147

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)


1147
1148
1149
1150
1151
1152
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1147

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