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()
.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")
// 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")
.locale("locale")
.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 ID of the answer generation AI guardrail.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 locale to which specifies the language and region settings that determine the response language for QueryAssistant .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
-
getAnswerGenerationAiGuardrailId
The ID of the answer generation AI guardrail.- See Also:
-
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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIAgent.AssociationConfigurationProperty>- See Also:
-
getIntentLabelingGenerationAiPromptId
The AI Prompt identifier for the Intent Labeling prompt used by theANSWER_RECOMMENDATIONAI Agent.- See Also:
-
getLocale
The locale to which specifies the language and region settings that determine the response language for QueryAssistant .- 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()
-