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
associationConfigurationsoptionalIResolvable | IResolvable | CfnAIAgent.AssociationConfigurationProperty[]association_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AssociationConfigurationProperty]]]associationConfigurationsoptionalIResolvableAssociationConfigurationsoptionalIResolvableAssociationConfigurationsoptionalinterface{}#The association configuration of the self-service AI agent.
selfServiceAiGuardrailIdoptionalstringself_service_ai_guardrail_idoptionalstrselfServiceAiGuardrailIdoptionalStringSelfServiceAiGuardrailIdoptionalstringSelfServiceAiGuardrailIdoptional*string#The ID of the self-service AI guardrail.
selfServiceAnswerGenerationAiPromptIdoptionalstringself_service_answer_generation_ai_prompt_idoptionalstrselfServiceAnswerGenerationAiPromptIdoptionalStringSelfServiceAnswerGenerationAiPromptIdoptionalstringSelfServiceAnswerGenerationAiPromptIdoptional*string#The ID of the self-service answer generation AI prompt.
selfServicePreProcessingAiPromptIdoptionalstringself_service_pre_processing_ai_prompt_idoptionalstrselfServicePreProcessingAiPromptIdoptionalStringSelfServicePreProcessingAiPromptIdoptionalstringSelfServicePreProcessingAiPromptIdoptional*string#The ID of the self-service preprocessing AI prompt.