Interface CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnAIAgent
@Stability(Stable)
public static interface CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for AI Agents of type
ANSWER_RECOMMENDATION .
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.*;
AnswerRecommendationAIAgentConfigurationProperty answerRecommendationAIAgentConfigurationProperty = AnswerRecommendationAIAgentConfigurationProperty.builder()
.answerGenerationAiPromptId("answerGenerationAiPromptId")
.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()))
.intentLabelingGenerationAiPromptId("intentLabelingGenerationAiPromptId")
.queryReformulationAiPromptId("queryReformulationAiPromptId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATIONAI Agent.default ObjectThe association configurations for overriding behavior on this AI Agent.default StringThe AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.default StringThe AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATIONAI Agent.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAnswerGenerationAiPromptId
The AI Prompt identifier for the Answer Generation prompt used by theANSWER_RECOMMENDATIONAI Agent.- See Also:
-
getAssociationConfigurations
The association configurations for overriding behavior on this AI Agent.- See Also:
-
getIntentLabelingGenerationAiPromptId
The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.- See Also:
-
getQueryReformulationAiPromptId
The AI Prompt identifier for the Query Reformulation prompt used by theANSWER_RECOMMENDATIONAI Agent.- See Also:
-
builder
@Stability(Stable) static CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty.Builder builder()
-