Skip to content
v2.273.0

SelfServiceAIAgentConfigurationProperty Struct ​

The configuration of the self-service AI agent.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const selfServiceAIAgentConfigurationProperty: wisdom.CfnAIAgent.SelfServiceAIAgentConfigurationProperty = {
  associationConfigurations: [{
    associationConfigurationData: {
      knowledgeBaseAssociationConfigurationData: {
        contentTagFilter: {
          andConditions: [{
            key: 'key',

            // the properties below are optional
            value: 'value',
          }],
          orConditions: [{
            andConditions: [{
              key: 'key',

              // the properties below are optional
              value: 'value',
            }],
            tagCondition: {
              key: 'key',

              // the properties below are optional
              value: 'value',
            },
          }],
          tagCondition: {
            key: 'key',

            // the properties below are optional
            value: 'value',
          },
        },
        maxResults: 123,
        overrideKnowledgeBaseSearchType: 'overrideKnowledgeBaseSearchType',
      },
    },
    associationId: 'associationId',
    associationType: 'associationType',
  }],
  selfServiceAiGuardrailId: 'selfServiceAiGuardrailId',
  selfServiceAnswerGenerationAiPromptId: 'selfServiceAnswerGenerationAiPromptId',
  selfServicePreProcessingAiPromptId: 'selfServicePreProcessingAiPromptId',
};

Properties ​

associationConfigurationsIResolvable | IResolvable | CfnAIAgent.AssociationConfigurationProperty[]association_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AssociationConfigurationProperty]]]associationConfigurationsIResolvableAssociationConfigurationsIResolvableAssociationConfigurationsinterface{}#
The association configuration of the self-service AI agent.
selfServiceAiGuardrailIdstringself_service_ai_guardrail_idstrselfServiceAiGuardrailIdStringSelfServiceAiGuardrailIdstringSelfServiceAiGuardrailId*string#
The ID of the self-service AI guardrail.
selfServiceAnswerGenerationAiPromptIdstringself_service_answer_generation_ai_prompt_idstrselfServiceAnswerGenerationAiPromptIdStringSelfServiceAnswerGenerationAiPromptIdstringSelfServiceAnswerGenerationAiPromptId*string#
The ID of the self-service answer generation AI prompt.
selfServicePreProcessingAiPromptIdstringself_service_pre_processing_ai_prompt_idstrselfServicePreProcessingAiPromptIdStringSelfServicePreProcessingAiPromptIdstringSelfServicePreProcessingAiPromptId*string#
The ID of the self-service preprocessing AI prompt.