Class: Aws::QConnect::Types::CreateAIGuardrailRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::QConnect::Types::CreateAIGuardrailRequest
- Defined in:
- gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:blocked_input_messaging, :blocked_outputs_messaging, :description]
Instance Attribute Summary collapse
-
#assistant_id ⇒ String
The identifier of the Amazon Q in Connect assistant.
-
#blocked_input_messaging ⇒ String
The message to return when the AI Guardrail blocks a prompt.
-
#blocked_outputs_messaging ⇒ String
The message to return when the AI Guardrail blocks a model response.
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#content_policy_config ⇒ Types::AIGuardrailContentPolicyConfig
The content filter policies to configure for the AI Guardrail.
-
#contextual_grounding_policy_config ⇒ Types::AIGuardrailContextualGroundingPolicyConfig
The contextual grounding policy configuration used to create an AI Guardrail.
-
#description ⇒ String
A description of the AI Guardrail.
-
#name ⇒ String
The name of the AI Guardrail.
-
#sensitive_information_policy_config ⇒ Types::AIGuardrailSensitiveInformationPolicyConfig
The sensitive information policy to configure for the AI Guardrail.
-
#tags ⇒ Hash<String,String>
The tags used to organize, track, or control access for this resource.
-
#topic_policy_config ⇒ Types::AIGuardrailTopicPolicyConfig
The topic policies to configure for the AI Guardrail.
-
#visibility_status ⇒ String
The visibility status of the AI Guardrail.
-
#word_policy_config ⇒ Types::AIGuardrailWordPolicyConfig
The word policy you configure for the AI Guardrail.
Instance Attribute Details
#assistant_id ⇒ String
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#blocked_input_messaging ⇒ String
The message to return when the AI Guardrail blocks a prompt.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#blocked_outputs_messaging ⇒ String
The message to return when the AI Guardrail blocks a model response.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
A suitable default value is auto-generated. You should normally not need to pass this option.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#content_policy_config ⇒ Types::AIGuardrailContentPolicyConfig
The content filter policies to configure for the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#contextual_grounding_policy_config ⇒ Types::AIGuardrailContextualGroundingPolicyConfig
The contextual grounding policy configuration used to create an AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#description ⇒ String
A description of the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#name ⇒ String
The name of the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#sensitive_information_policy_config ⇒ Types::AIGuardrailSensitiveInformationPolicyConfig
The sensitive information policy to configure for the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags used to organize, track, or control access for this resource.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#topic_policy_config ⇒ Types::AIGuardrailTopicPolicyConfig
The topic policies to configure for the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#visibility_status ⇒ String
The visibility status of the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |
#word_policy_config ⇒ Types::AIGuardrailWordPolicyConfig
The word policy you configure for the AI Guardrail.
2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 |
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 2642 class CreateAIGuardrailRequest < Struct.new( :client_token, :assistant_id, :name, :blocked_input_messaging, :blocked_outputs_messaging, :visibility_status, :description, :topic_policy_config, :content_policy_config, :word_policy_config, :sensitive_information_policy_config, :contextual_grounding_policy_config, :tags) SENSITIVE = [:blocked_input_messaging, :blocked_outputs_messaging, :description] include Aws::Structure end |