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.



720
721
722
723
724
725
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 720

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)


720
721
722
723
724
725
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 720

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