Class: Aws::BedrockRuntime::Types::GuardrailContextualGroundingFilter
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockRuntime::Types::GuardrailContextualGroundingFilter
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrockruntime/types.rb
Overview
The details for the guardrails contextual grounding filter.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action performed by the guardrails contextual grounding filter.
-
#score ⇒ Float
The score generated by contextual grounding filter.
-
#threshold ⇒ Float
The threshold used by contextual grounding filter to determine whether the content is grounded or not.
-
#type ⇒ String
The contextual grounding filter type.
Instance Attribute Details
#action ⇒ String
The action performed by the guardrails contextual grounding filter.
1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1210 class GuardrailContextualGroundingFilter < Struct.new( :type, :threshold, :score, :action) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
The score generated by contextual grounding filter.
1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1210 class GuardrailContextualGroundingFilter < Struct.new( :type, :threshold, :score, :action) SENSITIVE = [] include Aws::Structure end |
#threshold ⇒ Float
The threshold used by contextual grounding filter to determine whether the content is grounded or not.
1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1210 class GuardrailContextualGroundingFilter < Struct.new( :type, :threshold, :score, :action) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The contextual grounding filter type.
1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/aws-sdk-bedrockruntime/types.rb', line 1210 class GuardrailContextualGroundingFilter < Struct.new( :type, :threshold, :score, :action) SENSITIVE = [] include Aws::Structure end |