Class: Aws::Bedrock::Types::GuardrailTopic
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::GuardrailTopic
- Defined in:
- gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
Overview
Details about topics for the guardrail to identify and deny.
This data type is used in the following API operations:
^
Constant Summary collapse
- SENSITIVE =
[:name, :definition, :examples]
Instance Attribute Summary collapse
-
#definition ⇒ String
A definition of the topic to deny.
-
#examples ⇒ Array<String>
A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.
-
#name ⇒ String
The name of the topic to deny.
-
#type ⇒ String
Specifies to deny the topic.
Instance Attribute Details
#definition ⇒ String
A definition of the topic to deny.
3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3177 class GuardrailTopic < Struct.new( :name, :definition, :examples, :type) SENSITIVE = [:name, :definition, :examples] include Aws::Structure end |
#examples ⇒ Array<String>
A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.
3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3177 class GuardrailTopic < Struct.new( :name, :definition, :examples, :type) SENSITIVE = [:name, :definition, :examples] include Aws::Structure end |
#name ⇒ String
The name of the topic to deny.
3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3177 class GuardrailTopic < Struct.new( :name, :definition, :examples, :type) SENSITIVE = [:name, :definition, :examples] include Aws::Structure end |
#type ⇒ String
Specifies to deny the topic.
3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 3177 class GuardrailTopic < Struct.new( :name, :definition, :examples, :type) SENSITIVE = [:name, :definition, :examples] include Aws::Structure end |