Interface CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIAgent
@Stability(Stable)
public static interface CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration settings for the EMAIL_GENERATIVE_ANSWER AI agent including prompts, locale, and knowledge base associations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;
EmailGenerativeAnswerAIAgentConfigurationProperty emailGenerativeAnswerAIAgentConfigurationProperty = EmailGenerativeAnswerAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
// the properties below are optional
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.emailGenerativeAnswerAiPromptId("emailGenerativeAnswerAiPromptId")
.emailQueryReformulationAiPromptId("emailQueryReformulationAiPromptId")
.locale("locale")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration settings for knowledge base associations used by the email generative answer agent.default StringThe ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.default StringThe ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.default StringThe locale setting for language-specific email processing and response generation (for example, en_US, es_ES).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssociationConfigurations
Configuration settings for knowledge base associations used by the email generative answer agent.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.AssociationConfigurationProperty>- See Also:
-
getEmailGenerativeAnswerAiPromptId
The ID of the System AI prompt used for generating comprehensive knowledge-based answers from email queries.- See Also:
-
getEmailQueryReformulationAiPromptId
The ID of the System AI prompt used for reformulating email queries to optimize knowledge base search results.- See Also:
-
getLocale
The locale setting for language-specific email processing and response generation (for example, en_US, es_ES).- See Also:
-
builder
@Stability(Stable) static CfnAIAgent.EmailGenerativeAnswerAIAgentConfigurationProperty.Builder builder()
-