Class: Aws::QConnect::Types::GuardrailTopicConfig

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

Overview

Details about topics for the AI Guardrail to identify and deny.

Constant Summary collapse

SENSITIVE =
[:definition, :examples, :name, :type]

Instance Attribute Summary collapse

Instance Attribute Details

#definitionString

A definition of the topic to deny.

Returns:

  • (String)


5144
5145
5146
5147
5148
5149
5150
5151
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5144

class GuardrailTopicConfig < Struct.new(
  :definition,
  :examples,
  :name,
  :type)
  SENSITIVE = [:definition, :examples, :name, :type]
  include Aws::Structure
end

#examplesArray<String>

A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.

Returns:

  • (Array<String>)


5144
5145
5146
5147
5148
5149
5150
5151
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5144

class GuardrailTopicConfig < Struct.new(
  :definition,
  :examples,
  :name,
  :type)
  SENSITIVE = [:definition, :examples, :name, :type]
  include Aws::Structure
end

#nameString

The name of the topic to deny.

Returns:

  • (String)


5144
5145
5146
5147
5148
5149
5150
5151
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5144

class GuardrailTopicConfig < Struct.new(
  :definition,
  :examples,
  :name,
  :type)
  SENSITIVE = [:definition, :examples, :name, :type]
  include Aws::Structure
end

#typeString

Specifies to deny the topic.

Returns:

  • (String)


5144
5145
5146
5147
5148
5149
5150
5151
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5144

class GuardrailTopicConfig < Struct.new(
  :definition,
  :examples,
  :name,
  :type)
  SENSITIVE = [:definition, :examples, :name, :type]
  include Aws::Structure
end