Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
OverrideConfig Struct
Configuration for overriding model and prompt template.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
declare const bedrockInvokable: bedrock_alpha.IBedrockInvokable;
const overrideConfig: bedrock_agentcore_alpha.OverrideConfig = {
appendToPrompt: 'appendToPrompt',
model: bedrockInvokable,
};
Properties
appendToPromptstringappend_to_promptstrappendToPromptStringAppendToPromptstringAppendToPrompt*stringrequired#The prompt that will be appended to the system prompt to define the model's memory consolidation/extraction strategy.
This configuration provides customization to how the model identifies and extracts relevant information for memory storage. You can use the default user prompt or create a customized one.
modelIBedrockInvokablemodelIBedrockInvokablemodelIBedrockInvokableModelIBedrockInvokableModelIBedrockInvokablerequired#The model to use for consolidation/extraction.