interface ManualSearchAIAgentConfigurationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnAIAgent_ManualSearchAIAgentConfigurationProperty |
Java | software.amazon.awscdk.services.wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty |
Python | aws_cdk.aws_wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty |
TypeScript | aws-cdk-lib » aws_wisdom » CfnAIAgent » ManualSearchAIAgentConfigurationProperty |
The configuration for AI Agents of type MANUAL_SEARCH
.
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 manualSearchAIAgentConfigurationProperty: wisdom.CfnAIAgent.ManualSearchAIAgentConfigurationProperty = {
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',
}],
};
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. |
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.