interface AnswerRecommendationAIAgentConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnAIAgent_AnswerRecommendationAIAgentConfigurationProperty |
Java | software.amazon.awscdk.services.wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty |
Python | aws_cdk.aws_wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty |
TypeScript | aws-cdk-lib » aws_wisdom » CfnAIAgent » AnswerRecommendationAIAgentConfigurationProperty |
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 { aws_wisdom as wisdom } from 'aws-cdk-lib';
const answerRecommendationAIAgentConfigurationProperty: wisdom.CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty = {
answerGenerationAiPromptId: 'answerGenerationAiPromptId',
associationConfigurations: [{
associationConfigurationData: {
knowledgeBaseAssociationConfigurationData: {
contentTagFilter: {
andConditions: [{
key: 'key',
// the properties below are optional
value: 'value',
}],
orConditions: [{
andConditions: [{
key: 'key',
// the properties below are optional
value: 'value',
}],
tagCondition: {
key: 'key',
// the properties below are optional
value: 'value',
},
}],
tagCondition: {
key: 'key',
// the properties below are optional
value: 'value',
},
},
maxResults: 123,
overrideKnowledgeBaseSearchType: 'overrideKnowledgeBaseSearchType',
},
},
associationId: 'associationId',
associationType: 'associationType',
}],
intentLabelingGenerationAiPromptId: 'intentLabelingGenerationAiPromptId',
queryReformulationAiPromptId: 'queryReformulationAiPromptId',
};
Properties
Name | Type | Description |
---|---|---|
answer | string | The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION AI Agent. |
association | IResolvable | IResolvable | Association [] | The association configurations for overriding behavior on this AI Agent. |
intent | string | The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION AI Agent. |
query | string | The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION AI Agent. |
answerGenerationAiPromptId?
Type:
string
(optional)
The AI Prompt identifier for the Answer Generation prompt used by the ANSWER_RECOMMENDATION
AI Agent.
associationConfigurations?
Type:
IResolvable
|
IResolvable
|
Association
[]
(optional)
The association configurations for overriding behavior on this AI Agent.
intentLabelingGenerationAiPromptId?
Type:
string
(optional)
The AI Prompt identifier for the Intent Labeling prompt used by the ANSWER_RECOMMENDATION
AI Agent.
queryReformulationAiPromptId?
Type:
string
(optional)
The AI Prompt identifier for the Query Reformulation prompt used by the ANSWER_RECOMMENDATION
AI Agent.