Class: Aws::BedrockRuntime::Types::GuardrailContentFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb

Overview

The content filter for a guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ String

The guardrail action.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2778

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#confidence ⇒ String

The guardrail confidence.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2778

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#detected ⇒ Boolean

Indicates whether content that breaches the guardrail configuration is detected.

Returns:

  • (Boolean)


2778
2779
2780
2781
2782
2783
2784
2785
2786
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2778

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#filter_strength ⇒ String

The filter strength setting for the guardrail content filter.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2778

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The guardrail type.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
# File 'gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/types.rb', line 2778

class GuardrailContentFilter < Struct.new(
  :type,
  :confidence,
  :filter_strength,
  :action,
  :detected)
  SENSITIVE = []
  include Aws::Structure
end