Interface CfnAIAgentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIAgentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:18.273Z")
@Stability(Stable)
public interface CfnAIAgentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAIAgent.
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.*;
CfnAIAgentProps cfnAIAgentProps = CfnAIAgentProps.builder()
.assistantId("assistantId")
.configuration(AIAgentConfigurationProperty.builder()
.answerRecommendationAiAgentConfiguration(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())
.manualSearchAiAgentConfiguration(ManualSearchAIAgentConfigurationProperty.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()))
.build())
.build())
.type("type")
// the properties below are optional
.description("description")
.name("name")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIAgentPropsstatic final classAn implementation forCfnAIAgentProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssistantId
- See Also:
-
getConfiguration
- See Also:
-
getType
- See Also:
-
getDescription
- See Also:
-
getName
- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnAIAgentProps.BuilderofCfnAIAgentProps
-