Interface CfnAIAgentPropsMixin.AIAgentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgentPropsMixin.AIAgentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIAgentPropsMixin
@Stability(Stable)
public static interface CfnAIAgentPropsMixin.AIAgentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A typed union that specifies the configuration based on the type of AI Agent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.wisdom.mixins.*;
AIAgentConfigurationProperty aIAgentConfigurationProperty = AIAgentConfigurationProperty.builder()
.answerRecommendationAiAgentConfiguration(AnswerRecommendationAIAgentConfigurationProperty.builder()
.answerGenerationAiGuardrailId("answerGenerationAiGuardrailId")
.answerGenerationAiPromptId("answerGenerationAiPromptId")
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.intentLabelingGenerationAiPromptId("intentLabelingGenerationAiPromptId")
.locale("locale")
.queryReformulationAiPromptId("queryReformulationAiPromptId")
.build())
.emailGenerativeAnswerAiAgentConfiguration(EmailGenerativeAnswerAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.emailGenerativeAnswerAiPromptId("emailGenerativeAnswerAiPromptId")
.emailQueryReformulationAiPromptId("emailQueryReformulationAiPromptId")
.locale("locale")
.build())
.emailOverviewAiAgentConfiguration(EmailOverviewAIAgentConfigurationProperty.builder()
.emailOverviewAiPromptId("emailOverviewAiPromptId")
.locale("locale")
.build())
.emailResponseAiAgentConfiguration(EmailResponseAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.emailQueryReformulationAiPromptId("emailQueryReformulationAiPromptId")
.emailResponseAiPromptId("emailResponseAiPromptId")
.locale("locale")
.build())
.manualSearchAiAgentConfiguration(ManualSearchAIAgentConfigurationProperty.builder()
.answerGenerationAiGuardrailId("answerGenerationAiGuardrailId")
.answerGenerationAiPromptId("answerGenerationAiPromptId")
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.locale("locale")
.build())
.selfServiceAiAgentConfiguration(SelfServiceAIAgentConfigurationProperty.builder()
.associationConfigurations(List.of(AssociationConfigurationProperty.builder()
.associationConfigurationData(AssociationConfigurationDataProperty.builder()
.knowledgeBaseAssociationConfigurationData(KnowledgeBaseAssociationConfigurationDataProperty.builder()
.contentTagFilter(TagFilterProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.orConditions(List.of(OrConditionProperty.builder()
.andConditions(List.of(TagConditionProperty.builder()
.key("key")
.value("value")
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build()))
.tagCondition(TagConditionProperty.builder()
.key("key")
.value("value")
.build())
.build())
.maxResults(123)
.overrideKnowledgeBaseSearchType("overrideKnowledgeBaseSearchType")
.build())
.build())
.associationId("associationId")
.associationType("associationType")
.build()))
.selfServiceAiGuardrailId("selfServiceAiGuardrailId")
.selfServiceAnswerGenerationAiPromptId("selfServiceAnswerGenerationAiPromptId")
.selfServicePreProcessingAiPromptId("selfServicePreProcessingAiPromptId")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIAgentPropsMixin.AIAgentConfigurationPropertystatic final classAn implementation forCfnAIAgentPropsMixin.AIAgentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe configuration for AI Agents of typeANSWER_RECOMMENDATION.default ObjectConfiguration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.default ObjectConfiguration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.default ObjectConfiguration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.default ObjectThe configuration for AI Agents of typeMANUAL_SEARCH.default ObjectThe self-service AI agent configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnswerRecommendationAiAgentConfiguration
The configuration for AI Agents of typeANSWER_RECOMMENDATION.Returns union: either
IResolvableorCfnAIAgentPropsMixin.AnswerRecommendationAIAgentConfigurationProperty- See Also:
-
getEmailGenerativeAnswerAiAgentConfiguration
Configuration for the EMAIL_GENERATIVE_ANSWER AI agent that provides comprehensive knowledge-based answers for customer queries.Returns union: either
IResolvableorCfnAIAgentPropsMixin.EmailGenerativeAnswerAIAgentConfigurationProperty- See Also:
-
getEmailOverviewAiAgentConfiguration
Configuration for the EMAIL_OVERVIEW AI agent that generates structured overview of email conversations.Returns union: either
IResolvableorCfnAIAgentPropsMixin.EmailOverviewAIAgentConfigurationProperty- See Also:
-
getEmailResponseAiAgentConfiguration
Configuration for the EMAIL_RESPONSE AI agent that generates professional email responses using knowledge base content.Returns union: either
IResolvableorCfnAIAgentPropsMixin.EmailResponseAIAgentConfigurationProperty- See Also:
-
getManualSearchAiAgentConfiguration
The configuration for AI Agents of typeMANUAL_SEARCH.Returns union: either
IResolvableorCfnAIAgentPropsMixin.ManualSearchAIAgentConfigurationProperty- See Also:
-
getSelfServiceAiAgentConfiguration
The self-service AI agent configuration.Returns union: either
IResolvableorCfnAIAgentPropsMixin.SelfServiceAIAgentConfigurationProperty- See Also:
-
builder
-