Class: Aws::Bedrock::Types::EvaluationBedrockModel

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

Overview

Contains the ARN of the Amazon Bedrock model or [inference profile] specified in your evaluation job. Each Amazon Bedrock model supports different ‘inferenceParams`. To learn more about supported inference parameters for Amazon Bedrock models, see [Inference parameters for foundation models].

The ‘inferenceParams` are specified using JSON. To successfully insert JSON as string make sure that all quotations are properly escaped. For example, `“temperature”:“0.25”` key value pair would need to be formatted as `“temperature”:“0.25”` to successfully accepted in the request.

[1]: docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html [2]: docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html

Constant Summary collapse

SENSITIVE =
[:inference_params]

Instance Attribute Summary collapse

Instance Attribute Details

#inference_paramsString

Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.

Returns:

  • (String)


4269
4270
4271
4272
4273
4274
4275
# File 'lib/aws-sdk-bedrock/types.rb', line 4269

class EvaluationBedrockModel < Struct.new(
  :model_identifier,
  :inference_params,
  :performance_config)
  SENSITIVE = [:inference_params]
  include Aws::Structure
end

#model_identifierString

The ARN of the Amazon Bedrock model or inference profile specified.

Returns:

  • (String)


4269
4270
4271
4272
4273
4274
4275
# File 'lib/aws-sdk-bedrock/types.rb', line 4269

class EvaluationBedrockModel < Struct.new(
  :model_identifier,
  :inference_params,
  :performance_config)
  SENSITIVE = [:inference_params]
  include Aws::Structure
end

#performance_configTypes::PerformanceConfiguration

Specifies performance settings for the model or inference profile.



4269
4270
4271
4272
4273
4274
4275
# File 'lib/aws-sdk-bedrock/types.rb', line 4269

class EvaluationBedrockModel < Struct.new(
  :model_identifier,
  :inference_params,
  :performance_config)
  SENSITIVE = [:inference_params]
  include Aws::Structure
end