EmailGenerativeAnswerAIAgentConfigurationProperty Struct
Configuration settings for the EMAIL_GENERATIVE_ANSWER AI agent including prompts, locale, and knowledge base associations.
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 emailGenerativeAnswerAIAgentConfigurationProperty: wisdom.CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty = {
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',
}],
emailGenerativeAnswerAiPromptId: 'emailGenerativeAnswerAiPromptId',
emailQueryReformulationAiPromptId: 'emailQueryReformulationAiPromptId',
locale: 'locale',
};
Properties
associationConfigurationsIResolvable | IResolvable | CfnAIAgent.AssociationConfigurationProperty[]association_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AssociationConfigurationProperty]]]associationConfigurationsIResolvableAssociationConfigurationsIResolvableAssociationConfigurationsinterface{}#Configuration settings for knowledge base associations used by the email generative answer agent.
emailGenerativeAnswerAiPromptIdstringemail_generative_answer_ai_prompt_idstremailGenerativeAnswerAiPromptIdStringEmailGenerativeAnswerAiPromptIdstringEmailGenerativeAnswerAiPromptId*string#The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.
emailQueryReformulationAiPromptIdstringemail_query_reformulation_ai_prompt_idstremailQueryReformulationAiPromptIdStringEmailQueryReformulationAiPromptIdstringEmailQueryReformulationAiPromptId*string#The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.
The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).