interface MemoryStrategyProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrockagentcore.CfnMemory.MemoryStrategyProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnMemory_MemoryStrategyProperty |
![]() | software.amazon.awscdk.services.bedrockagentcore.CfnMemory.MemoryStrategyProperty |
![]() | aws_cdk.aws_bedrockagentcore.CfnMemory.MemoryStrategyProperty |
![]() | aws-cdk-lib » aws_bedrockagentcore » CfnMemory » MemoryStrategyProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const memoryStrategyProperty: bedrockagentcore.CfnMemory.MemoryStrategyProperty = {
customMemoryStrategy: {
name: 'name',
// the properties below are optional
configuration: {
semanticOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
summaryOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
userPreferenceOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
},
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
semanticMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
summaryMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
userPreferenceMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
};
Properties
Name | Type | Description |
---|---|---|
custom | IResolvable | Custom | |
semantic | IResolvable | Semantic | |
summary | IResolvable | Summary | |
user | IResolvable | User |
customMemoryStrategy?
Type:
IResolvable
|
Custom
(optional)
semanticMemoryStrategy?
Type:
IResolvable
|
Semantic
(optional)
summaryMemoryStrategy?
Type:
IResolvable
|
Summary
(optional)
userPreferenceMemoryStrategy?
Type:
IResolvable
|
User
(optional)